Coding-agent cost calculator

Estimate what an AI coding agent (Claude Code, Codex, Cursor-style usage) costs per month on each major model. Runs entirely in your browser; nothing is sent anywhere.

Monthly tokens: . Formula: monthly cost = (input tokens/1M × input price) + (output tokens/1M × output price). Cached-input discounts are not applied, so treat this as an upper bound.

ModelEstimated monthly cost
gpt-5
gpt-5-mini
gpt-5-nano
gpt-4o
gpt-4o-mini
o3
o4-mini
claude-sonnet-4-5
claude-opus-4-5
claude-haiku-4-5
gemini-2.5-pro
gemini-2.5-flash
gemini-2.5-flash-lite
deepseek-chat
deepseek-reasoner
grok-4.20
Llama-3.3-70B-Instruct-Turbo
mistral-large-latest
command-a-03-2025
sonar-pro