Token Calculator
API Cost Calculator
Enter your token counts and see the exact cost across every major model.
K
K
Cheapest option: Gemini 2.5 Flash at $0.00135 for this volume.
| Model | Input cost | Output cost | Total |
|---|---|---|---|
cheapestGemini 2.5 Flash | $0.000750 | $0.000600 | $0.00135 |
| $0.00270 | $0.00220 | $0.00490 | |
| $0.00800 | $0.00640 | $0.0144 | |
| $0.00800 | $0.00800 | $0.0160 | |
| $0.0125 | $0.0200 | $0.0325 | |
| $0.0250 | $0.0200 | $0.0450 | |
| $0.0250 | $0.0200 | $0.0450 | |
| $0.0300 | $0.0180 | $0.0480 | |
| $0.0300 | $0.0300 | $0.0600 | |
| $0.1000 | $0.0600 | $0.1600 | |
| $0.1500 | $0.1200 | $0.2700 | |
| $0.1500 | $0.1500 | $0.3000 | |
| Free | Free | Free (self-host) | |
| Free | Free | Free (self-host) | |
| Free | Free | Free (self-host) |
Prices are per API call at standard rates - no batch discounts applied. Open-source models are free to self-host but incur compute costs. Pricing data last updated 2026-05-01. View full model details →