Skip to main content
TokenCost logoTokenCost

API Pricing

Every major LLM provider in one table. Sortable, filterable. Prices per 1 million tokens.

Model ▲▼Provider ▲▼Input / 1M Output / 1M ▲▼Context ▲▼
GPT-OSS 120BOpenAI$0.039$0.190131K
GPT-5 NanoOpenAI$0.050$0.400128K
Qwen3.5-9BAlibaba$0.050$0.150262K
Qwen3.5-Omni FlashAlibaba$0.065$0.260262K
Hunyuan HY3 PreviewTencent$0.066$0.260262K
GPT-OSS 20B (Bedrock)OpenAI$0.070$0.30016K
GLM-4.7-flashZhipu$0.070$0.400200K
GPT-OSS 20BOpenAI$0.075$0.300131K
Gemini 2.0 Flash-LiteGoogle$0.075$0.3001.0M
Llama 4 ScoutMeta$0.080$0.3001.0M
Qwen3-Next-80B-A3B-ThinkingAlibaba$0.098$0.780262K
GPT-4.1 NanoOpenAI$0.100$0.4001.0M
Gemini 2.5 Flash-LiteGoogle$0.100$0.4001.0M
Gemini 2.0 FlashGoogle$0.100$0.4001.0M
Devstral SmallMistral$0.100$0.300256K
Mistral Small 3.2Mistral$0.100$0.300128K
Qwen3 Coder NextAlibaba$0.110$0.800262K
Gemma 4 26B A4BGoogle$0.130$0.400262K
Gemma 4 31BGoogle$0.140$0.400262K
DeepSeek V4-FlashDeepSeek$0.140$0.2801.0M
GPT-OSS 120B (Bedrock)OpenAI$0.150$0.60016K
GPT-4o MiniOpenAI$0.150$0.600128K
Mistral Small 4Mistral$0.150$0.600256K
Ministral 3 8BMistral$0.150$0.150262K
Pixtral 12BMistral$0.150$0.150128K
Command RCohere$0.150$0.600128K
Command R 08 2024Cohere$0.150$0.600128K
Command R7b 12 2024Cohere$0.150$0.038128K
Llama 3.3 70BMeta$0.180$0.180131K
GPT-5.4 NanoOpenAI$0.200$1.25400K
Grok 4.1 FastxAI$0.200$0.5002.0M
Grok 4.1 Fast ReasoningxAI$0.200$0.5002.0M
Grok Code FastxAI$0.200$1.50256K
Ministral 3 14BMistral$0.200$0.200262K
Jamba 1.5AI21$0.200$0.400256K
Jamba 1.5 MiniAI21$0.200$0.400256K
Jamba 1.5 Mini@001AI21$0.200$0.400256K
Jamba Mini 1.6AI21$0.200$0.400256K
Jamba Mini 1.7AI21$0.200$0.400256K
GPT-5 MiniOpenAI$0.250$2.00400K
Gemini 3.1 Flash-LiteGoogle$0.250$1.501.0M
Mercury 2Inception Labs$0.250$0.750128K
Claude 3 Haiku 20240307Anthropic$0.250$1.25200K
Llama 4 MaverickMeta$0.270$0.8501.0M
Qwen3.6-PlusAlibaba$0.276$1.651.0M
DeepSeek V3.2 (Chat)DeepSeek$0.280$0.420128K
DeepSeek V3.2 (Reasoner)DeepSeek$0.280$0.420128K
DeepSeek ReasonerDeepSeek$0.280$0.420131K
Gemini 2.5 FlashGoogle$0.300$2.501.0M
Grok 3 MinixAI$0.300$0.500131K
CodestralMistral$0.300$0.900256K
Qwen 3.5 27BAlibaba$0.300$2.40128K
Nova 2.0 LiteAmazon$0.300$2.501.0M
Nemotron 3 Super 120BNVIDIA$0.300$0.8001.0M
MiniMax M2.7MiniMax$0.300$1.20205K
MiniMax M2.5MiniMax$0.300$1.20128K
Command LightCohere$0.300$0.6004K
GPT-4.1 MiniOpenAI$0.400$1.601.0M
Mistral MediumMistral$0.400$2.00131K
DevstralMistral$0.400$2.00256K
Qwen3.5-Omni PlusAlibaba$0.400$4.80262K
DeepSeek V4-ProDeepSeek$0.435$0.8701.0M
Gemini 3 FlashGoogle$0.500$3.001.0M
Gemini 3 Flash ReasoningGoogle$0.500$3.001.0M
Mistral Large 3Mistral$0.500$1.50262K
Magistral SmallMistral$0.500$1.5040K
DeepSeek R1DeepSeek$0.550$2.19128K
Grok 3 Mini FastxAI$0.600$4.00131K
Qwen 3.5 397BAlibaba$0.600$3.60128K
Kimi K2.5Moonshot$0.600$3.00262K
Kimi K2 ThinkingMoonshot$0.600$2.50262K
GLM-4.7Zhipu$0.600$2.20200K
MiniMax M3MiniMax$0.600$2.401.0M
GPT-5.4 MiniOpenAI$0.750$4.50400K
Gemini 3.1 Flash LiveGoogle$0.750$4.501.0M
Claude Haiku 3.5Anthropic$0.800$4.00200K
QwQ-PlusAlibaba$0.800$2.40131K
Kimi K2.6Moonshot$0.950$4.00262K
Claude Haiku 4.5Anthropic$1.00$5.00200K
Claude 4.5 Haiku ReasoningAnthropic$1.00$5.00200K
Gemini 3.1 Flash TTSGoogle$1.00$20.0032K
Grok Build 0.1xAI$1.00$2.00256K
GLM-5Zhipu$1.00$3.20128K
MiMo-V2-ProXiaomi$1.00$3.001.0M
Claude Haiku 4 5 20251001Anthropic$1.00$5.00200K
Claude Haiku 4 5Anthropic$1.00$5.00200K
o4 MiniOpenAI$1.10$4.40200K
o3 MiniOpenAI$1.10$4.40200K
Kimi K2 Thinking TurboMoonshot$1.15$8.00262K
GLM-5 TurboZhipu$1.20$4.00200K
GPT-5.1OpenAI$1.25$10.00400K
GPT-5OpenAI$1.25$10.00400K
GPT-5 MediumOpenAI$1.25$10.00400K
Gemini 2.5 ProGoogle$1.25$10.001.0M
Grok 4.3xAI$1.25$2.501.0M
Nova 2.0 Pro ReasoningAmazon$1.25$10.00128K
Qwen3.6-Max-PreviewAlibaba$1.30$7.80262K
GLM-5.1Zhipu$1.40$4.40200K
Gemini 3.5 FlashGoogle$1.50$9.001.0M
Mistral Medium 3.5Mistral$1.50$7.50256K
GPT-5.2OpenAI$1.75$14.00400K
GPT-5.3 CodexOpenAI$1.75$14.00400K
GPT-4.1OpenAI$2.00$8.001.0M
o3OpenAI$2.00$8.00200K
o4 Mini Deep ResearchOpenAI$2.00$8.00200K
Gemini 3.1 ProGoogle$2.00$12.001.0M
Gemini 3 ProGoogle$2.00$12.001.0M
Grok 4.20xAI$2.00$6.002.0M
Grok 2xAI$2.00$10.00131K
Magistral MediumMistral$2.00$5.0040K
Pixtral LargeMistral$2.00$6.00128K
Jamba 1.5 LargeAI21$2.00$8.00256K
Jamba 1.5 Large@001AI21$2.00$8.00256K
Jamba Large 1.6AI21$2.00$8.00256K
Jamba Large 1.7AI21$2.00$8.00256K
GPT-5.4OpenAI$2.50$15.001.1M
GPT-4oOpenAI$2.50$10.00128K
Qwen3.7 MaxAlibaba$2.50$7.501.0M
Command A+Cohere$2.50$10.00128K
Command ACohere$2.50$10.00128K
Command A 03 2025Cohere$2.50$10.00256K
Command R PlusCohere$2.50$10.00128K
Command R Plus 08 2024Cohere$2.50$10.00128K
Claude Sonnet 4.6 AdaptiveAnthropic$3.00$15.00200K
Claude Sonnet 4.6Anthropic$3.00$15.00200K
Claude Sonnet 4.5Anthropic$3.00$15.00200K
Claude Sonnet 4Anthropic$3.00$15.00200K
Claude 3.7 SonnetAnthropic$3.00$15.00200K
Grok 4xAI$3.00$15.002.0M
Grok 3xAI$3.00$15.00131K
Sonar ProPerplexity$3.00$15.00128K
Claude 3 7 Sonnet 20250219Anthropic$3.00$15.00200K
Claude 4 Sonnet 20250514Anthropic$3.00$15.001.0M
Claude Sonnet 4 5Anthropic$3.00$15.00200K
Claude Sonnet 4 5 20250929Anthropic$3.00$15.00200K
Claude Sonnet 4 6Anthropic$3.00$15.001.0M
Claude Sonnet 4 20250514Anthropic$3.00$15.001.0M
GPT-5.5OpenAI$5.00$30.001.1M
Claude Opus 4.8Anthropic$5.00$25.001.0M
Claude Opus 4.7Anthropic$5.00$25.001.0M
Claude Opus 4.6 AdaptiveAnthropic$5.00$25.00200K
Claude Opus 4.6Anthropic$5.00$25.00200K
Claude Opus 4.5Anthropic$5.00$25.00200K
Grok 3 FastxAI$5.00$25.00131K
MAI-Image-2Microsoft$5.00$33.0032K
Claude Opus 4 5 20251101Anthropic$5.00$25.00200K
Claude Opus 4 5Anthropic$5.00$25.00200K
Claude Opus 4 6Anthropic$5.00$25.001.0M
Claude Opus 4 6 20260205Anthropic$5.00$25.001.0M
Claude Opus 4 7Anthropic$5.00$25.001.0M
Claude Opus 4 7 20260416Anthropic$5.00$25.001.0M
Claude Opus 4 8Anthropic$5.00$25.001.0M
o3 Deep ResearchOpenAI$10.00$40.00200K
o1OpenAI$15.00$60.00200K
Claude Opus 4.1Anthropic$15.00$75.00200K
Claude 3 Opus 20240229Anthropic$15.00$75.00200K
Claude 4 Opus 20250514Anthropic$15.00$75.00200K
Claude Opus 4 1Anthropic$15.00$75.00200K
Claude Opus 4 1 20250805Anthropic$15.00$75.00200K
Claude Opus 4 20250514Anthropic$15.00$75.00200K
Voxtral TTSMistral$16.00$< 0.01128K
o3-proOpenAI$20.00$80.00200K
Claude Mythos PreviewAnthropic$25.00$1251.0M
GPT-5.5 ProOpenAI$30.00$1801.1M
GPT-5.4 ProOpenAI$30.00$1801.1M
o1 ProOpenAI$150$600200K

Pricing as of March 2026. Open-source model prices reflect hosted API providers. Always verify with official pages. Value = quality index / input cost per 1M tokens (higher is better).

Speed & quality data by Artificial Analysis

How to Compare LLM API Pricing

  1. 1

    Browse the pricing table

    400+ models are listed with input and output pricing per million tokens, plus context window sizes and benchmark scores.

  2. 2

    Sort and filter

    Click any column header to sort by price, context window, or benchmark score. Use the provider filter to focus on specific vendors.

  3. 3

    Evaluate price vs. performance

    Quality and speed metrics from Artificial Analysis help you weigh cost against actual model capability.

Why Use This Pricing Comparison

  • 400+ models from 15+ providers in a single sortable table — no tab switching
  • Enriched with quality index and speed benchmarks from Artificial Analysis
  • Provider-colored badges for quick visual scanning across vendors
  • Context window and max output token data alongside pricing
  • Data sourced from official provider docs and LiteLLM open-source project

Common Use Cases

Vendor selection

Compare pricing across all major providers before committing to an API integration. Sort by cost to find the cheapest option.

Cost optimization

Find cheaper alternatives to your current model by sorting on price and checking if the quality benchmark is close enough.

Technical evaluation

Use the quality index and speed metrics to shortlist models, then compare their pricing to make a final decision.

Model comparison

Use the compare tool to see side-by-side pricing and specs for any two models.

Related Tools

Frequently Asked Questions

Common questions about LLM API pricing