Skip to content
LLM Abacus

LLM API Pricing Comparison

Compare 87 leading large language models in one table. Prices are shown in USD per million tokens. 8 of 16 providers were verified within the last 14 days; each model page shows its source and verification date.

US providers use their native USD list prices. Chinese-provider rows use mainland-China official CNY prices converted at 1 USD = ¥6.705; international endpoints, taxes, regional promotions, and enterprise contracts may differ.

ModelProviderInputOutputCachedContextQualityHeat
Qwen3.5 Flash🇨🇳 Alibaba Qwen$0.030$0.30—1M——
Gemini 2.5 Flash-Lite🇺🇸 Google$0.10$0.40$0.0101M——
Claude Haiku 5.5🇺🇸 Anthropic$0.10$0.50$0.0101M——
GPT-6 Luna🇺🇸 OpenAI$0.10$0.50$0.0101.1M—#77.10T
Qwen3.5 Plus🇨🇳 Alibaba Qwen$0.12$0.72—1M——
Doubao 1.6🇨🇳 ByteDance Doubao$0.12$1.19$0.024256K——
Doubao 1.5 Pro🇨🇳 ByteDance Doubao$0.12$0.30$0.024256K——
文心 ERNIE 4.5 Turbo🇨🇳 Baidu ERNIE$0.12$0.48$0.030128K——
混元 TurboS🇨🇳 Tencent Hunyuan$0.12$0.30—256K——
Spark Ultra🇨🇳 iFlytek Spark$0.12$0.12—128K——
GLM-5.3-Flash🇨🇳 Zhipu AI$0.12$0.42$0.0341M—#312.90T
文心 ERNIE X1 Turbo🇨🇳 Baidu ERNIE$0.15$0.60—128K——
混元 T1🇨🇳 Tencent Hunyuan$0.15$0.60—64K——
MiMo-V2.5🇨🇳 小米 MiMo$0.15$0.30$0.003262K——
混元 Hy3🇨🇳 Tencent Hunyuan$0.15$0.60$0.037262K——
MiMo-V2.6 Flash🇨🇳 小米 MiMo$0.15$0.30$0.003262K—#411.60T
GPT-5.6 Luna🇺🇸 OpenAI$0.20$1.20$0.0201.1M——
Step 3.7 Flash🇨🇳 阶跃星辰$0.20$1.21$0.040131K——
Spark X2.5🇨🇳 iFlytek Spark$0.24$0.89$0.0361M——
Gemini 3.1 Flash-Lite🇺🇸 Google$0.25$1.50$0.0251M34—
DeepSeek V4 Flash🇨🇳 DeepSeek$0.30$1.19$0.0061M47—
DeepSeek V3.2Retired 2026-07-24🇨🇳 DeepSeek$0.30$1.19$0.075128K——
GLM-4.7🇨🇳 Zhipu AI$0.30$1.19$0.060200K——
Spark X2🇨🇳 iFlytek Spark$0.30$0.30—200K——
Spark X2 Flash🇨🇳 iFlytek Spark$0.30$0.30—200K——
Baichuan M2🇨🇳 Baichuan AI$0.30$2.98—192K——
GLM-5.3-FlashX🇨🇳 Zhipu AI$0.30$1.04$0.0851M——
Gemini 2.5 Flash🇺🇸 Google$0.30$2.50$0.0301M——
Gemini 3.5 Flash-Lite🇺🇸 Google$0.30$2.50$0.0301.0M——
MiniMax M3🇨🇳 MiniMax$0.31$1.25$0.0631M55—
MiniMax M2.7🇨🇳 MiniMax$0.31$1.25$0.0631M50—
Qwen3 Max🇨🇳 Alibaba Qwen$0.37$1.49—256K——
MiMo-V2.6 Pro🇨🇳 小米 MiMo$0.45$0.89$0.004262K——
混元 2.0 Think🇨🇳 Tencent Hunyuan$0.59$2.37—128K——
GLM-5🇨🇳 Zhipu AI$0.60$2.68$0.15200K——
文心 ERNIE 5.1🇨🇳 Baidu ERNIE$0.60$2.68—128K——
MiniMax M2.7 Highspeed🇨🇳 MiniMax$0.63$2.51$0.0631M——
Spark Pro🇨🇳 iFlytek Spark$0.75$0.75—128K——
Baichuan M3 Plus🇨🇳 Baichuan AI$0.75$1.34—192K——
Gemini 3.7 Flash🇺🇸 Google$0.75$3.75$0.0751.0M——
Gemini 3.6 Flash🇺🇸 Google$0.75$3.75$0.0751M——
Gemini 3.8 Flash🇺🇸 Google$0.75$3.75$0.0751.0M——
GLM-5.1🇨🇳 Zhipu AI$0.89$3.58$0.19200K51—
Doubao Seed 2.1 Pro🇨🇳 ByteDance Doubao$0.89$4.47$0.18256K——
混元 Hy4 Preview🇨🇳 Tencent Hunyuan$0.89$2.68$0.045262K——
Kimi K2.6🇨🇳 Moonshot (Kimi)$0.97$4.03$0.16262K54—
Kimi K2.7 Code🇨🇳 Moonshot (Kimi)$0.97$4.03$0.19262K——
Claude Haiku 4.5🇺🇸 Anthropic$1.00$5.00$0.10200K37—
Grok Build 0.1🇺🇸 xAI$1.00$2.00$0.20256K——
GLM-5.2🇨🇳 Zhipu AI$1.19$4.18$0.301M——
GLM-5.3🇨🇳 Zhipu AI$1.19$4.18$0.301M—#104.18T
GPT-5.1🇺🇸 OpenAI$1.25$10.00$0.13400K——
Gemini 2.5 Pro🇺🇸 Google$1.25$10.00$0.132M35—
Grok 4.3🇺🇸 xAI$1.25$2.50$0.201M53—
Grok 4.20 Multi-Agent🇺🇸 xAI$1.25$2.50$0.201M——
Grok 4.20 Reasoning🇺🇸 xAI$1.25$2.50$0.201M——
Grok 4.20 Non-Reasoning🇺🇸 xAI$1.25$2.50$0.201M——
DeepSeek V4 Pro🇨🇳 DeepSeek$1.34$4.03$0.0451M52—
Qwen3.6 Max Preview🇨🇳 Alibaba Qwen$1.34$8.05—256K——
Gemini 3.5 Flash🇺🇸 Google$1.50$9.00$0.151M55—
Qwen3.7 Max🇨🇳 Alibaba Qwen$1.79$5.37—1M57—
Qwen3.8 Max🇨🇳 Alibaba Qwen$1.79$5.37—1M——
Kimi K2.7 Code Highspeed🇨🇳 Moonshot (Kimi)$1.94$8.05$0.39262K——
GPT-5.6 Terra🇺🇸 OpenAI$2.00$12.00$0.201.1M——
Claude Sonnet 5🇺🇸 Anthropic$2.00$10.00$0.201M57—
Gemini 3.1 Pro Preview🇺🇸 Google$2.00$12.00$0.202M57—
Grok 4.7🇺🇸 xAI$2.00$6.00$0.50500K——
Grok 4.6🇺🇸 xAI$2.00$6.00$0.50500K——
Grok 4.5🇺🇸 xAI$2.00$6.00$0.30500K——
Claude Sonnet 5.5🇺🇸 Anthropic$2.00$10.00$0.101M——
GPT-6.1 Sol🇺🇸 OpenAI$2.00$10.00$0.101.1M——
GPT-6 Sol🇺🇸 OpenAI$2.00$10.00$0.201.1M——
GPT-5.4🇺🇸 OpenAI$2.50$15.00$0.25400K——
Kimi K3🇨🇳 Moonshot (Kimi)$2.98$14.91$0.301.0M——
Claude Sonnet 4.6🇺🇸 Anthropic$3.00$15.00$0.301M52—
Qwen3.8 Max Prime🇨🇳 Alibaba Qwen$3.58$10.74—1M——
GPT-5.6 Sol🇺🇸 OpenAI$4.00$20.00$0.401.1M61—
Claude Opus 5.5🇺🇸 Anthropic$4.00$20.00$0.201M—#85.64T
MiMo-V2.6 Pro Ultraspeed🇨🇳 小米 MiMo$4.47$8.95$0.037262K——
GPT-5.5🇺🇸 OpenAI$5.00$30.00$0.50400K60—
Claude Opus 4.8🇺🇸 Anthropic$5.00$25.00$0.501M61—
Claude Opus 5🇺🇸 Anthropic$5.00$25.00$0.501M63—
Claude Opus 4.7🇺🇸 Anthropic$5.00$25.00$0.501M57—
Claude Fable 5.1🇺🇸 Anthropic$10.00$50.00$0.251M66—
Claude Fable 5🇺🇸 Anthropic$10.00$50.00$1.001M60—
Claude Mythos 5.1🇺🇸 Anthropic$10.00$50.00$0.251M——
GPT-6 Astra🇺🇸 OpenAI$10.00$50.00$1.001.1M——

USD per million tokens · Chinese providers converted at 1 USD = ¥6.705 · Green = cheapest · Heat = OpenRouter weekly rank by token usage (popularity, not quality; checked 2026-10-14) · Source: official provider pricing pages · For reference only.

Convenience pick

Tired of signing up provider-by-provider? One key for all models

Skip per-provider signups, top-ups and key juggling — AIMLAPI gives you one key to hundreds of models, pay-as-you-go, switch anytime.

Explore AIMLAPI →

Sponsored · we may earn a commission if you sign up via this link, at no extra cost to you

How to pick the most cost-effective LLM

Input vs output pricing. Almost every provider charges separately for input tokens (your prompt) and output tokens (the generation), and output is typically 4–10× more expensive. So “short prompt, long answer” tasks (writing, code generation) are dominated by output price, while “long prompt, short answer” tasks (summarization, classification) are dominated by input price.

Use prompt caching. If your requests share a large repeated prefix (fixed system prompt, RAG context), cached input can cost 10–20% of the normal rate. DeepSeek, OpenAI, Anthropic and Google all support context caching, but the discount varies a lot.

Don’t default to flagships. Mid-tier models like Claude Haiku 4.5, Gemini 2.5 Flash-Lite, Qwen3.5 Flash and DeepSeek V4 Flash are excellent value — for chat, translation, simple generation and classification they are more than enough at 1–5% of flagship cost.

Chinese models are aggressively priced. DeepSeek V4, Qwen, Doubao and Kimi often undercut Western models by an order of magnitude on output price. If latency to China matters or you’re cost-sensitive, they’re worth evaluating — see the dedicated Chinese LLM API pricing comparison in 2026 for all domestic providers in one table. Worried about data residency or training policies? We read all eight providers’ official policies in the Chinese AI API Trust Index.

Need to estimate your real bill? Try the calculators (Chinese UI).