Full picture: Estimate what your project costs →
Estimate · Websites
How much does it cost to build a website with AI
A landing page costs about $0.82 in AI tokens on Claude Sonnet 5.5. An online store is about $65. Hosting and the domain cost extra. A $10 coding plan covers a small site.
- $0.82landing page, Claude Sonnet 5.5
- $0.04landing page, Claude Haiku 5.5
- $65online store, Claude Sonnet 5.5
- Neveryour text sent anywhere
Checked (UTC) Anthropic's API prices ↗
5 website sizes, priced per model
Typical case, tokens only. Tap a project to change size, model or features in the estimator.
| Project | Claude Haiku 5.5 | Claude Sonnet 5.5 | GPT-6.2 Sol | Claude Opus 5.5 |
|---|---|---|---|---|
| One-page site3 files, about 270 lines | $0.02 | $0.39 | $0.29 | $0.78 |
| Landing page or portfolio6 files, about 540 lines | $0.04 | $0.82 | $0.61 | $1.65 |
| Bigger marketing site12 files, about 1,080 lines | $0.09 | $1.82 | $1.35 | $3.65 |
| Web app with logins and an API70 files, about 9,800 lines | $1.43 | $29 | $21 | $57 |
| Online store110 files, about 16,500 lines | $3.26 | $65 | $48 | $130 |
Which plan covers a landing page?
About $10 in the month you build it on Claude Sonnet 5.5.
About $39 in the month you build it on Claude Sonnet 5.5.
About $31 in the month you build it on Claude Sonnet 5.5.
Plan price plus any token spend past the credits it includes, from our estimator's plan rules. Claude, ChatGPT and Kiro plans publish no token figure, so they can't be matched here.
Build it for less
- 1Write a one-page plan first
List the pages and sections. It keeps the agent in the Low column.
- 2Start from a template or framework
Fewer files written from scratch means fewer output tokens.
- 3Use a small model for copy and styling
Claude Haiku 5.5 handles simple edits for a fraction of Claude Sonnet 5.5's price.
- 4Ask for diffs, not whole files
Output costs five times input on Claude Sonnet 5.5.
Retries, bugs and big rewrites push the bill toward the high end. The range column shows that spread for Claude Sonnet 5.5.
What users report
- One user reports
One developer spent $8,857 in 14 days building six projects, two of them full web apps, almost all on Opus at high effort. They put most of it down to the agent re-reading the same context.
DEV Community ↗ ·
User reports are single accounts, not vendor facts. The vendor pages linked above set the actual limits and prices.
- Every number on this page comes from our app cost estimator and its listed assumptions.
- New to tokens? What a token is and what it costs.
Sources: Anthropic API pricing ↗ · OpenAI API pricing ↗ · GitHub Copilot plans ↗
Website cost FAQ
How much does it cost to build a website with AI?
In our estimate, a landing page or portfolio comes to about $0.82 of tokens on Claude Sonnet 5.5, and a Shopify-style store about $65. Hosting and the domain are extra.
Can I build a website with AI for free?
The tokens for a small site cost cents: about $0.04 for a landing page on Claude Haiku 5.5. Free plans such as Copilot Free and Kiro Free have small allowances, and neither vendor says how many tokens they hold, so they may or may not finish one.
Is a subscription or an API key cheaper for one website?
For one small site, a $10 plan or a few dollars of API credit both work. For the store, our estimate on Claude Sonnet 5.5 comes to $39 on GitHub Copilot Pro+ ($39), against $65 on an API key.
Why does an online store cost so much more than a landing page?
It has far more files, and an AI agent re-reads part of the project on every turn. Input tokens grow with the size of the codebase, not just with what it writes.