AI API Cost Calculator
Estimate monthly token spend across OpenAI, Anthropic, Google Gemini, DeepSeek, and xAI. Every rate below comes directly from the provider's official pricing page, checked on 2026-11-25.
1. Configure your workload
Estimated Monthly Spend
Estimate uses standard list rates (plus cache read rate when cached share > 0%). Excludes batch discounts, cache write fees, tool calls, and long-context tier surcharges.
Call this model through Ofox (OpenAI-compatible)
2. Same workload across all models
Estimated monthly cost updates live as you adjust tokens and volume above. Click a row to select it.| Model | Provider | Input / 1M | Output / 1M | Cached / 1M | Est. Monthly Cost | Notes | Source |
|---|
Access many of these models through one OpenAI-compatible API — try Ofox
Open Ofox to review the live model catalog and create an API key. Confirm the official rate and whether the API fits your client before you add credit.
Affiliate link: the operator of this site may earn a commission.Per-model pricing pages
Prices, parameters, a workload calculator and a code example for each model, read from the Ofox catalog (checked 2026-11-26).
- GPT-5.4 API costOpenAI
- GPT-5.5 API costOpenAI
- GPT-5 Mini API costOpenAI
- GPT-6.2 Sol API costOpenAI
- GPT-6.1 Terra API costOpenAI
- GPT-6 Luna API costOpenAI
- Claude Opus 5.5 API costAnthropic
- Claude Sonnet 5.5 API costAnthropic
- Claude Haiku 5.5 API costAnthropic
- Gemini 4 Neon API costGoogle
- Gemini 4 Hydrogen API costGoogle
- Gemini 3.8 Flash API costGoogle
- Gemini 3.5 Flash Lite API costGoogle
- Grok 4.7 API costxAI
- Grok 4.3 API costxAI
- DeepSeek V4.1 Flash API costDeepSeek
- DeepSeek V4 Pro 0813 API costDeepSeek
- Qwen3.8 Max API costAlibaba Qwen
- Kimi K3 API costMoonshot AI
- GLM-5.3 API costZ.ai
Popular comparisons
- GPT-5.4 vs Claude Sonnet 5.5
- GPT-5.4 vs GPT-5.5
- GPT-5.4 vs Gemini 4 Neon
- GPT-6.2 Sol vs Claude Opus 5.5
- Claude Opus 5.5 vs Claude Sonnet 5.5
- Claude Sonnet 5.5 vs Gemini 4 Neon
- GPT-5 Mini vs Gemini 3.5 Flash Lite
- GPT-6 Luna vs Claude Haiku 5.5
- DeepSeek V4.1 Flash vs GPT-5 Mini
- Grok 4.7 vs GPT-6.2 Sol
- Gemini 3.8 Flash vs GPT-6.1 Terra
- DeepSeek V4 Pro 0813 vs GLM-5.3
Official pricing sources (checked 2026-11-25)
All figures on this page are transcribed from each lab's official pricing documentation on November 25, 2026. Reasoning models (such as Gemini thinking tokens or reasoning tokens) bill thinking tokens at output rates. Parameter tags (context, max output, tool call, reasoning, caching, input modalities) come from the public Ofox model catalog (api.ofox.ai/v1/models, checked ); a missing tag means the catalog does not list it, not that the model lacks it, and models absent from the catalog show no tags. Always verify your exact prompt-length tier, region, and billing currency on the provider's official page before deploying production workloads.