Long-context models for documents and codebases
A long context buys you the option to skip retrieval altogether and hand the model the whole document. The cost grows linearly with what you send, so if most of the prompt repeats between calls, pick a model with cheap cached input — that one column changes the monthly bill more than the model choice does.
304 models in this category · prices in toman per 1M tokens
| Model | Capabilities | Context | Input / 1M | Output / 1M | ≈ 1,000 words |
|---|---|---|---|---|---|
Grok 4.20x-ai/grok-4.20 | Image inputTool callingReasoningJSON output | 2,000,000 | 432,774 | 865,548 | 1,688 |
Grok 4.20 Multi-Agentx-ai/grok-4.20-multi-agent | Image inputReasoningJSON outputFile input | 2,000,000 | 432,774 | 865,548 | 1,688 |
GPT-5.4openai/gpt-5.4 | Image inputTool callingReasoningJSON output | 1,050,000 | 865,548 | 5,193,290 | 7,876 |
GPT-5.4 Proopenai/gpt-5.4-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 10,386,581 | 62,319,483 | 94,518 |
GPT-5.5openai/gpt-5.5 | Image inputTool callingReasoningJSON output | 1,050,000 | 1,731,097 | 10,386,581 | 15,753 |
GPT-5.5 Proopenai/gpt-5.5-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 10,386,581 | 62,319,483 | 94,518 |
GPT-5.6 Lunaopenai/gpt-5.6-luna | Image inputTool callingReasoningJSON output | 1,050,000 | 69,244 | 415,463 | 630 |
GPT-5.6 Luna Proopenai/gpt-5.6-luna-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 69,244 | 415,463 | 630 |
GPT-5.6 Luna ProBatchopenai/gpt-5.6-luna-pro:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 34,622 | 207,732 | 315 |
GPT-5.6 LunaBatchopenai/gpt-5.6-luna:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 34,622 | 207,732 | 315 |
GPT-5.6 Solopenai/gpt-5.6-sol | Image inputTool callingReasoningJSON output | 1,050,000 | 1,384,877 | 6,924,387 | 10,802 |
GPT-5.6 Sol Proopenai/gpt-5.6-sol-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 1,384,877 | 6,924,387 | 10,802 |
GPT-5.6 Sol ProBatchopenai/gpt-5.6-sol-pro:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 3,462,194 | 5,401 |
GPT-5.6 SolBatchopenai/gpt-5.6-sol:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 3,462,194 | 5,401 |
GPT-5.6 Terraopenai/gpt-5.6-terra | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 4,154,632 | 6,301 |
GPT-5.6 Terra Proopenai/gpt-5.6-terra-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 4,154,632 | 6,301 |
GPT-5.6 Terra ProBatchopenai/gpt-5.6-terra-pro:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 2,077,316 | 3,151 |
GPT-5.6 TerraBatchopenai/gpt-5.6-terra:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 2,077,316 | 3,151 |
GPT-6 Astraopenai/gpt-6-astra | Image inputTool callingReasoningJSON output | 1,050,000 | 3,462,194 | 17,310,968 | 27,005 |
GPT-6 Astra Proopenai/gpt-6-astra-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 3,462,194 | 17,310,968 | 27,005 |
GPT-6 Astra ProBatchopenai/gpt-6-astra-pro:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 1,731,097 | 8,655,484 | 13,503 |
GPT-6 AstraBatchopenai/gpt-6-astra:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 1,731,097 | 8,655,484 | 13,503 |
GPT-6 Lunaopenai/gpt-6-luna | Image inputTool callingReasoningJSON output | 1,050,000 | 34,622 | 173,110 | 270 |
GPT-6 Luna Proopenai/gpt-6-luna-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 34,622 | 173,110 | 270 |
GPT-6 Luna ProBatchopenai/gpt-6-luna-pro:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 17,311 | 86,555 | 135 |
GPT-6 LunaBatchopenai/gpt-6-luna:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 17,311 | 86,555 | 135 |
GPT-6 Solopenai/gpt-6-sol | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 3,462,194 | 5,401 |
GPT-6 Sol Proopenai/gpt-6-sol-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 3,462,194 | 5,401 |
GPT-6 Sol ProBatchopenai/gpt-6-sol-pro:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 1,731,097 | 2,701 |
GPT-6 SolBatchopenai/gpt-6-sol:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 1,731,097 | 2,701 |
GPT-6.1 Solopenai/gpt-6.1-sol | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 3,462,194 | 5,401 |
GPT-6.1 Sol Proopenai/gpt-6.1-sol-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 3,462,194 | 5,401 |
GPT-6.1 Sol ProBatchopenai/gpt-6.1-sol-pro:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 1,731,097 | 2,701 |
GPT-6.1 SolBatchopenai/gpt-6.1-sol:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 1,731,097 | 2,701 |
GPT-6.1 Terraopenai/gpt-6.1-terra | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 1,731,097 | 2,701 |
GPT-6.1 Terra Proopenai/gpt-6.1-terra-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 1,731,097 | 2,701 |
GPT-6.1 Terra ProBatchopenai/gpt-6.1-terra-pro:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 173,110 | 865,548 | 1,350 |
GPT-6.1 TerraBatchopenai/gpt-6.1-terra:batch | Image inputTool callingReasoningJSON output | 1,050,000 | 173,110 | 865,548 | 1,350 |
MiMo-V2.5-Proxiaomi/mimo-v2.5-pro | Tool callingReasoningJSON output | 1,050,000 | 166,185 | 623,195 | 1,026 |
MiMo-V2.6-Flashxiaomi/mimo-v2.6-flash | Image inputTool callingReasoningJSON output | 1,050,000 | 48,471 | 96,941 | 189 |
MiMo-V2.6-Proxiaomi/mimo-v2.6-pro | Image inputTool callingReasoningJSON output | 1,050,000 | 150,605 | 301,211 | 587 |
GPT AstraLatest~openai/gpt-astra-latest | Image inputTool callingReasoningJSON output | 1,050,000 | 3,462,194 | 17,310,968 | 27,005 |
GPT LunaLatest~openai/gpt-luna-latest | Image inputTool callingReasoningJSON output | 1,050,000 | 34,622 | 173,110 | 270 |
GPT SolLatest~openai/gpt-sol-latest | Image inputTool callingReasoningJSON output | 1,050,000 | 692,439 | 3,462,194 | 5,401 |
GPT TerraLatest~openai/gpt-terra-latest | Image inputTool callingReasoningJSON output | 1,050,000 | 346,219 | 1,731,097 | 2,701 |
meituan/longcat-2.0 | Tool callingReasoning | 1,048,756 | 103,866 | 415,463 | 675 |
deepseek/deepseek-v4-flash | Tool callingReasoningJSON output | 1,048,576 | 31,506 | 63,012 | 123 |
deepseek/deepseek-v4-flash-0731 | Tool callingReasoningJSON output | 1,048,576 | 20,427 | 103,866 | 162 |
deepseek/deepseek-v4-flash-vision-exp | Image inputTool callingReasoningJSON output | 1,048,576 | 74,645 | 223,935 | 388 |
deepseek/deepseek-v4-pro | Tool callingReasoningJSON output | 1,048,576 | 553,951 | 1,107,902 | 2,160 |
deepseek/deepseek-v4-pro-0813 | Tool callingReasoningJSON output | 1,048,576 | 35,661 | 1,422,962 | 1,896 |
deepseek/deepseek-v4.1-flash | Image inputTool callingReasoningJSON output | 1,048,576 | 15,580 | 173,110 | 245 |
deepseek/deepseek-v4.1-flash-1017 | Image inputTool callingReasoningJSON output | 1,048,576 | 2,077 | 173,110 | 228 |
deepseek/deepseek-v4.1-flash:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 38,777 | 116,330 | 202 |
Ember-1fireworks/ember-1 | Image inputTool callingReasoningJSON output | 1,048,576 | 1,038,658 | 5,193,290 | 8,102 |
google/gemini-2.5-flash | Image inputTool callingReasoningJSON output | 1,048,576 | 103,866 | 865,548 | 1,260 |
google/gemini-2.5-flash-lite | Image inputTool callingReasoningJSON output | 1,048,576 | 34,622 | 138,488 | 225 |
google/gemini-2.5-pro | Image inputTool callingReasoningJSON output | 1,048,576 | 432,774 | 3,462,194 | 5,063 |
google/gemini-2.5-pro-preview | Image inputTool callingReasoningJSON output | 1,048,576 | 432,774 | 3,462,194 | 5,063 |
google/gemini-3-flash-preview | Image inputTool callingReasoningJSON output | 1,048,576 | 173,110 | 1,038,658 | 1,575 |
google/gemini-3-flash-preview:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 86,555 | 519,329 | 788 |
google/gemini-3.1-flash-lite | Image inputTool callingReasoningJSON output | 1,048,576 | 86,555 | 519,329 | 788 |
google/gemini-3.1-flash-lite-preview | Image inputTool callingReasoningJSON output | 1,048,576 | 86,555 | 519,329 | 788 |
google/gemini-3.1-flash-lite:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 43,277 | 259,665 | 394 |
google/gemini-3.1-pro-preview | Image inputTool callingReasoningJSON output | 1,048,576 | 692,439 | 4,154,632 | 6,301 |
google/gemini-3.1-pro-preview-customtools | Image inputTool callingReasoningJSON output | 1,048,576 | 692,439 | 4,154,632 | 6,301 |
google/gemini-3.1-pro-preview:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 346,219 | 2,077,316 | 3,151 |
google/gemini-3.5-flash | Image inputTool callingReasoningJSON output | 1,048,576 | 519,329 | 3,115,974 | 4,726 |
google/gemini-3.5-flash-lite | Image inputTool callingReasoningJSON output | 1,048,576 | 103,866 | 865,548 | 1,260 |
google/gemini-3.5-flash-lite:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 51,933 | 432,774 | 630 |
google/gemini-3.5-flash:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 259,665 | 1,557,987 | 2,363 |
google/gemini-3.6-flash | Image inputTool callingReasoningJSON output | 1,048,576 | 259,665 | 1,298,323 | 2,025 |
google/gemini-3.6-flash:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 129,832 | 649,161 | 1,013 |
google/gemini-3.7-flash | Image inputTool callingReasoningJSON output | 1,048,576 | 259,665 | 1,298,323 | 2,025 |
google/gemini-3.7-flash:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 129,832 | 649,161 | 1,013 |
google/gemini-3.8-flash | Image inputTool callingReasoningJSON output | 1,048,576 | 259,665 | 1,298,323 | 2,025 |
google/gemini-3.8-flash:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 129,832 | 649,161 | 1,013 |
google/gemini-4-argon | Image inputTool callingReasoningJSON output | 1,048,576 | 692,439 | 3,462,194 | 5,401 |
google/gemini-4-argon:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 346,219 | 1,731,097 | 2,701 |
google/lyria-3-clip-preview | Image inputJSON output | 1,048,576 | 0 | 0 | 0 |
google/lyria-3-pro-preview | Image inputJSON output | 1,048,576 | 0 | 0 | 0 |
meta/muse-spark-1.1 | Image inputTool callingReasoningJSON output | 1,048,576 | 432,774 | 1,471,432 | 2,475 |
meta/muse-spark-1.2 | Image inputTool callingReasoningJSON output | 1,048,576 | 432,774 | 1,471,432 | 2,475 |
meta/muse-spark-1.3 | Image inputTool callingReasoningJSON output | 1,048,576 | 432,774 | 1,471,432 | 2,475 |
meta/muse-spark-open | Image inputTool callingReasoningJSON output | 1,048,576 | 432,774 | 1,471,432 | 2,475 |
meta/muse-wonder | Image inputTool callingReasoningJSON output | 1,048,576 | 1,384,877 | 6,924,387 | 10,802 |
minimax/minimax-m3 | Image inputTool callingReasoningJSON output | 1,048,576 | 103,866 | 415,463 | 675 |
minimax/minimax-m3.1-flash | Image inputTool callingReasoningJSON output | 1,048,576 | 51,933 | 207,732 | 338 |
mistralai/mistral-large-4-0 | Image inputTool callingReasoningJSON output | 1,048,576 | 242,354 | 727,061 | 1,260 |
Kimi K3moonshotai/kimi-k3 | Image inputTool callingReasoningJSON output | 1,048,576 | 66,474 | 5,539,510 | 7,288 |
Kimi K3.1 Promoonshotai/kimi-k3.1-pro | Image inputTool callingReasoningJSON output | 1,048,576 | 692,439 | 3,462,194 | 5,401 |
Kimi K3Batchmoonshotai/kimi-k3:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 789,380 | 3,946,901 | 6,157 |
nvidia/nemotron-3-super-120b-a12b | Tool callingReasoningJSON output | 1,048,576 | 103,866 | 830,926 | 1,215 |
nvidia/nemotron-3.5-super-vl | Image inputTool callingReasoningJSON output | 1,048,576 | 51,933 | 173,110 | 293 |
Particle-1particle-ai/particle-1 | Image inputTool callingReasoningJSON output | 1,048,576 | 17,311 | 173,110 | 248 |
qwen/qwen3.8-2.4t-a95b | Tool callingReasoningJSON output | 1,048,576 | 692,439 | 2,077,316 | 3,601 |
Beam 1.0 501B A23Breflection/beam-1.0-501b-a23b | Tool callingReasoningJSON output | 1,048,576 | 86,555 | 346,219 | 563 |
ricursiveAI/Ripple-65B-Previewricursiveai/ripple-65b-preview | Tool callingJSON output | 1,048,576 | 69,244 | 207,732 | 360 |
Crouton Alphastealth/crouton-alpha | Image inputTool callingReasoningJSON output | 1,048,576 | 0 | 0 | 0 |
stepfun/step-5-preview | Image inputTool callingReasoningJSON output | 1,048,576 | 346,219 | 934,792 | 1,665 |
tencent/hy4 | Image inputTool callingReasoningJSON output | 1,048,576 | 144,373 | 432,947 | 751 |
tencent/hy4-preview | Tool callingReasoningJSON output | 1,048,576 | 288,747 | 865,895 | 1,501 |
Pareto 26.10unbiased/pareto-26.10 | Image inputTool calling | 1,048,576 | 276,975 | 1,107,902 | 1,800 |
MiMo-V2.6-Pro-UltraSpeedxiaomi/mimo-v2.6-pro-ultraspeed | Image inputTool callingReasoningJSON output | 1,048,576 | 1,506,054 | 3,012,108 | 5,874 |
GLM 5.2z-ai/glm-5.2 | Tool callingReasoningJSON output | 1,048,576 | 2,077 | 2,354,292 | 3,063 |
GLM 5.3z-ai/glm-5.3 | Tool callingReasoningJSON output | 1,048,576 | 24,201 | 484,707 | 662 |
GLM 5.3 Flashz-ai/glm-5.3-flash | Image inputTool callingReasoningJSON output | 1,048,576 | 51,933 | 173,110 | 293 |
GLM 5.3 FlashBatchz-ai/glm-5.3-flash:batch | Image inputTool callingReasoningJSON output | 1,048,576 | 17,311 | 62,319 | 104 |
GLM 5.3 FlashXz-ai/glm-5.3-flashx | Image inputTool callingReasoningJSON output | 1,048,576 | 128,101 | 432,774 | 729 |
GLM 5.3 FlashX Legalz-ai/glm-5.3-flashx-legal | Image inputTool callingReasoningJSON output | 1,048,576 | 128,101 | 432,774 | 729 |
GLM 5.3Batchz-ai/glm-5.3:batch | Tool callingReasoningJSON output | 1,048,576 | 155,799 | 692,439 | 1,103 |
~deepseek/deepseek-flash-latest | Image inputTool callingReasoningJSON output | 1,048,576 | 2,077 | 173,110 | 228 |
~deepseek/deepseek-pro-latest | Tool callingReasoningJSON output | 1,048,576 | 32,095 | 2,769,755 | 3,642 |
~deepseek/deepseek-v4-flash-latest | Tool callingReasoningJSON output | 1,048,576 | 20,427 | 103,866 | 162 |
~google/gemini-flash-latest | Image inputTool callingReasoningJSON output | 1,048,576 | 259,665 | 1,298,323 | 2,025 |
~google/gemini-pro-latest | Image inputTool callingReasoningJSON output | 1,048,576 | 692,439 | 3,462,194 | 5,401 |
KimiLatest~moonshotai/kimi-latest | Image inputTool callingReasoningJSON output | 1,048,576 | 53,941 | 3,651,852 | 4,818 |
ParetoLatest~unbiased/pareto-latest | Image inputTool calling | 1,048,576 | 276,975 | 1,107,902 | 1,800 |
GLM FlashLatest~z-ai/glm-flash-latest | Image inputTool callingReasoningJSON output | 1,048,576 | 9,867 | 31,956 | 54 |
GLMLatest~z-ai/glm-latest | Tool callingReasoningJSON output | 1,048,576 | 24,201 | 484,707 | 662 |
Showing the first 120. For finer filters see the full catalogue .