- Input / 1M
- $0.02
- Output / 1M
- $0.04
- Cached input
- Not listed
- Blended 4:1
- $0.024
Monthly estimate
$2.40
- Per request
- $0.00024
- Input ยท output
- $1.60 ยท $0.80
API cost calculator
Enter a realistic workload and compare standard text-token pricing across leading APIs. Every row links back to the provider source used for verification.
What this estimate includes
Text input, cached input, and text output
Compare text API costs in one currency, then check whether each model fits the task.
Capability filters do not include image, audio or video charges. Supply your own tool rate; use a weighted average for multiple tools. Pricing time applies to all requests; estimate mixed time windows separately.
471 estimates; 0 over budget, 18 do not meet workload or rate conditions.
| Select | Model / provider | Monthly | Per request | Input / output / tools | Context |
|---|---|---|---|---|---|
| Llama3.1-8B-Instruct DeepInfra Recorded: 2026-11-13 ยท Price source โ | $2.40 Daily $0.08 | $0.00024 | $1.60 / $0.80 / $0.00 No matched cache rate; regular input charged | 131,072 | |
| Gemma 3 - 4B (IT) Amazon Recorded: 2026-11-14 ยท Price source โ | $4.80 Daily $0.16 | $0.00048 | $3.20 / $1.60 / $0.00 No matched cache rate; regular input charged | 131,072 | |
| Gemma 4 E2B Amazon Recorded: 2026-11-14 ยท Price source โ | $4.80 Daily $0.16 | $0.00048 | $3.20 / $1.60 / $0.00 No matched cache rate; regular input charged | 131,072 | |
| Ling-3.0-flash DeepInfra Recorded: 2026-11-13 ยท Price source โ | $4.94 Daily $0.16 | $0.000494 | $1.34 / $3.60 / $0.00 | 262,144 | |
| Nemotron 3.5 Lightning Fireworks AI Recorded: 2026-11-13 ยท Price source โ | $5.12 Daily $0.17 | $0.000512 | $1.12 / $4.00 / $0.00 | 1,000,000 | |
| gpt-oss-20b DeepInfra Recorded: 2026-11-13 ยท Price source โ | $5.20 Daily $0.17 | $0.00052 | $2.40 / $2.80 / $0.00 No matched cache rate; regular input charged | 131,072 | |
| Amazon Nova Micro Amazon Recorded: 2026-11-14 ยท Price source โ | $5.60 Daily $0.19 | $0.00056 | $2.80 / $2.80 / $0.00 No matched cache rate; regular input charged | 131,072 | |
| Nemotron 3.5 Lightning Microsoft Recorded: 2026-11-14 ยท Price source โ | $5.60 Daily $0.19 | $0.00056 | $1.20 / $4.40 / $0.00 | 1,000,000 | |
| Nemotron 3.5 Lightning DeepInfra Recorded: 2026-11-13 ยท Price source โ | $5.84 Daily $0.19 | $0.000584 | $2.64 / $3.20 / $0.00 | 1,000,000 | |
| Gemma 3 - 4B (IT) DeepInfra Recorded: 2026-11-13 ยท Price source โ | $6.00 Daily $0.20 | $0.0006 | $4.00 / $2.00 / $0.00 No matched cache rate; regular input charged | 131,072 | |
| gpt-oss-20b Google Cloud Vertex AI Recorded: 2026-11-14 ยท Price source โ | $6.06 Daily $0.20 | $0.000606 | $1.06 / $5.00 / $0.00 | 131,072 | |
| GPT OSS 120B DeepInfra Recorded: 2026-11-13 ยท Price source โ | $6.36 Daily $0.21 | $0.000636 | $2.96 / $3.40 / $0.00 No matched cache rate; regular input charged | 131,072 | |
| Hy4 Flash Tencent AI Lab Recorded: 2026-11-17 ยท Price source โ | $6.40 Daily $0.21 | $0.00064 | $0.78 / $5.62 / $0.00 | 1,048,576 | |
| MiMo-V2.6-Flash DeepInfra Recorded: 2026-11-13 ยท Price source โ | $6.92 Daily $0.23 | $0.000692 | $1.32 / $5.60 / $0.00 | 1,000,000 | |
| MiMo-V2.6-Flash Xiaomi Recorded: 2026-11-13 ยท Price source โ | $6.92 Daily $0.23 | $0.000692 | $1.32 / $5.60 / $0.00 | 1,000,000 |
Monthly cost = requests ร [input tokens ร (miss share ร regular input rate + hit share ร cached input rate) + output tokens ร output rate] / 1,000,000 + tool fees. Daily requests multiply by 30; daily cost divides monthly cost by 30. Rates are normalized per million tokens, without currency conversion.
Cache share is your assumption, not a guaranteed hit rate. Missing cache rates use regular input rates. Cache writes/storage, non-text modalities, taxes, retries and other surcharges are not automatically included; tool rates are supplied manually. Unknown context is not confirmed support; known windows check input plus output. Recorded dates do not imply prices were reverified today. Provider terms prevail.
Token counts are averages per request.
10,000 requests a month at 8K in and 2K out per request is 80M input and 20M output tokens a month, of which 90% of the input is charged at the cached rate where one is published.
Cheapest 8 of 471 models ยท 77 retired models are excluded
Monthly estimate
$2.40
Monthly estimate
$4.80
Monthly estimate
$4.80
Monthly estimate
$4.94
Monthly estimate
$5.12
Monthly estimate
$5.20
Monthly estimate
$5.60
Monthly estimate
$5.60
Cost of one million tokens blended at 4 input : 1 output, assuming 90% of input hits the cache where a cached rate is published. The full ranking lists every rate and lets you change the mix and cache share.
Most expensive
Top 5 by blended price
Cheapest
Bottom 5 by blended price