Estimator
How much does it cost to build an app with AI
A todo app with login comes to about $4.85 of tokens on Claude Sonnet 5.5, from $2.43 if you plan first to $10.65 with lots of retries. A Shopify-style store is about $65.19. Describe your own project below.
- $4.85todo app, typical
- $65.19online store, typical
- 13models priced
- Nothingsent to a server
- 24files
- 2,640lines of code
- 1.4Minput tokens (typical)
- 79Koutput tokens (typical)
Every model, three scenarios
| Model | Low 701K in, 40K out | Typical 1.4M in, 79K out | High 3.2M in, 158K out |
|---|---|---|---|
| Claude Sonnet 5.5 | $2.43 | $4.85 | $10.65 |
| Claude Opus 5.5 | $4.85 | $9.71 | $21.31 |
| Claude Haiku 5.5 | $0.12 | $0.24 | $0.53 |
| GPT-6.2 Sol | $1.80 | $3.60 | $7.89 |
| GPT-6.1 Terra | $0.90 | $1.80 | $3.95 |
| GPT-6 Luna | $0.09 | $0.18 | $0.39 |
| Gemini 4 Carbon | $3.60 | $7.19 | $15.78 |
| Gemini 4 Hydrogen | $1.35 | $2.70 | $5.92 |
| Gemini 3.8 Flash | $0.67 | $1.35 | $2.96 |
| Grok 4.7 | $1.64 | $3.28 | $7.26 |
| DeepSeek V4 Pro | $1.08 | $2.16 | $4.79 |
| DeepSeek Flash | $0.26 | $0.52 | $1.14 |
| Mistral Codestral | $0.25 | $0.49 | $1.09 |
Plan or pay per token
| Plan | Price a month | How this project would bill |
|---|---|---|
| GitHub Copilot Pro ($10) | $10.00 | About $10.00: $15.00 of credits included, priced at the model's token rates, then $0.01 a credit. GitHub prices credits by each model's token rates. |
| GitHub Copilot Pro+ ($39) | $39.00 | About $39.00: $70.00 of credits included, priced at the model's token rates, then $0.01 a credit. |
| Cursor Premium ($30) | $30.00 | About $34.85 in the month you build it: the plan plus Claude Sonnet 5.5 at API list price. Cursor bills Claude, GPT and Gemini at API list price outside its pool. |
| Zed Pro ($10) | $10.00 | About $10.34: $5 of tokens included, then list price plus 10%. |
| Claude Pro ($20) | $20.00 | Anthropic publishes the limits only as multiples, so a plan can't be matched to tokens. Big builds often need Max or several 5-hour windows. |
| Claude Max ($100) | $100 | 5x Pro usage. No token figure is published. |
| ChatGPT Plus with Codex ($20) | $20.00 | OpenAI estimates 17 to 180 GPT-6.2 Sol messages per 5 hours on Plus. |
| Kiro Pro ($20) | $20.00 | 1,000 credits a month, then $0.04 a credit. Kiro doesn't publish credits per token. |
| Pay per token (API key) | $0 | About $4.85 on Claude Sonnet 5.5, typical case. |
Every assumption behind these numbers
- 10 tokens per line of code. A line averages about 40 characters, and OpenAI puts a token at about 4 characters.
- Todo app with login: about 24 files of 110 lines at medium size, plus a few files for each feature we found in your description. Small halves it, Large doubles it.
- Every agent turn re-reads context: 8,000 tokens of instructions and history plus 25% of the project, capped at 150,000. Here that is 15K tokens a turn.
- Low (plan first, small diffs): 2 turns per file touched, and every line written 1.5 times.
- Typical (a few rounds of fixes): 4 turns per file touched, and every line written 3 times.
- High (lots of retries and rewrites): 9 turns per file touched, and every line written 6 times.
- Claude counts about 35% more tokens for the same text on its current tokenizer: Anthropic puts 1M tokens at about 555k words, against 750k on older models (Anthropic's docs). Claude rows use 1.35x the tokens.
- Prices are each model's list price today, at the tier for a 15K-token prompt. Cached input uses the vendor's cached price where one exists.
- Real bills swing a lot with how you work. Agents such as Claude Code cache repeated context on their own, which makes the real input cost lower. Run the numbers again with a higher cache share to see how much.
Priced for you: common projects
- WebsiteLanding page to online store, per model
- Game2D and 3D browser games, per model
- Refactor10K to 200K lines, per model
Real bills depend on how you work. The range shows the spread from careful planning to lots of retries. Every number above comes from the assumptions listed under the tables.
Make the build cheaper
- Ask for a plan first, then build one step at a time. It keeps you in the Low column.
- Keep the same context between turns so prompt caching kicks in. Cached input costs a tenth or less of normal input on Claude, GPT and Gemini.
- Use a small model for simple edits and a big one only for hard bugs.
- Ask for diffs, not whole files. Output tokens cost several times more than input.
FAQ
How much does it cost to build an app with AI?
In our estimate, a todo app with login comes to about $4.85 of tokens on Claude Sonnet 5.5 in the typical case, and a Shopify-style store about $65.19. A subscription such as Claude Pro or Copilot Pro ($10 to $20 a month) may cover a small app, and big builds can need a higher plan or API spend on top.
How many tokens does it take to build an app?
Our todo-app estimate is about 1.4M input and 79K output tokens in the typical case. Input is far bigger because an agent re-reads your code on every turn.
What is the cheapest model to build an app with?
By list price, Claude Haiku 5.5 is the cheapest model in this estimator. Cheaper models can need more retries on hard tasks, which the High scenario shows.
Does my project description get sent anywhere?
No. The estimator reads your description with simple keyword rules in your browser. Nothing is sent to us or to any AI model.