Calculate LLM API costs from your own input and output token counts. Compare per-million-token prices across 237 models from OpenAI, Anthropic, Google, DeepSeek, Cursor, Mistral, Meta, and other providers.
Prices show uncached USD token rates at the region and tier listed in Pricing details. Reference and Legacy entries retain earlier rates and are labeled for comparison. Latest marks the current generation within a model family.
Catalog reviewed November 21, 2026 · 185 source-checked rates
Looking for a full project estimate?
This page compares per-token unit prices. To estimate the total cost of an AI coding project, use our guided calculator.
Totals use the unit prices shown below. Open Pricing details for prompt-length tiers, promotions, off-peak hours and availability. Cached tokens and tool fees are separate.
Tinker sampling endpoint: uncached prefill $0.15/M, cached prefill $0.015/M, sampled output $0.50/M. This is a sampling price, not a Serverless beta price; training and storage are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Introductory $2/$10 through November 30, 2026; $4/$20 starting December 1, 2026. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Direct Claude API base tokens. Prompt-cache writes/reads, batch processing and tools have separate charges. Limited availability; organization verification is required.
These are text input/output rates only. Video output is separately billed at $12/M; this estimate does not include video generation. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
These are text input/output rates only. Video output is separately billed at $17.50/M; this estimate does not include video generation. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Standard Kimi API. Cache-hit input $0.20/M; 5-minute cache writes $2/M, billed separately. 1M context. Routed partner rates are not the direct API price.
Current deepseek-flash endpoint, model version DeepSeek-V4.1-Flash-1017. Off-peak cache-miss input and output rates are shown. Peak rates are twice these amounts: weekdays 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Cached input is billed separately.
Introductory $2/$10 through November 30, 2026; $4/$20 starting December 1, 2026. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Direct Claude API base tokens. Shown for prompts up to 100K input tokens; above 100K the entire request is $0.50/M input and $2.50/M output. Prompt-cache writes/reads, batch processing and tools have separate charges.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Official overseas USD real-time API price. Cache-hit input $0.0028/M; cache writes currently limited-time free. Batch and domestic CNY pricing are separate.
Official overseas USD real-time API price. Cache-hit input $0.0036/M; cache writes currently limited-time free. Batch and domestic CNY pricing are separate.
Official overseas USD real-time API price. Cache-hit input $0.036/M; cache writes currently limited-time free. Batch and domestic CNY pricing are separate.
Earlier model revision replaced by DeepSeek-V4.1-Flash-1017. Use deepseek-flash. Off-peak cache-miss input and output rates are shown. Peak rates are twice these amounts: weekdays 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Cached input is billed separately.
Mercury 2.5 is now listed without a Preview label. Model ID mercury-2.5; historical display name retained to preserve catalog references. Cached input $0.02/M.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Promotional rates through December 31, 2026; $1.50/$7.50 starting January 1, 2027. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Direct Claude API base tokens. Prompt-cache writes/reads, batch processing and tools have separate charges. Limited availability; organization verification is required.
Direct Z.AI API, uncached text input and text output. Cached input: $0.03/M. Cache storage is currently limited-time free; tools are billed separately.
Earlier model revision replaced by DeepSeek-V4.1-Flash-1017. The old API ID remains accepted and routes to deepseek-flash. Off-peak cache-miss input and output rates are shown. Peak rates are twice these amounts: weekdays 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Cached input is billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.26/M. Cache storage is currently limited-time free; tools are billed separately.
Legacy endpoint automatically routes to Gemini 3.8 Flash. Uses its paid-tier Standard rates: $0.75/$3.75 through December 31, 2026, then $1.50/$7.50 on January 1, 2027. Model routing documented at https://aistudio.google.com/docs/deprecations.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-08-14. 30B MoE (3B active), hybrid Mamba-Transformer with multi-token prediction, built for high-throughput execution-tier agent work; 256K native context. Open weights under OpenMDW-1.1 — NVIDIA publishes no per-token API rate, so price is the OpenRouter listing (top provider DeepInfra; re-verified 2026-08-20, down from $0.10/$0.25). Released 2026-08-11.
Standard uncached text token rates. Cached tokens and tool charges are separate. Restricted to the Trusted Access program; longer prompts have a higher tier.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-08-14. Apache-2.0 30B dense multimodal model distilled from Muse Spark for always-on local agents on a single consumer GPU; 131K context. Meta publishes no per-token price (open weights, third-party hosts only), so price is the OpenRouter listing. Released 2026-08-10.
Promotional $1/$5 through December 31, 2026; $2/$10 starting January 1, 2027. Embodied reasoning with text output. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-08-14. MIT-licensed sparse hybrid-linear MoE reasoning model from Ant Group, 124B total / 5.1B active, 256K context, aimed at token-efficient agentic coding and search. No first-party rate card; price is the OpenRouter listing and carries a 65%-off promo flag, so undiscounted rates are likely ~$0.06/$0.18. Released 2026-07-23.
Promotional rates through December 31, 2026; $1.50/$7.50 starting January 1, 2027. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-08-14. 118B total / 8B active MoE agentic coding model, OpenMDW-1.1 open weights, text-only with thinking off or max; dedicated endpoint serves the full 1M context. Cache read $0.01/M. Price re-verified 2026-08-20 (Poolside endpoint on OpenRouter, down from $0.10/$0.20). Released 2026-07-21. Source: poolside.ai/blog/introducing-laguna-s-2-1
Reference rate — confirm current pricing before use.
K2-series access is closed to new users; the provider plans to retire the series in late December 2026. Historical rate retained because a current first-party USD price was not confirmed. Use Kimi K3.1 Pro for new integrations.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-07-06. Poolside coding model, 262K context, 33B params / 3B active. Price verified 2026-08-24 against Poolside's official Laguna XS 2.1 launch post: $0.10/M input, $0.20/M output, and $0.05/M cache reads.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-07-07. Poolside Laguna M.1, mid-tier coding model, 262K context. Pricing from OpenRouter.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-07-07. Ultra-cheap coding model from Nex AGI, 262K context. Pricing from OpenRouter.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-07-07. Mid-tier Nex AGI model, 262K context. Pricing from OpenRouter.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-07-07. inclusionAI Ring-2.6-1T, 1T params (MoE), 262K context. Pricing from OpenRouter.
Older model pricing page lists a limited-time $0.30/$1.20 discount (list $0.75/$2.95). Current platform documentation lists LongCat-2.5 for new requests; check availability before using this older SKU.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-08-14. ByteDance Seed multimodal deep-reasoning model for coding and long-horizon agent workflows; 256K context, 256K max output including CoT. Cache-hit input $0.10/M; batch tier $0.25/$1.25. Model ID dola-seed-2-1-turbo-260628. Released 2026-06-28. Source: docs.byteplus.com/en/docs/ModelArk/1544106
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Promotional rates are published through November 30, 2026. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Direct Claude API base tokens. Prompt-cache writes/reads, batch processing and tools have separate charges. $2/$10 is now the permanent standard rate; the previously announced September price increase was cancelled.
Standard API permanent 50%-off tier for prompts up to 512K. Above 512K: $0.60/M input and $2.40/M output. Cache read $0.06/$0.12; Priority costs 1.5x Standard.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-06-29. Official Sakana price for fugu-ultra-20260615; context >272K costs $10/$45 per 1M.
Direct Z.AI API, uncached text input and text output. Cached input: $0.26/M. Cache storage is currently limited-time free; tools are billed separately.
Reference rate — confirm current pricing before use.
K2-series access is closed to new users; the provider plans to retire the series in late December 2026. Historical rate retained because a current first-party USD price was not confirmed. Use Kimi K3.1 Pro for new integrations.
Direct Claude API base tokens. Prompt-cache writes/reads, batch processing and tools have separate charges. Limited availability; organization verification is required.
Official SKU gemini-3.1-pro-preview. Shown for prompts up to 200K; longer prompts cost $4/M input and $18/M output. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-07-07. IBM Granite 4.1 8B, 131K context. Enterprise-grade small model. Pricing from OpenRouter.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-06-09. 1T params, 1000 tok/s, FP4 quant. 3x price for 10x speed.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-06-09. Latest coding-focused model.
Singapore / International qwen3.7-plus alias, 20% off list $0.40/$1.60 for a limited time, prompts up to 256K. Above 256K the list tier is $1.20/$4.80 before that discount. Dated snapshots do not share the alias promotion.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Price updated 2026-07-06 from official MiniMax pay-as-you-go pricing. Cache read $0.06/M, cache write $0.375/M; highspeed output is $2.40/M.
Legacy endpoint automatically routes to Gemini 3.6 Flash. Uses its paid-tier Standard rates: $0.75/$3.75 through December 31, 2026, then $1.50/$7.50 on January 1, 2027. Model routing documented at https://aistudio.google.com/docs/deprecations.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-06-08. 550B MoE (55B active). Open-source. Price updated 2026-07-07 via OpenRouter.
Official SKU gemini-3-flash-preview. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Direct Z.AI API, uncached text input and text output. Cached input: $0.26/M. Cache storage is currently limited-time free; tools are billed separately.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Price updated 2026-07-06 from official MiniMax pay-as-you-go pricing. Cache read $0.03/M, cache write $0.375/M; highspeed output is $2.40/M.
Reference rate — confirm current pricing before use.
K2-series access is closed to new users; the provider plans to retire the series in late December 2026. Historical rate retained because a current first-party USD price was not confirmed. Use Kimi K3.1 Pro for new integrations.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Deprecated October 31, 2026; official model docs recommend Mistral Large 4. Historical rate retained because the current rate card no longer lists this model.
Earlier model revision replaced by DeepSeek-V4.1-Flash-1017. The old API ID remains accepted and routes to deepseek-flash. Off-peak cache-miss input and output rates are shown. Peak rates are twice these amounts: weekdays 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Cached input is billed separately.
Current deepseek-v4-pro endpoint serves DeepSeek-V4-Pro-0813. Off-peak cache-miss input and output rates are shown. Peak rates are twice these amounts: weekdays 01:00–04:00 and 06:00–10:00 UTC, excluding Chinese public holidays. Cached input is billed separately.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Added 2026-08-14. ByteDance agentic-coding model (frontend + multilingual programming) built for Claude Code / Codex / Cursor style agents; 256K context, 128K max output. Listed price covers prompts up to 128K; 128K-256K doubles to $1.00/$6.00. Cache-hit input $0.10/M. Still a preview snapshot (seed-2-0-code-preview-260328). Source: docs.byteplus.com/en/docs/ModelArk/1544106
Standard API, uncached text input and text output. Shown for prompts up to 272K input tokens; longer prompts use a higher whole-request tier. Cached input, cache writes, Batch, Fast, Ultrafast, tools and regional uplifts are separate.
Reference rate — confirm current pricing before use.
K2-series access is closed to new users; the provider plans to retire the series in late December 2026. Historical rate retained because a current first-party USD price was not confirmed. Use Kimi K3.1 Pro for new integrations.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Price updated 2026-07-06 from official MiniMax pay-as-you-go pricing. Cache read $0.03/M, cache write $0.375/M; highspeed output is $2.40/M.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Deprecated October 31, 2026; official model docs recommend Mistral Large 4. Historical rate retained because the current rate card no longer lists this model.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Price updated 2026-06-09
Reference rate — confirm current pricing before use.
K2-series access is closed to new users; the provider plans to retire the series in late December 2026. Historical rate retained because a current first-party USD price was not confirmed. Use Kimi K3.1 Pro for new integrations.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Price updated 2026-05-18
Reference rate — confirm current pricing before use.
K2-series access is closed to new users; the provider plans to retire the series in late December 2026. Historical rate retained because a current first-party USD price was not confirmed. Use Kimi K3.1 Pro for new integrations.
Direct Claude API base tokens. Prompt-cache writes/reads, batch processing and tools have separate charges. Scheduled to retire on the direct Claude API November 30, 2026; migrate to Sonnet 5.5.
Direct Z.AI API, uncached text input and text output. Cached input: $0.11/M. Cache storage is currently limited-time free; tools are billed separately.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Price updated 2026-05-18
Existing-user access only. From December 1, 2026 this endpoint routes to Gemini 3.5 Flash-Lite and uses its rates. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Shown for prompts up to 200K; longer prompts cost $2.50/M input and $15/M output. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Reference rate — confirm current pricing before use.
Reference rate retained from the earlier catalog; a current first-party USD token rate was not confirmed in the 2026-11-21 audit. Price updated 2026-06-09
Text/image/video input; audio input costs $0.30/M. Paid-tier Standard text input and text output, including thinking tokens. Tools, media tokens and caching are separate.
Direct Z.AI API, uncached text input and text output. Cached input: $0.11/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.03/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.22/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.45/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.11/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.11/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.05/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.004/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.01/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.075/M. Cache storage is currently limited-time free; tools are billed separately.
Direct Z.AI API, uncached text input and text output. Cached input: $0.075/M. Cache storage is currently limited-time free; tools are billed separately.
Standard text token rates for prompts up to 272K input tokens; longer prompts use higher whole-request rates. The published promotion is valid at least through December 31, 2026. Tool fees, caching and regional processing are additional.
Standard text token rates for prompts up to 272K input tokens; longer prompts use higher whole-request rates. Access requires the relevant Trusted Access program. Tool fees, caching and regional processing are additional.
Standard text token rates for prompts up to 272K input tokens; longer prompts use higher whole-request rates. Access requires the relevant Trusted Access program. The published promotion is valid at least through December 31, 2026. Tool fees, caching and regional processing are additional.
Standard text token rates for prompts up to 272K input tokens; longer prompts use higher whole-request rates. The published promotion is valid at least through December 31, 2026. Tool fees, caching and regional processing are additional.
Text reasoning model for voice-agent backends, enterprise access required. 50%-off token rates are shown; regular $0.40/$1.50. Speech transport and audio services are not included.
Enter your input and output token counts to compare costs at each model's listed rate. Open Pricing details to see the source, verification date, availability and billing conditions. Reference and Legacy rates have not been confirmed as currently purchasable on the original API.
Enter how many input tokens (your prompts, context and code files) and output tokens (the model's generated code and responses) your workload requires. Costs update instantly. Use By Release Date to browse recent models, or By Cost to compare totals for your token profile.
Typical AI coding sessions generate 10,000–100,000 input tokens and 2,000–20,000 output tokens per task. If you're unsure about your token counts, use our project cost calculator instead — it estimates tokens automatically based on your project size and tooling.
Why Token Costs Vary So Much Between Models
Model prices vary by capability, serving speed, region and request size. Current families such as GPT-6.2, Claude 5.5 and Gemini 4 offer several price points; smaller models can reduce costs for routine tasks. Compare models on your own workload as well as their token rates.
Output tokens often cost more than input tokens, but the ratio varies by model. Long reasoning traces, repeated context, tool calls and cache hits can all change the final bill. This calculator shows the input/output split at the listed unit rates.