Loading...
Estimate and compare API cost across GPT, Claude, Gemini, and Grok. Enter your tokens and calls per month.
GPT-5.6 Sol: $5.00 / $30.00 per 1M tokens (input / output). Not sure how many tokens your text is? Use the free Token Counter.
Every model with published pricing, ranked cheapest first for 1,000 input and 500 output tokens across 1,000 calls per month.
| Model | Provider | Price (In / Out per 1M) | Cost per call | Monthly cost |
|---|---|---|---|---|
| Gemini 3.1 Flash-Lite | $0.25 / $1.50 | $0.00100 | $1.00 | |
| Gemini 3 Flash | $0.50 / $3.00 | $0.00200 | $2.00 | |
| Grok Build 0.1 | xAI | $1.00 / $2.00 | $0.00200 | $2.00 |
| Grok 4.3 | xAI | $1.25 / $2.50 | $0.00250 | $2.50 |
| Grok 4.20 | xAI | $1.25 / $2.50 | $0.00250 | $2.50 |
| Claude Haiku 4.5 | Anthropic | $0.80 / $4.00 | $0.00280 | $2.80 |
| GPT-5.6 Luna | OpenAI | $1.00 / $6.00 | $0.00400 | $4.00 |
| Grok 4.5 | xAI | $2.00 / $6.00 | $0.00500 | $5.00 |
| Gemini 3.1 Pro | $2.00 / $12.00 | $0.00800 | $8.00 | |
| GPT-5.6 Terra | OpenAI | $2.50 / $15.00 | $0.0100 | $10.00 |
| Claude Sonnet 4.6 | Anthropic | $3.00 / $15.00 | $0.0105 | $10.50 |
| Claude Opus 4.8 | Anthropic | $5.00 / $25.00 | $0.0175 | $17.50 |
| GPT-5.6 Sol | OpenAI | $5.00 / $30.00 | $0.0200 | $20.00 |
Figures as of March 2026 from official provider pricing pages; xAI Grok rates verified July 2026 from docs.x.ai. OpenAI list prices for GPT-5.5/5.4/5/4.1 are not published on this page, check openai.com/pricing. Always confirm current rates at openai.com/pricing, docs.anthropic.com/pricing, ai.google.dev/pricing, and docs.x.ai/pricing.
API cost is billed per token, separately for input (your prompt) and output (the model's reply). The formula is (input tokens / 1,000,000 x input rate) + (output tokens / 1,000,000 x output rate). This calculator multiplies that per-call cost by your calls per month to estimate monthly and yearly spend.
It depends on your input-to-output ratio. Output tokens usually cost 2 to 6 times more than input tokens, so a workload that generates long replies is dominated by the output rate. Enter your real token counts above and the comparison table ranks every model with published pricing from cheapest to most expensive for that exact workload.
This calculator only computes cost for models with a published numeric per-token rate. OpenAI's GPT-5.5, GPT-5.4, GPT-5, and GPT-4.1 list prices are not published on this page, so they are intentionally left out rather than guessed. Check openai.com/pricing for those rates, or use the AI Model Comparison tool for the full specs table.
As a rule of thumb, one token is about three quarters of a word, so 1,000 words is roughly 1,333 tokens for OpenAI, Google, and xAI models and about 1,250 tokens for Anthropic. For an exact count, paste your text into the free AI Token Counter.
No. This tool estimates pay-as-you-go API cost, which is separate from a ChatGPT Plus, Claude Pro, or Gemini subscription. AI Toolbox is a browser extension that works on top of your existing accounts and is not an AI subscription.
Every AI Toolbox module, one payment
Modules unlocked
AI Toolbox is a browser extension that adds folders, search, and export inside each AI. This unlocks all four modules, it is not an AI subscription. You keep using your own ChatGPT, Gemini, Claude, and Grok accounts.
14-day money-back guarantee. Pay once, own it forever.
Compare all plansAdd folders, search, export, and prompt management to ChatGPT, Claude, Gemini, and Grok - free to start.