Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Context windows - verified

AI model context windows compared

70 of the 167 models in the registry accept 1M tokens or more, and the largest context window is 1,050,000 tokens (10 OpenAI models, including GPT-5.4 and GPT-5.5); 36 models charge more per token once a prompt crosses a size threshold.

Long-context pricing - Models by size - What the limits mean

Models
167
1M+ tokens
70
Largest window
1.05M
Long-context pricing
36

Every model, largest context first

Context window and max output in tokens, as each provider states them. Output share is max output as a share of the window. Long-context pricing shows the prompt size where rates go up and the base and higher input and output price per 1M tokens.

167 models

167 AI models with provider, context window, max output, output share of the window, long-context pricing threshold and rates, and release date
ModelProviderContext windowtokensMax outputtokensOutput shareof the windowLong-context pricingper 1M tokens, base to longReleased
GPT-5.4gpt-5.4OpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $2.50 to $5 (2x)Out $15 to $22.50 (1.5x)
GPT-5.5gpt-5.5OpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $5 to $10 (2x)Out $30 to $45 (1.5x)
GPT-5.5 Progpt-5.5-proOpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $30 to $60 (2x)Out $180 to $270 (1.5x)
GPT-5.6 Lunagpt-5.6-lunaOpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $0.20 to $0.40 (2x)Out $1.20 to $1.80 (1.5x)
GPT-5.6 Solgpt-5.6-solOpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $4 to $8 (2x)Out $20 to $30 (1.5x)
GPT-5.6 Terragpt-5.6-terraOpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $2 to $4 (2x)Out $12 to $18 (1.5x)
GPT-6 Astragpt-6-astraOpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $10 to $20 (2x)Out $50 to $75 (1.5x)
GPT-6 Lunagpt-6-lunaOpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $0.10 to $0.20 (2x)Out $0.50 to $0.75 (1.5x)
GPT-6 Solgpt-6-solOpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $2 to $4 (2x)Out $10 to $15 (1.5x)
GPT-6.1 Solgpt-6.1-solOpenAI1,050,000128,00012%
Over 272K (272,000 tokens)In $2 to $4 (2x)Out $10 to $15 (1.5x)
Kimi K3kimi-k3Moonshot AI1,048,5761,048,576100%-No long-context price tierNot stated
Gemini 2.5 Flashgemini-2.5-flashGoogle1,048,57665,5366.3%-No long-context price tier
Gemini 2.5 Flash-Litegemini-2.5-flash-liteGoogle1,048,57665,5366.3%-No long-context price tier
Gemini 2.5 Progemini-2.5-proGoogle1,048,57665,5366.3%
Over 200K (200,000 tokens)In $1.25 to $2.50 (2x)Out $10 to $15 (1.5x)
Gemini 3 Flash Previewgemini-3-flash-previewGoogle1,048,57665,5366.3%-No long-context price tier
Gemini 3.1 Flash-Litegemini-3.1-flash-liteGoogle1,048,57665,5366.3%-No long-context price tier
Gemini 3.1 Pro Previewgemini-3.1-pro-previewGoogle1,048,57665,5366.3%
Over 200K (200,000 tokens)In $2 to $4 (2x)Out $12 to $18 (1.5x)
Gemini 3.5 Flash-Litegemini-3.5-flash-liteGoogle1,048,57665,5366.3%-No long-context price tier
Gemini 3.6 Flashgemini-3.6-flashGoogle1,048,57665,5366.3%-No long-context price tier
Gemini 3.8 Flashgemini-3.8-flashGoogle1,048,57665,5366.3%-No long-context price tier
Gemini 4 Argongemini-4-argonGoogle1,048,57665,5366.3%-No long-context price tier
GPT-4.1gpt-4.1OpenAI1,047,57632,7683.1%-No long-context price tier
GPT-4.1 Minigpt-4.1-miniOpenAI1,047,57632,7683.1%-No long-context price tier
GPT-4.1 nanogpt-4.1-nanoOpenAI1,047,57632,7683.1%-No long-context price tier
MiniMax-M3MiniMax-M3MiniMax1,000,000524,28852%
Over 512K (512,000 tokens)In $0.30 to $0.60 (2x)Out $1.20 to $2.40 (2x)
DeepSeek V4 Prodeepseek-v4-proDeepSeek1,000,000393,21639%-No long-context price tier
DeepSeek V4.1 Flashdeepseek-flashDeepSeek1,000,000393,21639%-No long-context price tier
MiMo-V2.6-Flashmimo-v2.6-flashXiaomi MiMo1,000,000131,07213%-No long-context price tier
MiMo-V2.6-Promimo-v2.6-proXiaomi MiMo1,000,000131,07213%-No long-context price tier
Qwen3.7-Flashqwen3.7-flashAlibaba Cloud (Qwen)1,000,000131,07213%
Over 32K (32,000 tokens)In $0.03 to $0.10 (3.33x)Out $0.13 to $0.40 (3.08x)
Qwen3.7-Maxqwen3.7-maxAlibaba Cloud (Qwen)1,000,000131,07213%-No long-context price tier
Qwen3.7-Plusqwen3.7-plusAlibaba Cloud (Qwen)1,000,000131,07213%
Over 256K (256,000 tokens)In $0.40 to $1.20 (3x)Out $1.60 to $4.80 (3x)
Qwen3.8-2.4T-A95Bqwen3.8-2.4t-a95bAlibaba Cloud (Qwen)1,000,000131,07213%-No long-context price tier
Qwen3.8-27Bqwen3.8-27bAlibaba Cloud (Qwen)1,000,000131,07213%-No long-context price tier
Qwen3.8-Flashqwen3.8-flashAlibaba Cloud (Qwen)1,000,000131,07213%-No long-context price tier
Qwen3.8-Maxqwen3.8-maxAlibaba Cloud (Qwen)1,000,000131,07213%-No long-context price tier
Qwen3.8-Omni-Flashqwen3.8-omni-flashAlibaba Cloud (Qwen)1,000,000131,07213%-No long-context price tier
Claude Fable 5claude-fable-5Anthropic1,000,000128,00013%-No long-context price tier
Claude Fable 5.1claude-fable-5-1Anthropic1,000,000128,00013%-No long-context price tier
Claude Haiku 5.5claude-haiku-5-5Anthropic1,000,000128,00013%
Over 100K (100,000 tokens)In $0.10 to $0.50 (5x)Out $0.50 to $2.50 (5x)
Claude Mythos 5claude-mythos-5Anthropic1,000,000128,00013%-No long-context price tier
Claude Mythos 5.1claude-mythos-5-1Anthropic1,000,000128,00013%-No long-context price tier
Claude Opus 4.6claude-opus-4-6Anthropic1,000,000128,00013%-No long-context price tier
Claude Opus 4.7claude-opus-4-7Anthropic1,000,000128,00013%-No long-context price tier
Claude Opus 4.8claude-opus-4-8Anthropic1,000,000128,00013%-No long-context price tier
Claude Opus 5claude-opus-5Anthropic1,000,000128,00013%-No long-context price tier
Claude Opus 5.5claude-opus-5-5Anthropic1,000,000128,00013%-No long-context price tier
Claude Sonnet 4.6claude-sonnet-4-6Anthropic1,000,000128,00013%-No long-context price tier
Claude Sonnet 5claude-sonnet-5Anthropic1,000,000128,00013%-No long-context price tier
Claude Sonnet 5.5claude-sonnet-5-5Anthropic1,000,000128,00013%-No long-context price tier
GLM-5.2glm-5.2Z.ai1,000,000128,00013%-No long-context price tier
GLM-5.3glm-5.3Z.ai1,000,000128,00013%-No long-context price tier
GLM-5.3-Flashglm-5.3-flashZ.ai1,000,000128,00013%-No long-context price tier
GLM-5.3-FlashXglm-5.3-flashxZ.ai1,000,000128,00013%-No long-context price tierNot stated
Amazon Nova 2 Liteamazon.nova-2-lite-v1:0Amazon1,000,00065,5366.6%-No long-context price tier
Qwen3-Coder-Flashqwen3-coder-flashAlibaba Cloud (Qwen)1,000,00065,5366.6%
Over 32K (32,000 tokens)In $0.30 to $0.50 (1.67x)Out $1.50 to $2.50 (1.67x)
Qwen3.5-Flashqwen3.5-flashAlibaba Cloud (Qwen)1,000,00065,5366.6%-No long-context price tier
Qwen3.5-Plusqwen3.5-plusAlibaba Cloud (Qwen)1,000,00065,5366.6%
Over 256K (256,000 tokens)In $0.40 to $0.50 (1.25x)Out $2.40 to $3 (1.25x)
Qwen3.6-Flashqwen3.6-flashAlibaba Cloud (Qwen)1,000,00065,5366.6%
Over 256K (256,000 tokens)In $0.25 to $1 (4x)Out $1.50 to $4 (2.67x)
Qwen3.6-Plusqwen3.6-plusAlibaba Cloud (Qwen)1,000,00065,5366.6%
Over 256K (256,000 tokens)In $0.50 to $2 (4x)Out $3 to $6 (2x)
Hy4 previewhy4-previewTencent1,000,00064,0006.4%-No long-context price tier
Step 5 Previewstep-5-previewStepFun1,000,00064,0006.4%-No long-context price tierNot stated
Qwen-Flashqwen-flashAlibaba Cloud (Qwen)1,000,00032,7683.3%
Over 256K (256,000 tokens)In $0.05 to $0.25 (5x)Out $0.40 to $2 (5x)
Qwen-Plusqwen-plusAlibaba Cloud (Qwen)1,000,00032,7683.3%
Over 256K (256,000 tokens)In $0.40 to $1.20 (3x)Out $1.20 to $3.60 (3x)
Not stated
Amazon Nova Premieramazon.nova-premier-v1:0Amazon1,000,00010,0001%-No long-context price tier
Grok 4.20grok-4.20-0309-reasoningxAI1,000,000Not stated-Not computed
Over 200K (200,000 tokens)In $1.25 to $2.50 (2x)Out $2.50 to $5 (2x)
Grok 4.20 (Non-Reasoning)grok-4.20-0309-non-reasoningxAI1,000,000Not stated-Not computed
Over 200K (200,000 tokens)In $1.25 to $2.50 (2x)Out $2.50 to $5 (2x)
Grok 4.20 Multi-Agent Betagrok-4.20-multi-agent-0309xAI1,000,000Not stated-Not computed
Over 200K (200,000 tokens)In $1.25 to $2.50 (2x)Out $2.50 to $5 (2x)
Grok 4.3grok-4.3xAI1,000,000Not stated-Not computed
Over 200K (200,000 tokens)In $1.25 to $2.50 (2x)Out $2.50 to $5 (2x)
Not stated
Mistral Large 4mistral-large-4Mistral AI1,000,000Not stated-Not computed-No long-context price tier
Grok 4.5grok-4.5xAI500,000Not stated-Not computed
Over 200K (200,000 tokens)In $2 to $4 (2x)Out $6 to $12 (2x)
Grok 4.6grok-4.6xAI500,000Not stated-Not computed
Over 200K (200,000 tokens)In $2 to $4 (2x)Out $6 to $12 (2x)
Grok 4.7grok-4.7xAI500,000Not stated-Not computed
Over 200K (200,000 tokens)In $2 to $4 (2x)Out $6 to $12 (2x)
GPT-5 Progpt-5-proOpenAI400,000272,00068%-No long-context price tier
Chat Latestchat-latestOpenAI400,000128,00032%-No long-context price tierNot stated
GPT-5gpt-5OpenAI400,000128,00032%-No long-context price tier
GPT-5 Minigpt-5-miniOpenAI400,000128,00032%-No long-context price tier
GPT-5 nanogpt-5-nanoOpenAI400,000128,00032%-No long-context price tier
GPT-5.1gpt-5.1OpenAI400,000128,00032%-No long-context price tier
GPT-5.2gpt-5.2OpenAI400,000128,00032%-No long-context price tier
GPT-5.3-Codexgpt-5.3-codexOpenAI400,000128,00032%-No long-context price tier
GPT-5.4 Minigpt-5.4-miniOpenAI400,000128,00032%-No long-context price tier
GPT-5.4 nanogpt-5.4-nanoOpenAI400,000128,00032%-No long-context price tier
GPT-5.6 Cybergpt-5.6-cyberOpenAI400,000128,00032%-No long-context price tier
Amazon Nova Liteamazon.nova-lite-v1:0Amazon300,00010,0003.3%-No long-context price tier
Amazon Nova Proamazon.nova-pro-v1:0Amazon300,00010,0003.3%-No long-context price tier
Qwen3.5-122B-A10Bqwen3.5-122b-a10bAlibaba Cloud (Qwen)262,14465,53625%-No long-context price tier
Qwen3.5-27Bqwen3.5-27bAlibaba Cloud (Qwen)262,14465,53625%-No long-context price tier
Qwen3.5-35B-A3Bqwen3.5-35b-a3bAlibaba Cloud (Qwen)262,14465,53625%-No long-context price tier
Qwen3.5-397B-A17Bqwen3.5-397b-a17bAlibaba Cloud (Qwen)262,14465,53625%-No long-context price tier
Qwen3.5-Omni-Flashqwen3.5-omni-flashAlibaba Cloud (Qwen)262,14465,53625%-No long-context price tier
Qwen3.5-Omni-Plusqwen3.5-omni-plusAlibaba Cloud (Qwen)262,14465,53625%-No long-context price tier
Qwen3.6-27Bqwen3.6-27bAlibaba Cloud (Qwen)262,14465,53625%-No long-context price tier
Qwen3.6-35B-A3Bqwen3.6-35b-a3bAlibaba Cloud (Qwen)262,14465,53625%-No long-context price tier
Qwen3-VL-Plusqwen3-vl-plusAlibaba Cloud (Qwen)262,14432,76813%
Over 32K (32,000 tokens)In $0.20 to $0.30 (1.5x)Out $1.60 to $2.40 (1.5x)
Kimi K2.6kimi-k2.6Moonshot AI262,144Not stated-Not computed-No long-context price tierNot stated
Kimi K2.7 Codekimi-k2.7-codeMoonshot AI262,144Not stated-Not computed-No long-context price tierNot stated
Kimi K2.7 Code HighSpeedkimi-k2.7-code-highspeedMoonshot AI262,144Not stated-Not computed-No long-context price tierNot stated
Mercury 2.5mercury-2.5Inception260,00065,53625%-No long-context price tier
Dola Seed 2.1 Turbodola-seed-2-1-turbo-260628ByteDance Seed256,000256,000100%-No long-context price tierNot stated
Hy3hy3Tencent256,000128,00050%-No long-context price tier
Seed 2.0 Liteseed-2-0-lite-260428ByteDance Seed256,000128,00050%
Over 128K (128,000 tokens)In $0.25 to $0.50 (2x)Out $2 to $4 (2x)
Not stated
Seed 2.0 Miniseed-2-0-mini-260428ByteDance Seed256,000128,00050%
Over 128K (128,000 tokens)In $0.10 to $0.20 (2x)Out $0.40 to $0.80 (2x)
Not stated
Seed 2.0 Proseed-2-0-pro-260328ByteDance Seed256,000128,00050%
Over 128K (128,000 tokens)In $0.50 to $1 (2x)Out $3 to $6 (2x)
Not stated
Command Acommand-a-03-2025Cohere256,0008,0003.1%-No long-context price tier
Jamba Large 1.7jamba-large-1.7AI21 Labs256,0004,0961.6%-No long-context price tier
Jamba2 Minijamba-mini-2AI21 Labs256,0004,0961.6%-No long-context price tier
Grok Build 0.1grok-build-0.1xAI256,000Not stated-Not computed
Over 200K (200,000 tokens)In $1 to $2 (2x)Out $2 to $4 (2x)
Ministral 3 14Bministral-14b-2512Mistral AI256,000Not stated-Not computed-No long-context price tier
Ministral 3 3Bministral-3b-2512Mistral AI256,000Not stated-Not computed-No long-context price tier
Ministral 3 8Bministral-8b-2512Mistral AI256,000Not stated-Not computed-No long-context price tier
Mistral Large 3mistral-large-2512Mistral AI256,000Not stated-Not computed-No long-context price tier
Mistral Medium 3.5mistral-medium-3-5Mistral AI256,000Not stated-Not computed-No long-context price tier
Mistral Small 4mistral-small-2603Mistral AI256,000Not stated-Not computed-No long-context price tier
Step 3.5 Flashstep-3.5-flashStepFun256,000Not stated-Not computed-No long-context price tierNot stated
Step 3.5 Flash 2603step-3.5-flash-2603StepFun256,000Not stated-Not computed-No long-context price tierNot stated
Step 3.7 Flashstep-3.7-flashStepFun256,000Not stated-Not computed-No long-context price tier
MiniMax-M2.5MiniMax-M2.5MiniMax204,800204,800100%-No long-context price tier
MiniMax-M2.5-highspeedMiniMax-M2.5-highspeedMiniMax204,800204,800100%-No long-context price tier
MiniMax-M2.7MiniMax-M2.7MiniMax204,800204,800100%-No long-context price tier
MiniMax-M2.7-highspeedMiniMax-M2.7-highspeedMiniMax204,800204,800100%-No long-context price tier
GLM-4.6glm-4.6Z.ai200,000128,00064%-No long-context price tier
GLM-4.7glm-4.7Z.ai200,000128,00064%-No long-context price tier
GLM-4.7-FlashXglm-4.7-flashxZ.ai200,000128,00064%-No long-context price tierNot stated
GLM-5glm-5Z.ai200,000128,00064%-No long-context price tier
GLM-5.1glm-5.1Z.ai200,000128,00064%-No long-context price tier
o1o1OpenAI200,000100,00050%-No long-context price tier
o1-proo1-proOpenAI200,000100,00050%-No long-context price tier
o3o3OpenAI200,000100,00050%-No long-context price tier
o3-minio3-miniOpenAI200,000100,00050%-No long-context price tier
o3-proo3-proOpenAI200,000100,00050%-No long-context price tier
o4-minio4-miniOpenAI200,000100,00050%-No long-context price tier
Claude Haiku 4.5claude-haiku-4-5-20251001Anthropic200,00064,00032%-No long-context price tier
Claude Opus 4.5claude-opus-4-5-20251101Anthropic200,00064,00032%-No long-context price tier
Claude Sonnet 4.5claude-sonnet-4-5-20250929Anthropic200,00064,00032%-No long-context price tier
Gemini Robotics ER 2 Previewgemini-robotics-er-2-previewGoogle131,07265,53650%-No long-context price tier
GLM-4.5glm-4.5Z.ai128,00096,00075%-No long-context price tier
GLM-4.5-Airglm-4.5-airZ.ai128,00096,00075%-No long-context price tier
ERNIE 5.0ernie-5.0Baidu128,00065,53651%
Over 32K (32,000 tokens)In $0.84 to $1.40 (1.67x)Out $3.38 to $5.60 (1.66x)
Not stated
ERNIE 5.1ernie-5.1Baidu128,00065,53651%
Over 32K (32,000 tokens)In $0.56 to $0.84 (1.5x)Out $2.53 to $3.10 (1.23x)
Mercury 2mercury-2Inception128,00050,00039%-No long-context price tier
ERNIE 4.5 Turbo VLernie-4.5-turbo-vlBaidu128,00016,38413%-No long-context price tierNot stated
GPT-4ogpt-4oOpenAI128,00016,38413%-No long-context price tier
GPT-4o Minigpt-4o-miniOpenAI128,00016,38413%-No long-context price tier
GLM-4-32B-0414-128Kglm-4-32b-0414-128kZ.ai128,00016,00013%-No long-context price tierNot stated
ERNIE 4.5 Turbo (128K)ernie-4.5-turbo-128kBaidu128,00012,2889.6%-No long-context price tier
Amazon Nova Microamazon.nova-micro-v1:0Amazon128,00010,0007.8%-No long-context price tier
GPT-4 Turbogpt-4-turboOpenAI128,0004,0963.2%-No long-context price tier
Aya Expanse 32Bc4ai-aya-expanse-32bCohere128,0004,0003.1%-No long-context price tier
Command R 08-2024command-r-08-2024Cohere128,0004,0003.1%-No long-context price tier
Command R+ 08-2024command-r-plus-08-2024Cohere128,0004,0003.1%-No long-context price tier
Command R7Bcommand-r7b-12-2024Cohere128,0004,0003.1%-No long-context price tier
Codestral 25.08codestral-2508Mistral AI128,000Not stated-Not computed-No long-context price tier
GLM-4.6Vglm-4.6vZ.ai128,000Not stated-Not computed-No long-context price tier
Qwen-Maxqwen-maxAlibaba Cloud (Qwen)32,7688,19225%-No long-context price tier
ERNIE 4.5 Turbo (32K)ernie-4.5-turbo-32kBaidu32,00012,28838%-No long-context price tier
ERNIE 4.5 Turbo VL (32K)ernie-4.5-turbo-vl-32kBaidu32,00012,28838%-No long-context price tierNot stated
Mercury Edit 2mercury-edit-2Inception32,0008,19226%-No long-context price tier
Step-1o Turbo Visionstep-1o-turbo-visionStepFun32,000Not stated-Not computed-No long-context price tierNot stated
GPT-3.5 Turbogpt-3.5-turboOpenAI16,3854,09625%-No long-context price tierNot stated
Qwen-MT-Flashqwen-mt-flashAlibaba Cloud (Qwen)16,3848,19250%-No long-context price tier
Qwen-MT-Liteqwen-mt-liteAlibaba Cloud (Qwen)16,3848,19250%-No long-context price tier
GPT-4gpt-4OpenAI8,1928,192100%-No long-context price tierNot stated
Hy-MT2-Litehy-mt2-liteTencent8,0004,00050%-No long-context price tierNot stated
Hy-MT2-Plushy-mt2-plusTencent8,0004,00050%-No long-context price tierNot stated
Hy-MT2-Prohy-mt2-proTencent8,0004,00050%-No long-context price tierNot stated
GPT-3.5 Turbo Instructgpt-3.5-turbo-instructOpenAI4,0964,096100%-No long-context price tierNot stated

Where a big prompt gets more expensive

Long-context pricing

36 of the 167 models, from 8 providers, bill the whole request at a higher rate once the prompt passes a token threshold. Thresholds run from 32,000 to 512,000 tokens, most often 200,000 (10 models). Input rates rise 1.25x to 5x (most often 2x) and output rates 1.23x to 5x (most often 1.5x).

36 AI models with a long-context price tier: threshold, share of the window billed at base rates, and input, output and cache read prices per 1M tokens below and above the threshold
ModelThresholdprompt over, tokensBase-rate shareof the windowInputper 1M, base to longOutputper 1M, base to longCache readper 1M, base to long
Qwen3.7-FlashAlibaba Cloud (Qwen) - 1M window32,0003.2%$0.03 to $0.10 (3.33x)$0.13 to $0.40 (3.08x)Not stated above threshold
ERNIE 5.0Baidu - 128K window32,00025%$0.84 to $1.40 (1.67x)$3.38 to $5.60 (1.66x)No cache price
Qwen3-Coder-FlashAlibaba Cloud (Qwen) - 1M window32,0003.2%$0.30 to $0.50 (1.67x)$1.50 to $2.50 (1.67x)Not stated above threshold
ERNIE 5.1Baidu - 128K window32,00025%$0.56 to $0.84 (1.5x)$2.53 to $3.10 (1.23x)No cache price
Qwen3-VL-PlusAlibaba Cloud (Qwen) - 262K window32,00012%$0.20 to $0.30 (1.5x)$1.60 to $2.40 (1.5x)Not stated above threshold
Claude Haiku 5.5Anthropic - 1M window100,00010%$0.10 to $0.50 (5x)$0.50 to $2.50 (5x)$0.01 to $0.05 (5x)
Seed 2.0 LiteByteDance Seed - 256K window128,00050%$0.25 to $0.50 (2x)$2 to $4 (2x)$0.05 to $0.10 (2x)
Seed 2.0 MiniByteDance Seed - 256K window128,00050%$0.10 to $0.20 (2x)$0.40 to $0.80 (2x)$0.02 to $0.04 (2x)
Seed 2.0 ProByteDance Seed - 256K window128,00050%$0.50 to $1 (2x)$3 to $6 (2x)$0.10 to $0.20 (2x)
Gemini 2.5 ProGoogle - 1.05M window200,00019%$1.25 to $2.50 (2x)$10 to $15 (1.5x)$0.125 to $0.25 (2x)
Gemini 3.1 Pro PreviewGoogle - 1.05M window200,00019%$2 to $4 (2x)$12 to $18 (1.5x)$0.20 to $0.40 (2x)
Grok 4.20xAI - 1M window200,00020%$1.25 to $2.50 (2x)$2.50 to $5 (2x)$0.20 to $0.40 (2x)
Grok 4.20 (Non-Reasoning)xAI - 1M window200,00020%$1.25 to $2.50 (2x)$2.50 to $5 (2x)$0.20 to $0.40 (2x)
Grok 4.20 Multi-Agent BetaxAI - 1M window200,00020%$1.25 to $2.50 (2x)$2.50 to $5 (2x)$0.20 to $0.40 (2x)
Grok 4.3xAI - 1M window200,00020%$1.25 to $2.50 (2x)$2.50 to $5 (2x)$0.20 to $0.40 (2x)
Grok 4.5xAI - 500K window200,00040%$2 to $4 (2x)$6 to $12 (2x)$0.30 to $0.60 (2x)
Grok 4.6xAI - 500K window200,00040%$2 to $4 (2x)$6 to $12 (2x)$0.50 to $1 (2x)
Grok 4.7xAI - 500K window200,00040%$2 to $4 (2x)$6 to $12 (2x)$0.50 to $1 (2x)
Grok Build 0.1xAI - 256K window200,00078%$1 to $2 (2x)$2 to $4 (2x)$0.20 to $0.40 (2x)
Qwen-FlashAlibaba Cloud (Qwen) - 1M window256,00026%$0.05 to $0.25 (5x)$0.40 to $2 (5x)Not stated above threshold
Qwen3.6-FlashAlibaba Cloud (Qwen) - 1M window256,00026%$0.25 to $1 (4x)$1.50 to $4 (2.67x)Not stated above threshold
Qwen3.6-PlusAlibaba Cloud (Qwen) - 1M window256,00026%$0.50 to $2 (4x)$3 to $6 (2x)Not stated above threshold
Qwen-PlusAlibaba Cloud (Qwen) - 1M window256,00026%$0.40 to $1.20 (3x)$1.20 to $3.60 (3x)Not stated above threshold
Qwen3.7-PlusAlibaba Cloud (Qwen) - 1M window256,00026%$0.40 to $1.20 (3x)$1.60 to $4.80 (3x)Not stated above threshold
Qwen3.5-PlusAlibaba Cloud (Qwen) - 1M window256,00026%$0.40 to $0.50 (1.25x)$2.40 to $3 (1.25x)Not stated above threshold
GPT-5.4OpenAI - 1.05M window272,00026%$2.50 to $5 (2x)$15 to $22.50 (1.5x)$0.25 to $0.50 (2x)
GPT-5.5OpenAI - 1.05M window272,00026%$5 to $10 (2x)$30 to $45 (1.5x)$0.50 to $1 (2x)
GPT-5.5 ProOpenAI - 1.05M window272,00026%$30 to $60 (2x)$180 to $270 (1.5x)No cache price
GPT-5.6 LunaOpenAI - 1.05M window272,00026%$0.20 to $0.40 (2x)$1.20 to $1.80 (1.5x)$0.02 to $0.04 (2x)
GPT-5.6 SolOpenAI - 1.05M window272,00026%$4 to $8 (2x)$20 to $30 (1.5x)$0.40 to $0.80 (2x)
GPT-5.6 TerraOpenAI - 1.05M window272,00026%$2 to $4 (2x)$12 to $18 (1.5x)$0.20 to $0.40 (2x)
GPT-6 AstraOpenAI - 1.05M window272,00026%$10 to $20 (2x)$50 to $75 (1.5x)$1 to $2 (2x)
GPT-6 LunaOpenAI - 1.05M window272,00026%$0.10 to $0.20 (2x)$0.50 to $0.75 (1.5x)$0.01 to $0.02 (2x)
GPT-6 SolOpenAI - 1.05M window272,00026%$2 to $4 (2x)$10 to $15 (1.5x)$0.20 to $0.40 (2x)
GPT-6.1 SolOpenAI - 1.05M window272,00026%$2 to $4 (2x)$10 to $15 (1.5x)$0.10 to $0.20 (2x)
MiniMax-M3MiniMax - 1M window512,00051%$0.30 to $0.60 (2x)$1.20 to $2.40 (2x)$0.06 to $0.12 (2x)

The multiplier is the long-context rate divided by the base rate, rounded to two decimals. Base-rate share is the threshold as a share of the context window: the rest of the window is billed at the higher rate. Some providers bill more than two tiers; the dataset records the first step up, and the model page note lists the rest.

1M tokens or more70 models

400K to 1M tokens14 models

128K to 400K tokens70 models

Under 128K tokens13 models

Explainer

What a context window is

The numbers above are each provider's own limits. Here is how to read them before you size a prompt.

The context window
The most tokens one request can hold: system prompt, conversation history, documents, tool definitions and tool results, plus the response the model writes. Anything past it is rejected or has to be trimmed. See the context window glossary entry.
Input vs output limits
Max output caps the response alone, and it is usually far smaller than the window: the median here is 100,000 tokens, 13% of the window. The output also counts against the window, so a prompt that nearly fills it leaves little room for the answer. Where a provider documents a max output equal to the whole window (Kimi K3 and several MiniMax models here), that is a ceiling on one shared budget, not room for a full prompt plus a full-length answer. Reasoning models can spend part of the output budget on thinking tokens before the visible reply.
A bigger window is not the same as using it well
Accepting 1M tokens does not mean recalling all of them equally. Models tend to use the start and end of a long prompt better than the middle (lost in the middle), and quality can drop well before the advertised limit (effective context length). Long prompts also cost more and take longer, and some models charge a higher rate past a threshold. Retrieval, caching and a trimmed prompt usually beat filling the window.

FAQ

Which AI model has the largest context window?

The largest context window in the registry is 1,050,000 tokens, shared by 10 OpenAI models, including GPT-5.4 and GPT-5.5. The median across all 167 models is 400,000 tokens, and the smallest is 4,096.

How many AI models have a 1M token context window?

70 of the 167 models accept 1,000,000 tokens or more, from 14 providers. The most come from Alibaba Cloud (Qwen) (15), Anthropic (13), OpenAI (13) and Google (10).

What is the difference between context window and max output?

The context window is the total number of tokens a request can hold, prompt and response together; max output caps the response alone. Of the 143 models whose provider states a max output, the median is 100,000 tokens, 13% of the window. The largest is 1,048,576 tokens (Kimi K3).

Do long prompts cost more?

For 36 of the 167 models, yes: once the prompt passes a threshold the whole request is billed at higher rates. Thresholds run from 32,000 to 512,000 tokens, most often 200,000 (10 models). Input rates rise 1.25x to 5x, most often 2x.

Verified against each provider's own pricing and model pages. Limits and prices change when a provider updates a model or repoints an alias; open a model for its sources before you rely on a number.

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.