Compare estimated cost across major LLM APIs for a given number of input and output tokens.
| Model | Provider | $/1M in | $/1M out | Est. cost this run |
|---|---|---|---|---|
| GPT-4o mini | OpenAI | $0.15 | $0.60 | $0.00270 |
| GPT-4o | OpenAI | $2.50 | $10.00 | $0.0450 |
| Gemini 3 Flash | $0.50 | $3.00 | $0.0110 | |
| Gemini 3.1 Pro | $2.00 | $12.00 | $0.0440 | |
| Claude Sonnet 5 | Anthropic | $2.00 | $10.00 | $0.0400 |
| Claude Opus 4.6 | Anthropic | $5.00 | $25.00 | $0.1000 |
10,000 input tokens and 2,000 output tokens on GPT-4o mini costs $0.15/1M × 0.01 + $0.60/1M × 0.002 = $0.0015 + $0.0012 = $0.0027. The same call on Claude Opus 4.6 costs $5.00/1M × 0.01 + $25.00/1M × 0.002 = $0.05 + $0.05 = $0.10, roughly 37x more expensive for an identical prompt and response length.
Pricing is a point-in-time snapshot, not a live feed, and providers change rates without much notice. This is not a guarantee of billing accuracy. Confirm current rates directly with each provider before relying on these figures for budgeting.