LLMCostLab

PricesCalculators → Coding agent

Coding agent: LLM cost calculator

An agent that reads a repository, plans, and writes patches across multiple turns. Very large inputs, heavy re-reading of the same files, and long outputs — the single most cache-sensitive workload on this site.

Default profile: 25,000 in / 3,000 out per call · 4,000 calls/mo · 75% cached
advertisement
Cheapest option
GPT-5.6 Luna
$10.45/mo
Priciest option
GPT-5.6 Cyber
$1,306/mo
Annual gap
$15,550
same workload, different model

Every model on this workload

Input is 89% of tokens here, so input pricing dominates. Cache applied at 75%.

ModelIn /1MOut /1MNo cacheMonthlyvs best
GPT-5.6 Luna OpenAI$0.100$0.600$17.20$10.45cheapest
Gemini 2.5 Flash-Lite Google$0.100$0.400$14.80$14.801.4x
Gemini 3.1 Flash-Lite Google$0.250$1.500$43.00$43.004.1x
Gemini 3.5 Flash-Lite Google$0.300$2.500$60.00$60.005.7x
Gemini 2.5 Flash Google$0.300$2.500$60.00$60.005.7x
Claude Haiku 4.5 Anthropic$1.000$5.000$160.00$92.508.9x
GPT-5.6 Terra OpenAI$1.000$6.000$172.00$104.5010.0x
Gemini 3.7 Flash Google$0.750$3.750$120.00$120.0011.5x
Gemini 3.6 Flash Google$0.750$3.750$120.00$120.0011.5x
Claude Sonnet 5 Anthropic$2.000$10.00$320.00$185.0017.7x
GPT-5.3 Codex OpenAI$1.750$14.00$343.00$224.8821.5x
Gemini 2.5 Pro Google$1.250$10.00$245.00$245.0023.4x
Gemini 3.5 Flash Google$1.500$9.000$258.00$258.0024.7x
GPT-5.6 Sol OpenAI$2.500$15.00$430.00$261.2525.0x
Claude Sonnet 4.6 Anthropic$3.000$15.00$480.00$277.5026.6x
Gemini 3.1 Pro Google$2.000$12.00$344.00$344.0032.9x
Claude Opus 5 Anthropic$5.000$25.00$800.00$462.5044.3x
Claude Opus 4.5 Anthropic$5.000$25.00$800.00$462.5044.3x
GPT chat-latest OpenAI$5.000$30.00$860.00$522.5050.0x
Claude Fable 5 Anthropic$10.00$50.00$1,600$925.0088.5x
Claude Mythos 5 Anthropic$10.00$50.00$1,600$925.0088.5x
GPT-5.6 Cyber OpenAI$12.50$75.00$2,150$1,306125.0x
advertisement

Adjust the assumptions

The defaults above are a reasonable starting profile, not your profile. Change them.

Cost calculator

Enter your own numbers, or start from a workload preset. Costs are monthly and update as you type.

Cheapest model
Cheapest → priciest spread
ModelIn /1MOut /1MMonthlyvs best

Cutting this bill in practice

Switching from GPT-5.6 Cyber to GPT-5.6 Luna on this workload is worth $15,550 a year. Two things make a number like that collectible rather than hypothetical: being able to change model without an integration rewrite, and knowing when the volume justifies leaving per-token pricing entirely.

Switch models without rewriting your integration

The savings on this page are only real if you can actually move traffic to the cheaper model. Aggregators and gateways sit in front of multiple providers so that switch is a configuration change.

Run open-weight models on rented GPUs

Past a certain monthly volume, renting a GPU beats paying per token — but only for workloads where an open-weight model is good enough, and where utilization is high enough to amortize idle time.

Other workloads

Customer support chatbotRAG document Q&ABulk summarizationStructured data extractionLong-form content generationEmail triage agentTranslation pipeline