What does the token cost calculator include?
The token cost calculator includes normal input, cached input when a separate rate is listed, expected output, requests per day, days per month, and a twelve-month annual projection.
AI token cost depends on the selected model, normal input tokens, cached input where supported, output tokens, and request volume. Add the priced input, cache, and output groups to get cost per request, then multiply by daily and monthly traffic. This token cost calculator uses dated official list prices and returns an estimate, not an invoice.
Official OpenAI pricing · Checked 2026-09-30 · Verified. Rates as of 2026-09-30 (UTC).
Standard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens.
Monthly and annual totals project the selected rates unchanged; they do not forecast scheduled price changes. Include billed thinking tokens in output. Cache writes, tool calls, media, storage, taxes, regional pricing, platform fees, and provider-side token differences are excluded.
“Lowest estimated cost” means the lowest result for these inputs and listed rates, not a universal claim about the cheapest or best API.
| Provider / model | Input tokens | Input / 1M | Cached / 1M | Output / 1M | Request | Monthly | Context | Accuracy | Verified |
|---|---|---|---|---|---|---|---|---|---|
| GPT-6 LunaOpenAI | 0 | $0.1Over 272K: $0.2 | $0.01Over 272K: $0.02 | $0.5Over 272K: $0.75 | $0.0005 | $0.0150 | 1,050,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens. |
| GPT-5.6 LunaOpenAI | 0 | $0.2Over 272K: $0.4 | $0.02Over 272K: $0.04 | $1.2Over 272K: $1.8 | $0.0012 | $0.0360 | 1,050,000 | Compatible | 2026-09-30VerifiedPricing notesStandard direct OpenAI API text rates. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request. |
| DeepSeek V4.1 FlashDeepSeekAPI: deepseek-flashPeak rates | 0 | $0.3 | $0.006 | $1.2 | $0.0012 | $0.0360 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesUse API model deepseek-flash (DeepSeek-V4.1-Flash). The retired V4 Flash model name remains an alias served by V4.1 Flash. Listed base rates are peak; off-peak rates are half. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. All other times are off-peak. Select the period for your workload; monthly and annual totals assume that rate for every request. |
| GPT-5.4 nanoOpenAI | 0 | $0.2 | $0.02 | $1.25 | $0.0013 | $0.0375 | 400,000 | Compatible | 2026-09-30VerifiedPricing notesStandard direct OpenAI API text rates. Batch, Flex, regional processing, tools, and Amazon Bedrock pricing can differ. |
| Gemini 3.5 Flash-LiteGoogle | 0 | $0.3 | $0.03 | $2.5 | $0.0025 | $0.0750 | 1,048,576 | Estimate | 2026-09-30VerifiedPricing notesStandard paid-tier text rates. Cache storage, Batch, Flex, Priority, grounding, media, and tool charges differ. |
| Gemini 2.5 FlashGoogle | 0 | $0.3 | $0.03 | $2.5 | $0.0025 | $0.0750 | 1,048,576 | Estimate | 2026-09-30VerifiedPricing notesAvailable to previously active Gemini 2.5 users; new projects should use Gemini 3.5 Flash-Lite or 3.8 Flash. Standard paid-tier text rates; audio, cache storage, grounding, and tools cost extra. |
| Gemini 3.8 FlashGoogle | 0 | $0.75 | $0.075 | $3.75 | $0.0038 | $0.1125 | 1,048,576 | Estimate | 2026-09-30VerifiedPromotional rates through 2026-12-31Rates change on 2027-01-01Pricing notesStandard paid-tier promotional rates through December 31, 2026. From January 1, 2027: $1.50 input, $0.15 cached input, $7.50 output per MTok. Output includes thinking tokens. Cache storage and tools cost extra. |
| Gemini 3.7 FlashGoogle | 0 | $0.75 | $0.075 | $3.75 | $0.0038 | $0.1125 | 1,048,576 | Estimate | 2026-09-30VerifiedPromotional rates through 2026-12-31Rates change on 2027-01-01Pricing notesStandard paid-tier promotional rates through December 31, 2026. From January 1, 2027: $1.50 input, $0.15 cached input, $7.50 output per MTok. Output includes thinking tokens. Cache storage and tools cost extra. |
| Gemini 3.6 FlashGoogle | 0 | $0.75 | $0.075 | $3.75 | $0.0038 | $0.1125 | 1,048,576 | Estimate | 2026-09-30VerifiedPromotional rates through 2026-12-31Rates change on 2027-01-01Pricing notesStandard paid-tier promotional rates through December 31, 2026. From January 1, 2027: $1.50 input, $0.15 cached input, $7.50 output per MTok. Output includes thinking tokens. Cache storage and tools cost extra. |
| DeepSeek V4 Pro (0813)DeepSeekAPI: deepseek-v4-proPeak rates | 0 | $1.32 | $0.044 | $3.96 | $0.0040 | $0.1188 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesAPI model deepseek-v4-pro serves DeepSeek-V4-Pro-0813. Listed base rates are peak; off-peak rates are half. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. All other times are off-peak. Select the period for your workload; monthly and annual totals assume that rate for every request. |
| GPT-5.4 miniOpenAI | 0 | $0.75 | $0.075 | $4.5 | $0.0045 | $0.1350 | 400,000 | Compatible | 2026-09-30VerifiedPricing notesStandard direct OpenAI API text rates. Batch, Flex, Fast mode, regional processing, tools, and Amazon Bedrock pricing can differ. |
| Claude Haiku 4.5Anthropic | 0 | $1 | $0.1 | $5 | $0.0050 | $0.1500 | 200,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct Claude API rates. Cached input is a cache hit/read; 5-minute and 1-hour cache writes cost more, while partner cloud pricing can differ. |
| Gemini 3.5 FlashGoogle | 0 | $1.5 | $0.15 | $9 | $0.0090 | $0.2700 | 1,048,576 | Estimate | 2026-09-30VerifiedPricing notesStandard paid-tier text rates. Cache storage, Batch, Flex, Priority, grounding, media, and tool charges differ. |
| GPT-6.1 SolOpenAI | 0 | $2Over 272K: $4 | $0.1Over 272K: $0.2 | $10Over 272K: $15 | $0.0100 | $0.3000 | 1,050,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens. |
| GPT-6 SolOpenAI | 0 | $2Over 272K: $4 | $0.2Over 272K: $0.4 | $10Over 272K: $15 | $0.0100 | $0.3000 | 1,050,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens. |
| Claude Sonnet 5.5Anthropic | 0 | $2 | $0.2 | $10 | $0.0100 | $0.3000 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct Claude API rates across the full 1M context window; maximum output 128K. Cached input means cache reads only. Cache writes, US-only inference, tools, and partner platforms are separate. Local token counts are estimates; Claude 4.7 and later use a newer tokenizer. |
| Claude Sonnet 5Anthropic | 0 | $2 | $0.2 | $10 | $0.0100 | $0.3000 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesCurrent standard direct Claude API rates: $2 input, $0.20 cache-hit input, and $10 output per MTok. The current official table does not list the previously announced September increase. Cache writes, regional inference, and tools cost extra. |
| GPT-5.6 TerraOpenAI | 0 | $2Over 272K: $4 | $0.2Over 272K: $0.4 | $12Over 272K: $18 | $0.0120 | $0.3600 | 1,050,000 | Compatible | 2026-09-30VerifiedPricing notesStandard direct OpenAI API text rates. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request. |
| Gemini 3.1 Pro PreviewGoogle | 0 | $2Over 200K: $4 | $0.2Over 200K: $0.4 | $12Over 200K: $18 | $0.0120 | $0.3600 | 1,048,576 | Estimate | 2026-09-30VerifiedPricing notesPreview-model standard paid-tier text rates. Prompts above 200K tokens use the listed higher input, cache, and output rates; preview terms can change. |
| Claude Sonnet 4.6Anthropic | 0 | $3 | $0.3 | $15 | $0.0150 | $0.4500 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct Claude API rates. Cached input is a cache hit/read; cache writes cost more, and US-only inference for Claude 4.6 carries a 1.1x multiplier. |
| Claude Opus 5.5Anthropic | 0 | $4 | $0.2 | $20 | $0.0200 | $0.6000 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct Claude API rates across the full 1M context window; maximum output 128K. Cached input means cache reads only. Cache writes, US-only inference, tools, and partner platforms are separate. Local token counts are estimates; Claude 4.7 and later use a newer tokenizer. |
| GPT-5.6 SolOpenAI | 0 | $4Over 272K: $8 | $0.4Over 272K: $0.8 | $20Over 272K: $30 | $0.0200 | $0.6000 | 1,050,000 | Compatible | 2026-09-30VerifiedPricing notesPromotional direct OpenAI API rates available at least through November 21, 2026; no later rate is confirmed. Requests above 272K input tokens use 2x input and cached-input rates and 1.5x output rates for the full request. Cache writes are separate. |
| Claude Opus 5Anthropic | 0 | $5 | $0.5 | $25 | $0.0250 | $0.7500 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct Claude API rates. Cached input is a cache hit/read; Fast mode, cache writes, US-only inference, and partner cloud pricing differ. |
| GPT-6 AstraOpenAI | 0 | $10Over 272K: $20 | $1Over 272K: $2 | $50Over 272K: $75 | $0.0500 | $1.5000 | 1,050,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct OpenAI API text rates. Above 272K input tokens, the entire request uses 2x input/cache and 1.5x output rates. Cache writes cost 1.25x uncached input and are excluded. Maximum input 922K; maximum output 128K tokens. |
| Claude Fable 5.1Anthropic | 0 | $10 | $0.25 | $50 | $0.0500 | $1.5000 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct Claude API rates across the full 1M context window; maximum output 128K. Cached input means cache reads only. Cache writes, US-only inference, tools, and partner platforms are separate. Local token counts are estimates; Claude 4.7 and later use a newer tokenizer. |
| Claude Fable 5Anthropic | 0 | $10 | $1 | $50 | $0.0500 | $1.5000 | 1,000,000 | Estimate | 2026-09-30VerifiedPricing notesStandard direct Claude API rates. Cached input is a cache hit/read; 5-minute and 1-hour cache writes cost more, while partner cloud pricing can differ. |
The 26 model rows use USD list prices per one million text tokens, checked against the linked official provider pages. OpenAI and Gemini long-context tiers are applied automatically from the entered input count. Batch, audio, image, video, tools, storage, regional, and platform fees may differ.
Rates as of 2026-09-30 (UTC); published scheduled changes apply automatically. Monthly totals assume those rates throughout the month. Cache writes are excluded; output should include billed thinking tokens. DeepSeek: peak rates. Peak: Monday–Friday 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. All other times are off-peak. Select the period for your workload; monthly and annual totals assume that rate for every request.
The token cost calculator divides input into normal and cached groups, applies the listed per-million rates, and adds expected output cost. That sum is the estimated cost per request. The token cost calculator then multiplies the request result by daily volume and active days, with an annual projection equal to twelve monthly scenarios.
Use Paste text in the token cost calculator while editing a prompt. Use Enter token count when provider telemetry already supplies usage totals. Review the token cost calculator output again after real usage data becomes available.
In the token cost calculator, eligible cached input uses the listed cache-read or cache-hit rate instead of the normal input rate. The token cost calculator caps cached tokens at total input, but it cannot prove cache eligibility or a hit. Model cache writes, storage, retention, minimum prefix size, and invalidation separately when the provider charges for them. Rerun the token cost calculator with measured cache-hit data before approving a budget.
Keep input, cached input, output, request volume, and active days identical in the token cost calculator, then sort the model table by Lowest estimated cost. Start with a typical request and rerun a long-output or retry case. The lowest result is conditional on those assumptions and does not identify the best model quality or total implementation cost. The token cost calculator should be one input to the model decision, not the decision itself.
Compare the token cost calculator result with LLM API pricing, then inspect the GPT cost calculator, Claude cost calculator, or GPT vs Claude comparison.
The token cost calculator covers 26 current model records and measured zero, 1, 1,000, 1 million, and 10 million-token cases, long-context tiers, cached input, missing prices, zero output, and high request volume. Its limitation is scope: calculations use direct-API text list prices and exclude tools, media, storage, regional terms, taxes, retries, and provider token differences. OpenAI official pricing. Last verified: .
| Evidence | Observed result or boundary |
|---|---|
| Measured cost cases | 0 to 10 million tokens, 0% to 100% cached input, and large request volume. |
| Provider coverage | The token cost calculator compares OpenAI, Anthropic Claude, Google Gemini, and DeepSeek standard text rates. |
Token cost calculator questions
The token cost calculator includes normal input, cached input when a separate rate is listed, expected output, requests per day, days per month, and a twelve-month annual projection.
No. The token cost calculator treats it as a planning assumption. Cache eligibility, write charges, retention, and prefix matching vary by provider and request.
The token cost calculator cannot see provider tokenization, tool schemas, message framing, thinking tokens, media, retries, storage, regional rates, platform fees, or taxes that can change the final charge.
The token cost calculator table can identify the lowest estimated cost for the entered workload and current list prices. It cannot establish the best model or a guaranteed cheapest total implementation.
This token cost calculator is suitable for planning and model comparison, but it is not for invoicing. Before approving a budget, check the provider pricing source and reconcile the token cost calculator estimate against production usage records.