Long Context AI Models

Models with context windows of 200K tokens or more. (266 models)

Model Context Input ($/1M) Output ($/1M)
xAI: Grok 4.1 Fast (free) 2,000,000 Free Free
Kwaipilot: KAT-Coder-Pro V1 (free) 256,000 Free Free
Qwen: Qwen3 Coder 480B A35B (free) 262,000 Free Free
Google: Gemini 2.0 Flash Experimental (free) 1,048,576 Free Free
Amazon: Nova 2 Lite (free) 1,000,000 Free Free
Mistral: Devstral 2 2512 (free) 262,144 Free Free
Meta: Llama Guard 4 12B (free) 262,144 Free Free
NVIDIA: Nemotron 3 Nano 30B A3B (free) 256,000 Free Free
Xiaomi: MiMo-V2-Flash (free) 262,144 Free Free
Qwen: Qwen3 Next 80B A3B Instruct (free) 262,144 Free Free
StepFun: Step 3.5 Flash (free) 256,000 Free Free
NVIDIA: Nemotron 3 Super (free) 262,144 Free Free
Qwen: Qwen3.6 Plus Preview (free) 1,000,000 Free Free
Google: Lyria 3 Pro Preview 1,048,576 Free Free
Google: Lyria 3 Clip Preview 1,048,576 Free Free
Qwen: Qwen3.6 Plus (free) 1,000,000 Free Free
DeepInfra: google/gemini-1.5-flash-8b 1,000,000 $0.04 $0.15
OpenAI: GPT-5 Nano 272,000 $0.05 $0.40
NVIDIA: Nemotron 3 Nano 30B A3B 262,144 $0.05 $0.20
Qwen: Qwen3.5-9B 256,000 $0.05 $0.15
OpenAI: gpt-5-nano-2025-08-07 272,000 $0.05 $0.40
DeepInfra: nvidia/Nemotron-3-Nano-30B-A3B 262,144 $0.05 $0.20
Amazon: Nova Lite 1.0 300,000 $0.06 $0.24
Z.ai: GLM 4.7 Flash 202,752 $0.06 $0.40
DeepInfra: zai-org/GLM-4.7-Flash 202,752 $0.06 $0.40
Qwen: Qwen3.5-Flash 1,000,000 $0.07 $0.26
Qwen: Qwen3 Coder 30B A3B Instruct 262,144 $0.07 $0.27
Qwen: Qwen3 235B A22B Instruct 2507 262,144 $0.07 $0.10
DeepInfra: Qwen/Qwen3-235B-A22B-Instruct-2507 262,144 $0.07 $0.10
Google: Gemini 2.0 Flash Lite 1,048,576 $0.07 $0.30
ByteDance Seed: Seed 1.6 Flash 262,144 $0.07 $0.30
Google: gemini-2.0-flash-lite 1,048,576 $0.07 $0.30
DeepInfra: google/gemini-1.5-flash 1,000,000 $0.07 $0.30
Qwen: Qwen3 30B A3B Thinking 2507 262,144 $0.08 $0.40
Meta: Llama 4 Scout 327,680 $0.08 $0.30
DeepInfra: meta-llama/Llama-4-Scout-17B-16E-Instruct 327,680 $0.08 $0.30
Qwen: Qwen3 Next 80B A3B Instruct 262,144 $0.09 $1.10
Qwen: Qwen3 30B A3B Instruct 2507 262,144 $0.09 $0.30
Xiaomi: MiMo-V2-Flash 262,144 $0.09 $0.29
DeepInfra: Qwen/Qwen3-Next-80B-A3B-Instruct 262,144 $0.09 $1.10
Qwen: Qwen3 Next 80B A3B Thinking 262,144 $0.10 $0.78
Google: Gemini 2.5 Flash Lite Preview 09-2025 1,048,576 $0.10 $0.40
Google: Gemini 2.5 Flash Lite 1,048,576 $0.10 $0.40
OpenAI: GPT-4.1 Nano 1,047,576 $0.10 $0.40
Google: Gemini 2.0 Flash 1,048,576 $0.10 $0.40
StepFun: Step 3.5 Flash 262,144 $0.10 $0.30
ByteDance Seed: Seed-2.0-Mini 262,144 $0.10 $0.40
NVIDIA: Nemotron 3 Super 262,144 $0.10 $0.50
OpenAI: gpt-4.1-nano-2025-04-14 1,047,576 $0.10 $0.40
DeepInfra: ByteDance/Seed-2.0-mini 256,000 $0.10 $0.40
DeepInfra: nvidia/NVIDIA-Nemotron-3-Super-120B-A12B 262,144 $0.10 $0.50
Qwen: Qwen3 Coder Next 262,144 $0.12 $0.75
Google: Gemma 4 31B 262,144 $0.14 $0.40
Qwen: Qwen3 235B A22B Thinking 2507 262,144 $0.15 $1.50
Meta: Llama 4 Maverick 1,048,576 $0.15 $0.60
Mistral: Ministral 3 8B 2512 262,144 $0.15 $0.15
Mistral: Mistral Small 4 262,144 $0.15 $0.60
DeepInfra: Qwen/Qwen3-VL-30B-A3B-Instruct 262,144 $0.15 $0.60
DeepInfra: meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8 1,048,576 $0.15 $0.60
Qwen: Qwen3.5-35B-A3B 262,144 $0.16 $1.30
Qwen: Qwen3 Coder Flash 1,000,000 $0.20 $0.97
Qwen: Qwen3.5-27B 262,144 $0.20 $1.56
Qwen: Qwen3 VL 235B A22B Instruct 262,144 $0.20 $0.88
xAI: Grok 4 Fast 2,000,000 $0.20 $0.50
xAI: Grok Code Fast 1 256,000 $0.20 $1.50
AI21: Jamba Mini 1.7 256,000 $0.20 $0.40
MiniMax: MiniMax-01 1,000,192 $0.20 $1.10
xAI: Grok 4.1 Fast 2,000,000 $0.20 $0.50
Mistral: Ministral 3 14B 2512 262,144 $0.20 $0.20
OpenAI: GPT-5.4 Nano 272,000 $0.20 $1.25
OpenAI: ft:gpt-4.1-nano-2025-04-14 1,047,576 $0.20 $0.80
OpenAI: gpt-5.4-nano-2026-03-17 400,000 $0.20 $1.25
xAI: grok-4-1-fast-non-reasoning 2,000,000 $0.20 $0.50
xAI: grok-4-1-fast-non-reasoning-latest 2,000,000 $0.20 $0.50
xAI: grok-4-1-fast-reasoning 2,000,000 $0.20 $0.50
xAI: grok-4-1-fast 2,000,000 $0.20 $0.50
xAI: grok-4-1-fast-reasoning-latest 2,000,000 $0.20 $0.50
xAI: grok-4-fast-non-reasoning 2,000,000 $0.20 $0.50
xAI: grok-4-fast-reasoning 2,000,000 $0.20 $0.50
xAI: grok-code-fast 256,000 $0.20 $1.50
xAI: grok-code-fast-1-0825 256,000 $0.20 $1.50
DeepInfra: Qwen/Qwen3-VL-235B-A22B-Instruct 262,144 $0.20 $0.88
Kwaipilot: KAT-Coder-Pro V1 256,000 $0.21 $0.83
Qwen: Qwen3 Coder 480B A35B 262,144 $0.22 $1.00
Qwen: Qwen3 Coder 480B A35B (exacto) 262,144 $0.22 $1.80
Arcee AI: Trinity Large Thinking 262,144 $0.22 $0.85
DeepInfra: Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo 262,144 $0.22 $1.00
DeepInfra: Qwen/Qwen3-235B-A22B-Thinking-2507 262,144 $0.23 $2.30
OpenAI: GPT-5.1-Codex-Mini 400,000 $0.25 $2.00
OpenAI: GPT-5 Mini 272,000 $0.25 $2.00
Anthropic: Claude 3 Haiku 200,000 $0.25 $1.25
ByteDance Seed: Seed 1.6 262,144 $0.25 $2.00
Google: Gemini 3.1 Flash Lite Preview 1,048,576 $0.25 $1.50
ByteDance Seed: Seed-2.0-Lite 262,144 $0.25 $2.00
OpenAI: gpt-5-mini-2025-08-07 272,000 $0.25 $2.00
Anthropic: claude-3-haiku 200,000 $0.25 $1.25
DeepInfra: ByteDance/Seed-1.8 256,000 $0.25 $2.00
Qwen: Qwen Plus 0728 1,000,000 $0.26 $0.78
Qwen: Qwen Plus 0728 (thinking) 1,000,000 $0.26 $0.78
Qwen: Qwen-Plus 1,000,000 $0.26 $0.78
Qwen: Qwen3.5 Plus 2026-02-15 1,000,000 $0.26 $1.56
Qwen: Qwen3.5-122B-A10B 262,144 $0.26 $2.08
DeepInfra: Qwen/Qwen3.5-122B-A10B 262,144 $0.29 $2.90
Google: Gemini 2.5 Flash Preview 09-2025 1,048,576 $0.30 $2.50
Mistral: Codestral 2508 256,000 $0.30 $0.90
Google: Gemini 2.5 Flash 1,048,576 $0.30 $2.50
Mistral: Codestral 2501 256,000 $0.30 $0.90
Amazon: Nova 2 Lite 1,000,000 $0.30 $2.50
MiniMax: MiniMax M2.7 204,800 $0.30 $1.20
Kwaipilot: KAT-Coder-Pro V2 256,000 $0.30 $1.20
DeepInfra: google/gemini-2.5-flash 1,000,000 $0.30 $2.50
MoonshotAI: Kimi K2.5 262,144 $0.38 $1.72
Z.ai: GLM 4.6 204,800 $0.39 $1.90
Z.ai: GLM 4.7 202,752 $0.39 $1.75
Qwen: Qwen3.5 397B A17B 262,144 $0.39 $2.34
MiniMax: MiniMax M1 1,000,000 $0.40 $2.20
OpenAI: GPT-4.1 Mini 1,047,576 $0.40 $1.60
Mistral: Devstral 2 2512 256,000 $0.40 $2.00
Xiaomi: MiMo-V2-Omni 262,144 $0.40 $2.00
OpenAI: gpt-4.1-mini-2025-04-14 1,047,576 $0.40 $1.60
DeepInfra: Qwen/Qwen3-Coder-480B-A35B-Instruct 262,144 $0.40 $1.60
DeepInfra: zai-org/GLM-4.7 202,752 $0.40 $1.75
DeepInfra: zai-org/GLM-4.6 202,752 $0.43 $1.74
Z.ai: GLM 4.6 (exacto) 204,800 $0.44 $1.76
DeepInfra: moonshotai/Kimi-K2.5 262,144 $0.45 $2.25
Mistral: Mistral Large 3 2512 262,144 $0.50 $1.50
Google: Gemini 3 Flash Preview 1,048,576 $0.50 $3.00
MoonshotAI: Kimi K2 0905 (exacto) 262,144 $0.60 $2.50
Writer: Palmyra X5 1,040,000 $0.60 $6.00
DeepInfra: moonshotai/Kimi-K2.5-Turbo 262,144 $0.60 $3.00
Qwen: Qwen3 Coder Plus 1,000,000 $0.65 $3.25
MoonshotAI: Kimi Linear 48B A3B Instruct 1,048,576 $0.70 $0.90
OpenAI: GPT-5.4 Mini 272,000 $0.75 $4.50
OpenAI: gpt-5.4-mini-2026-03-17 400,000 $0.75 $4.50
Qwen: Qwen3 Max 262,144 $0.78 $3.90
Qwen: Qwen3 Max Thinking 262,144 $0.78 $3.90
Amazon: Nova Pro 1.0 300,000 $0.80 $3.20
Anthropic: Claude 3.5 Haiku 200,000 $0.80 $4.00
Anthropic: Claude 3.5 Haiku (2024-10-22) 200,000 $0.80 $4.00
OpenAI: ft:gpt-4.1-mini-2025-04-14 1,047,576 $0.80 $3.20
OpenAI: ft:gpt-4.1-mini 1,047,576 $0.80 $3.20
Anthropic: claude-3-5-haiku 200,000 $0.80 $4.00
Anthropic: claude-3-5-haiku-latest 200,000 $0.80 $4.00
DeepInfra: zai-org/GLM-5 202,752 $0.80 $2.56
Relace: Relace Apply 3 256,000 $0.85 $1.25
Morph: Morph V3 Large 262,144 $0.90 $1.90
Anthropic: Claude Haiku 4.5 200,000 $1.00 $5.00
Relace: Relace Search 256,000 $1.00 $3.00
Xiaomi: MiMo-V2-Pro 1,048,576 $1.00 $3.00
Anthropic: claude-haiku-4-5 200,000 $1.00 $5.00
OpenAI: o4 Mini High 200,000 $1.10 $4.40
OpenAI: o4 Mini 200,000 $1.10 $4.40
OpenAI: o3 Mini High 200,000 $1.10 $4.40
OpenAI: o3 Mini 200,000 $1.10 $4.40
OpenAI: o3-mini-2025-01-31 200,000 $1.10 $4.40
OpenAI: o4-mini-2025-04-16 200,000 $1.10 $4.40
Z.ai: GLM 5 Turbo 202,752 $1.20 $4.00
Z.ai: GLM 5V Turbo 202,752 $1.20 $4.00
DeepInfra: Qwen/Qwen3-Max 256,000 $1.20 $6.00
DeepInfra: Qwen/Qwen3-Max-Thinking 256,000 $1.20 $6.00
OpenAI: GPT-5.1 272,000 $1.25 $10.00
OpenAI: GPT-5.1-Codex 400,000 $1.25 $10.00
OpenAI: GPT-5 Codex 400,000 $1.25 $10.00
OpenAI: GPT-5 272,000 $1.25 $10.00
Google: Gemini 2.5 Pro 1,048,576 $1.25 $10.00
Google: Gemini 2.5 Pro Preview 06-05 1,048,576 $1.25 $10.00
Google: Gemini 2.5 Pro Preview 05-06 1,048,576 $1.25 $10.00
OpenAI: GPT-5.1-Codex-Max 400,000 $1.25 $10.00
OpenAI: gpt-5-2025-08-07 272,000 $1.25 $10.00
OpenAI: gpt-5.1-2025-11-13 272,000 $1.25 $10.00
OpenAI: gpt-5-search-api-2025-10-14 272,000 $1.25 $10.00
OpenAI: gpt-5-search-api 272,000 $1.25 $10.00
DeepInfra: google/gemini-2.5-pro 1,000,000 $1.25 $10.00
OpenAI: Codex Mini 200,000 $1.50 $6.00
OpenAI: codex-mini-latest 200,000 $1.50 $6.00
OpenAI: GPT-5.2 272,000 $1.75 $14.00
OpenAI: GPT-5.2-Codex 400,000 $1.75 $14.00
OpenAI: GPT-5.3-Codex 400,000 $1.75 $14.00
OpenAI: gpt-5.2-2025-12-11 272,000 $1.75 $14.00
Google: Gemini 3 Pro Preview 1,048,576 $2.00 $12.00
OpenAI: o4 Mini Deep Research 200,000 $2.00 $8.00
AI21: Jamba Large 1.7 256,000 $2.00 $8.00
OpenAI: o3 200,000 $2.00 $8.00
OpenAI: GPT-4.1 1,047,576 $2.00 $8.00
Google: Gemini 3.1 Pro Preview 1,048,576 $2.00 $12.00
Google: Gemini 3.1 Pro Preview Custom Tools 1,048,576 $2.00 $12.00
xAI: Grok 4.20 Multi-Agent Beta 2,000,000 $2.00 $6.00
xAI: Grok 4.20 Beta 2,000,000 $2.00 $6.00
xAI: Grok 4.20 Multi-Agent 2,000,000 $2.00 $6.00
xAI: Grok 4.20 2,000,000 $2.00 $6.00
OpenAI: gpt-4.1-2025-04-14 1,047,576 $2.00 $8.00
OpenAI: o3-2025-04-16 200,000 $2.00 $8.00
OpenAI: o4-mini-deep-research-2025-06-26 200,000 $2.00 $40.00
Google: gemini-3.1-pro-preview-lte-200k 1,048,576 $2.00 $12.00
Google: gemini-3.1-pro-preview-customtools-lte-200k 1,048,576 $2.00 $12.00
xAI: grok-4.20-beta-0309-non-reasoning 2,000,000 $2.00 $6.00
xAI: grok-4.20-beta-0309-reasoning 2,000,000 $2.00 $6.00
xAI: grok-4.20-multi-agent-beta-0309 2,000,000 $2.00 $6.00
Amazon: Nova Premier 1.0 1,000,000 $2.50 $12.50
OpenAI: GPT-5 Image Mini 400,000 $2.50 $2.00
Cohere: Command A 256,000 $2.50 $10.00
OpenAI: GPT-5.4 1,050,000 $2.50 $15.00
OpenAI: gpt-5.4-2026-03-05 1,050,000 $2.50 $15.00
Perplexity: Sonar Pro Search 200,000 $3.00 $15.00
Anthropic: Claude Sonnet 4.5 200,000 $3.00 $15.00
xAI: Grok 4 256,000 $3.00 $15.00
Anthropic: Claude Sonnet 4 200,000 $3.00 $15.00
Perplexity: Sonar Pro 200,000 $3.00 $15.00
Anthropic: Claude 3.7 Sonnet (thinking) 200,000 $3.00 $15.00
Anthropic: Claude 3.7 Sonnet 200,000 $3.00 $15.00
Anthropic: Claude Sonnet 4.6 1,000,000 $3.00 $15.00
OpenAI: ft:gpt-4.1-2025-04-14 1,047,576 $3.00 $12.00
OpenAI: ft:gpt-4.1 1,047,576 $3.00 $12.00
Anthropic: claude-3-5-sonnet 200,000 $3.00 $15.00
Anthropic: claude-3-5-sonnet-latest 200,000 $3.00 $15.00
Anthropic: claude-3-sonnet 200,000 $3.00 $15.00
Anthropic: claude-3-5-sonnet 200,000 $3.00 $15.00
Anthropic: claude-3-7-sonnet-latest 200,000 $3.00 $15.00
Anthropic: claude-3-7-sonnet 200,000 $3.00 $15.00
Anthropic: claude-sonnet-4 1,000,000 $3.00 $15.00
Anthropic: claude-sonnet-4-0 200,000 $3.00 $15.00
Anthropic: claude-sonnet-4-5 200,000 $3.00 $15.00
Anthropic: claude-sonnet-4-5 200,000 $3.00 $15.00
Anthropic: claude-sonnet-4-6 1,000,000 $3.00 $15.00
xAI: grok-4-0709 256,000 $3.00 $15.00
xAI: grok-4-latest 256,000 $3.00 $15.00
DeepInfra: anthropic/claude-4-sonnet 200,000 $3.30 $16.50
DeepInfra: anthropic/claude-3-7-sonnet-latest 200,000 $3.30 $16.50
OpenAI: ft:o4-mini-2025-04-16 200,000 $4.00 $16.00
Google: gemini-3.1-pro-preview-gt-200k 1,048,576 $4.00 $18.00
Google: gemini-3.1-pro-preview-customtools-gt-200k 1,048,576 $4.00 $18.00
Anthropic: Claude Opus 4.5 200,000 $5.00 $25.00
Anthropic: Claude Opus 4.6 1,000,000 $5.00 $25.00
Anthropic: claude-opus-4-5 200,000 $5.00 $25.00
Anthropic: claude-opus-4-5 200,000 $5.00 $25.00
Anthropic: claude-opus-4-6 1,000,000 $5.00 $25.00
Anthropic: Claude 3.5 Sonnet 200,000 $6.00 $30.00
Anthropic: claude-2.1 200,000 $8.00 $24.00
OpenAI: GPT-5 Image 400,000 $10.00 $10.00
OpenAI: o3 Deep Research 200,000 $10.00 $40.00
OpenAI: o3-deep-research-2025-06-26 200,000 $10.00 $40.00
OpenAI: GPT-5 Pro 400,000 $15.00 $120.00
Anthropic: Claude Opus 4.1 200,000 $15.00 $75.00
Anthropic: Claude Opus 4 200,000 $15.00 $75.00
OpenAI: o1 200,000 $15.00 $60.00
Anthropic: Claude 3 Opus 200,000 $15.00 $75.00
OpenAI: o1-preview 200,000 $15.00 $60.00
OpenAI: o1-2024-12-17 200,000 $15.00 $60.00
OpenAI: o1-preview-2024-09-12 200,000 $15.00 $60.00
OpenAI: gpt-5-pro-2025-10-06 400,000 $15.00 $120.00
Anthropic: claude-3-opus 200,000 $15.00 $75.00
Anthropic: claude-3-opus-latest 200,000 $15.00 $75.00
Anthropic: claude-opus-4 200,000 $15.00 $75.00
Anthropic: claude-opus-4-0 200,000 $15.00 $75.00
Anthropic: claude-opus-4-1 200,000 $15.00 $75.00
Anthropic: claude-opus-4-1 200,000 $15.00 $75.00
Anthropic: claude-4-opus 200,000 $15.00 $75.00
DeepInfra: anthropic/claude-4-opus 200,000 $16.50 $82.50
OpenAI: o3 Pro 200,000 $20.00 $80.00
OpenAI: o3-pro-2025-06-10 200,000 $20.00 $80.00
OpenAI: GPT-5.2 Pro 400,000 $21.00 $168.00
OpenAI: gpt-5.2-pro-2025-12-11 400,000 $21.00 $168.00
OpenAI: GPT-5.4 Pro 1,050,000 $30.00 $180.00
OpenAI: gpt-5.4-pro-2026-03-05 400,000 $30.00 $180.00
OpenAI: o1-pro 200,000 $150.00 $600.00
OpenAI: o1-pro-2025-03-19 200,000 $150.00 $600.00