AI API Rankings

Benchmark rankings, prices, context windows and speed for every major AI API — on one page.

85 models·17 providers·9 benchmarks·data as of 2026-09-24
Explore more provider routes and benchmark results with source dates and evaluation settings. Public data explorer

Price vs performance

X-axis: blended price (3:1 input:output weighting, log scale). Y-axis: pick any benchmark below. Upper-left is cheap and strong.

Y-axis benchmark

Data: Artificial Analysis · official provider pricing pages

Rankings by benchmark

Pick a benchmark to see the top models. Sources are listed in the footer.

Data: Artificial Analysis · LMArena leaderboard dataset (CC BY 4.0) · provider model cards

Best model by use case

Top five models for common workloads, taken from the table below. * marks provider-reported scores.

All models

Click a column header to sort. Prices are official API list prices in USD per 1M tokens.

ModelInput $/1MOutput $/1MBlendedCached inputContextAA IndexArena EloGPQASWE-benchSpeed t/sReleased
Claude Opus 5.5 Anthropic$4.00$20.0$8.00$0.201M57.6———852026-09
Claude Fable 5.1 Anthropic$10.0$50.0$20.0$0.251M53.4150893.7%—672026-09
GPT-6 Astra OpenAI$10.0$50.0$20.0$1.001.1M52.7144496.1%—582026-09
Claude Opus 5 Anthropic$5.00$25.0$10.0$0.501M50.8150593.2%97%572026-07
Claude Fable 5 Anthropic$10.0$50.0$20.0$1.001M49.6149392.6%95%682026-06
Muse Spark 1.3 Meta$1.25$4.25$2.00$0.151.0M48.1149093.5%—2522026-09
GPT-6 Sol OpenAI$2.00$10.0$4.00$0.201.1M47.5———1072026-09
GPT-5.6 Sol OpenAI$4.00$20.0$8.00$0.401.1M47145594.1%—582026-07
Grok 4.7 xAI$2.00$6.00$3.00$0.50500K46.4———472026-09
Qwen3.8-Max Alibaba Qwen$2.00$6.00$3.00$0.251M45.4148192.8%—392026-08
GLM-5.3 Zhipu AI (Z.ai)$1.40$4.40$2.15$0.261M44.8147591.7%—632026-08
Grok 4.6 xAI$2.00$6.00$3.00$0.50500K44.3143094.9%—712026-08
Kimi K3 Moonshot AI$3.00$15.0$6.00$0.301.0M43.6147293.5%93.4%392026-07
GPT-5.6 Terra OpenAI$2.00$12.0$4.50$0.201.1M42.1144692.5%—862026-07
Claude Opus 4.8 Anthropic$5.00$25.0$10.0$0.501M41.8146192%88.6%*632026-05
GLM-5.3-Flash Zhipu AI (Z.ai)$0.15$0.50$0.24$0.031M41.8147291.2%—442026-08
Gemini 3.8 Flash Google$0.75$3.75$1.50$0.071.0M40.9149595.3%—3192026-09
Claude Opus 4.7 Anthropic$5.00$25.0$10.0$0.501M40.7149091.4%87.6%*462026-04
Qwen3.8-Flash Alibaba Qwen$0.15$0.47$0.23$0.011M39.8—92.3%—532026-08
Gemini 3.7 Flash Google$0.75$3.75$1.50$0.071.0M39.6149092.1%—3092026-08
Muse Spark 1.2 Meta$1.25$4.25$2.00$0.151.0M39.6148990.4%—2242026-08
DeepSeek V4.1 Flash DeepSeek$0.30$1.20$0.52$0.00601M39.5———2412026-09
GPT-5.4 OpenAI$2.50$15.0$5.63$0.251.1M39147092%76.9%1502026-03
Grok 4.5 xAI$2.00$6.00$3.00$0.30500K38.8145093.1%86.6%532026-07
GPT-5.5 OpenAI$5.00$30.0$11.3$0.501.1M38.4147193.5%88.7%*662026-04
Claude Sonnet 5 Anthropic$2.00$10.0$4.00$0.201M38.2144291.1%85.2%852026-06
GPT-6 Luna OpenAI$0.10$0.50$0.20$0.011.1M37.3———1392026-09
GPT-5.6 Luna OpenAI$0.20$1.20$0.45$0.021.1M37.3143091.1%—1282026-07
DeepSeek V4 Pro DeepSeek$1.32$3.96$1.98$0.041M36144492.8%96.4%782026-08
Gemini 3.6 Flash Google$0.75$3.75$1.50$0.071.0M34147692.8%—1962026-07
GLM-5.2 Zhipu AI (Z.ai)$1.40$4.40$2.15$0.261M33.7146789.5%—712026-06
Muse Spark 1.1 Meta$1.25$4.25$2.00——33.7148089.8%—1892026-07
Gemini 3.5 Flash Google$1.50$9.00$3.38$0.151.0M33.6148292.1%79.3%2512026-05
GPT-5.3 Codex OpenAI$1.75$14.0$4.81$0.17400K32.5—91.5%85%142—
Claude Opus 4.6 Anthropic$5.00$25.0$10.0$0.501M31.9150389.6%—46—
Claude Sonnet 4.6 Anthropic$3.00$15.0$6.00$0.301M30.1145887.5%79.6%492026-02
Gemini 3.1 Pro Google$2.00$12.0$4.50$0.201.0M29.7148094.1%80.6%1402026-02
Qwen3.7-Max Alibaba Qwen$2.50$7.50$3.75$0.251M29.5147492.3%80.4%1962026-05
MiniMax M3 MiniMax$0.30$1.20$0.52$0.061M29.2143392.9%80.5%1492026-06
Claude Opus 4.5 Anthropic$5.00$25.0$10.0$0.50200K29.1145086.6%——2025-11
Solar Pro 4 Upstage$0.30$1.20$0.52$0.06524K28.2137789.1%—422026-08
GLM-5 Zhipu AI (Z.ai)$1.00$3.20$1.55$0.20200K27.9144682%—482026-02
Kimi K2.6 Moonshot AI$0.95$4.00$1.71$0.16262K27145591.1%80.2%*412026-04
Kimi K2.7 Code Moonshot AI$0.95$4.00$1.71$0.19262K25.8—89.6%—462026-06
Qwen3.7-Plus Alibaba Qwen$0.40$1.60$0.70—1M25.2145490%77.7%622026-06
Grok 4.3 xAI$1.25$2.50$1.56$0.201M24.9139890.1%—1372026-04
GPT-5.4 mini OpenAI$0.75$4.50$1.69$0.07400K24.1141287.5%—1752026-03
MiniMax M2.7 MiniMax$0.30$1.20$0.52$0.06—22.8140587.4%—50—
Gemini 3.5 Flash-Lite Google$0.30$2.50$0.85$0.031.0M22.2143683.8%—3702026-07
GLM-4.7 Zhipu AI (Z.ai)$0.60$2.20$1.00$0.11—22.2143685.9%—113—
GPT-5.4 nano OpenAI$0.20$1.25$0.46$0.02400K20.7137381.7%—1632026-03
Gemini 2.5 Pro Google$1.25$10.0$3.44$0.131.0M16.1145884.4%—1242025-06
Gemini 3.1 Flash-Lite Google$0.25$1.50$0.56$0.031.0M15.6141582.2%—2762026-03
Gemini 2.5 Flash Google$0.30$2.50$0.85$0.031.0M15.5141779.3%—2152025-06
ERNIE 5.0 Baidu$0.60$2.10$0.97—128K14.3144477.7%———
Mistral Medium 3.5 Mistral AI$1.50$7.50$3.00——14.2142174.8%77.6%1552026-04
Nova 2 Pro (preview) Amazon$1.25$10.0$3.44$0.311M14.2—78.5%—1162025-12
Nova 2 Omni (preview) Amazon$0.30$2.50$0.85—1M13.6—76%*——2025-12
Nova 2 Lite Amazon$0.30$2.50$0.85$0.071M13.4136381.1%—1922025-12
Command A+ Cohere————128K13.1—76.1%—2292026-05
GPT-4.1 OpenAI$2.00$8.00$3.50$0.501.0M12.7138366.6%——2025-04
Mistral Small 4 Mistral AI$0.15$0.60$0.26——11.3—76.9%—1652026-03
GLM-4.5-Air Zhipu AI (Z.ai)$0.20$1.10$0.43$0.03—11.1138473.3%—812025-07
GPT-4.1 mini OpenAI$0.40$1.60$0.70$0.101.0M10.2134066.4%——2025-04
Mistral Large 3 Mistral AI$0.50$1.50$0.75——9.3142768%—732025-12
Solar Pro 2 Upstage$0.15$0.60$0.26$0.01—9.1—57.8%——2025-05
GPT-4o OpenAI$2.50$10.0$4.38$1.25128K9—65.5%——2024-05
GPT-4.1 nano OpenAI$0.10$0.40$0.18$0.031.0M7.8128551.2%——2025-04
Solar Pro 3 Upstage$0.15$0.60$0.26$0.01128K7.8—72.4%—1422026-01
Command A Cohere$2.50$10.0$4.38—256K7133152.7%—522025-03
GPT-4o mini OpenAI$0.15$0.60$0.26$0.07128K6.7128642.6%——2024-07
Nova Micro Amazon$0.04$0.14$0.06—128K5.9—35.8%—2942024-12
GPT-5.5 Pro OpenAI$30.0$180.0$67.5—1.1M——93.9%*——2026-04
GPT-5.4 Pro OpenAI$30.0$180.0$67.5—1.1M—————2026-03
Claude Haiku 4.5 Anthropic$1.00$5.00$2.00$0.10200K—1397—73.3%—2025-10
Claude Sonnet 4.5 Anthropic$3.00$15.0$6.00$0.30200K—1438———2025-09
Grok Build 0.1 xAI$1.00$2.00$1.25$0.20256K——————
Grok 4.20 xAI$1.25$2.50$1.56$0.201M—1451—76.7%*—2026-03
Qwen3.6-Flash Alibaba Qwen$0.25$1.50$0.56—1M——————
Magistral Medium Mistral AI$2.00$5.00$2.75———1255————
Codestral 25.08 Mistral AI$0.30$0.90$0.45———————2025-08
ERNIE 5.1 Baidu$0.59$2.65$1.10—128K—1468———2026-05
Command R7B Cohere$0.04$0.15$0.07—128K—————2024-12
HyperCLOVA X HCX-007 Naver$0.84$3.37$1.47—128K——————
K-EXAONE 236B LG AI Research$0.20$0.80$0.35$0.10262K——————

Reading the table (promo prices, self-reported scores, etc.)

    Compare models head-to-head

    Pick up to 4 models to compare prices, specs and benchmark scores side by side.

    Data: Artificial Analysis · LMArena dataset (CC BY 4.0) · provider model cards & pricing pages

    Frontier progress over time

    Intelligence Index by release month. Each dot is a model, colored by provider.

    Monthly cost calculator

    Enter your expected usage to estimate monthly cost per model, cheapest first.

    Estimate from a prompt…

    Chat apps typically see 3–5× more input than output. Cache hit rate applies the provider's cached-input price to that share of input; models without cache pricing use the full input price.

    Benchmark guide

    What each benchmark used on this page actually measures.

    AA Intelligence Index Composite score

    Artificial Analysis independently re-runs a battery of evaluations (knowledge, math, coding, instruction following) against each model's API and combines them into one number. Our default ranking metric; gaps under ~2 points are noise.

    LMArena Elo Human preference

    Chess-style rating from blind A/B votes on real user prompts. Measures perceived answer quality — helpfulness, tone, formatting — rather than raw reasoning ability.

    GPQA Diamond Graduate science

    Google-proof graduate-level science questions. Frontier models now exceed 90%, so it separates mid-tier from frontier but no longer separates frontier models from each other.

    AIME Competition math

    American Invitational Mathematics Examination problems with integer answers. Top models score 98–100%, so treat it as a pass/fail signal rather than a ranking.

    SWE-bench Verified Agentic coding

    Real GitHub issues: the model must produce a patch that passes the repository's tests. The closest benchmark to real software work; sensitive to the agent harness used.

    LiveCodeBench Algorithmic coding

    Competitive-programming problems collected continuously after training cutoffs to avoid contamination. Measures raw problem-solving, complementing SWE-bench.

    MMLU-Pro Broad knowledge

    A harder, 10-choice successor to MMLU covering 14 subject areas. Less saturated than the original, still partly a memorization test.

    Humanity's Last Exam Frontier exam

    ~2,500 expert-written questions designed to stay hard as older benchmarks saturate. Frontier scores of 40–58% make it one of the most discriminating tests available.

    MMMU Multimodal

    College-level questions requiring charts, diagrams and images to answer. The main signal for vision-input quality.

    Frequently asked questions

    Where does the pricing data come from?

    Prices come from each provider's official pricing page (OpenAI Platform, Anthropic Docs, Google AI for Developers, xAI Docs, DeepSeek API Docs, and others). Listed prices are standard-tier list prices per 1M tokens; cached-input, batch and volume discounts are not applied unless noted.

    Are the benchmark scores official?

    Where possible we prefer independently re-measured numbers such as Artificial Analysis; otherwise we use provider-reported scores. The same benchmark can vary with run settings (tools, reasoning budget), so treat scores as directional rather than absolute.

    What is a blended price?

    A weighted average of input and output token prices at a 3:1 input-to-output ratio, a common industry convention for comparing model prices with a single number.

    How often is the data updated?

    Check the data-as-of date at the top and bottom of the page. New models and price changes are verified manually before being added. If you spot an error, please report it.

    Which model should I choose?

    As a rule of thumb: frontier models for complex reasoning and coding (expensive), small models for high-volume simple tasks (cheap), and mid-tier models in between. Models in the upper-left of the price-vs-performance chart offer the best value.