Long Context Models

    Models with context windows of 200K tokens or more — up to 2M — for whole-codebase and multi-document workloads

    Compare
    Use Case
    Capabilities
    Provider
    Status
    Input Price ($/M tokens)
    Output Price ($/M tokens)
    Context Size (tokens)
    162
    Models
    59
    Providers
    114
    Vision Models
    160
    Tool-enabled
    0
    Free Models
    Features
    AWS Bedrock
    claude-sonnet-5
    $2.00$10.00$0.20

    S

    AvalAI
    claude-sonnet-5
    $3.00$15.00$0.30
    Vertex AI (Anthropic)
    claude-sonnet-5
    $2.00$10.00$0.20

    S

    OpenRouter
    claude-sonnet-5
    $2.00$10.00$0.20

    S

    AvalAI
    claude-fable-5
    $10.00$50.00$1.00
    AWS Bedrock(global)
    claude-fable-5
    $10.00$50.00$1.00
    AWS Bedrock
    claude-fable-5
    $10.00$50.00$1.00
    AWS Bedrock(us)
    claude-fable-5
    $11.00$55.00$1.10

    S

    OpenRouter
    claude-fable-5
    $10.00$50.00$1.00
    Anthropic
    claude-fable-5
    $10.00$50.00$1.00

    S

    GapGPT
    claude-fable-5
    $10.00$50.00$1.00
    AWS Mantle
    gpt-5.6-luna
    $0.22$1.32$0.02
    Azure
    gpt-5.6-luna
    $0.20$1.20$0.02
    AWS Mantle(us-east-2)
    gpt-5.6-luna
    $0.22$1.32$0.02
    AWS Mantle(us-west-2)
    gpt-5.6-luna
    $0.22$1.32$0.02
    AWS Mantle(us-east-1)
    gpt-5.6-luna
    $0.22$1.32$0.02

    S

    GapGPT
    gpt-5.6-luna
    $1.00$6.00$0.10

    S

    OpenRouter
    gpt-5.6-luna
    $1.00$6.00$0.10
    OpenAI
    gpt-5.6-luna
    $0.20$1.20$0.02

    S

    AvalAI
    gpt-5.6-luna
    $1.00$6.00$0.10
    Azure
    gpt-5.6-terra
    $2.00$12.00$0.20
    AWS Mantle
    gpt-5.6-terra
    $2.20$13.20$0.22
    OpenAI
    gpt-5.6-terra
    $2.00$12.00$0.20
    AWS Mantle(us-east-1)
    gpt-5.6-terra
    $2.20$13.20$0.22
    AWS Mantle(us-west-2)
    gpt-5.6-terra
    $2.20$13.20$0.22
    AWS Mantle(us-east-2)
    gpt-5.6-terra
    $2.20$13.20$0.22

    S

    AvalAI
    gpt-5.6-terra
    $2.50$15.00$0.25

    S

    GapGPT
    gpt-5.6-terra
    $2.50$15.00$0.25

    S

    OpenRouter
    gpt-5.6-terra
    $2.50$15.00$0.25
    AWS Mantle
    gpt-5.6-sol
    $5.50$33.00$0.55

    S

    OpenRouter
    gpt-5.6-sol
    $5.00$30.00$0.50
    Azure
    gpt-5.6-sol
    $5.00$30.00$0.50
    AWS Mantle(us-east-1)
    gpt-5.6-sol
    $5.50$33.00$0.55
    AWS Mantle(us-east-2)
    gpt-5.6-sol
    $5.50$33.00$0.55
    OpenAI
    gpt-5.6-sol
    $5.00$30.00$0.50

    S

    GapGPT
    gpt-5.6-sol
    $5.00$30.00$0.50

    S

    AvalAI
    gpt-5.6-sol
    $5.00$30.00$0.50

    S

    GapGPT
    gemini-3.5-flash
    $1.50$9.00—
    Google AI Studio
    gemini-3.5-flash
    $1.50$9.00$0.15

    S

    OpenRouter
    gemini-3.5-flash
    $1.50$9.00$0.15

    S

    AvalAI
    gemini-3.5-flash
    $1.50$9.00$0.25
    Google Vertex AI
    gemini-3.5-flash
    $1.50$9.00$0.15
    Xiaomi
    mimo-v2.5
    $0.14$0.28$0.00

    S

    OpenRouter
    mimo-v2.5
    $0.14$0.28$0.00
    Xiaomi
    mimo-v2.5-pro
    $0.43$0.87$0.00

    S

    OpenRouter
    mimo-v2.5-pro
    $0.43$0.87$0.00

    S

    AvalAI
    grok-4-20-non-reasoning
    $2.00$6.00$0.20
    Vertex AI (OpenAI-compatible)
    grok-4-20-non-reasoning
    $1.25$2.50$0.20
    Vertex AI (OpenAI-compatible)
    grok-4-20-reasoning
    $1.25$2.50$0.20

    S

    AvalAI
    grok-4-20-reasoning
    $2.00$6.00$0.20
    Page 4 of 15

    Newsletter

    Stay ahead of the curve

    Join developers who get weekly insights on LLM routing, new model launches, and cost optimization — straight to their inbox.

    • New models & providers as they drop
    • Tips to cut latency & costs
    • Early access to beta features

    No spam. Unsubscribe anytime.

    S

    SOLOP
    All systems operational
    AICPA SOC for Service Organizations badgeSOC 2 Type II
    compliant

    Product

    • Features
    • AI Gateway
    • Observability
    • Models
    • Providers
    • Rankings
    • Add Provider
    • Lounge
    • Changelog
    • DevPass
    • Compare Models
    • Enterprise

    Resources

    • Apps
    • Templates
    • Agents
    • MCP Server
    • Use Cases
    • Blog
    • Documentation
    • Integrations
    • Guides
    • Brand Assets
    • Token Cost Calculator
    • Copilot Cost Calculator
    • Referral Program
    • GitHub
    • Discord
    • Twitter
    • Contact Us

    Compliance

    • Trust Center
    • Security Portal
    • Terms
    • Privacy Policy
    • GDPR
    • SOC 2 Type II
    • Status

    Compare

    • All Comparisons
    • GitHub Copilot
    • OpenRouter
    • LiteLLM
    • Portkey
    • AWS Bedrock
    • Azure AI Foundry
    • Vercel AI Gateway
    • Migration Guides

    Models

    • Text Generation
    • Text to Image
    • Image to Image
    • Video Generation
    • Embeddings
    • Vision
    • Reasoning
    • Tool Calling
    • Web Search
    • Discounted
    • Best for Roleplay
    • Best for Coding
    • Best for Creative Writing
    • Best for Translation
    • Best for Math
    • Long Context
    • Cheapest
    • Open Source

    Providers

    • OpenAI
    • Anthropic
    • Google AI Studio
    • Glacier
    • Iceberg
    • Granite
    • Google Vertex AI
    • Vertex AI (OpenAI-compatible)
    • Vertex AI (Anthropic)
    • Quartz
    • Avalanche
    • Obsidian
    • Groq
    • Cerebras
    • xAI
    • DeepSeek
    • Alibaba Cloud
    • NovitaAI
    • AtlasCloud
    • AWS Bedrock
    • AWS Mantle
    • Azure
    • Azure AI Foundry
    • Z AI
    • Moonshot AI
    • Perplexity
    • Nebius AI
    • Mistral AI
    • CanopyWave
    • Inference.net
    • Together AI
    • SCX.ai (Turbo)
    • SCX.ai
    • Custom
    • RouteWay
    • CloudRift
    • NanoGPT
    • ByteDance
    • MiniMax
    • OpenRouter
    • EmberCloud
    • Meta
    • Sakana AI
    • Tundra
    • Bluestone
    • Xiaomi
    • AvalAI
    • Hormouz
    • Metis
    • GapGPT
    • DeepInfra
    • Reve
    • ElevenLabs
    • Runware
    • Gonka24
    • Fireworks AI
    • RanoAI

    © 2026 SOLOP. All rights reserved.

    Every model on this page accepts at least 200,000 tokens of context — roughly 150,000 words — and the largest stretch much further: Grok 4.1 Fast at 2 million tokens, with Gemini, Claude Sonnet 5, GPT-5.4, DeepSeek V4, and GLM-5.2 at or above the million-token mark. That's enough to fit an entire codebase, a legal document set, or months of chat history into a single prompt.

    Advertised size isn't everything: retrieval quality can degrade well before the window is full, and long prompts get expensive fast. Cached input pricing — shown in the list — matters more than the headline price when you re-send large contexts on every request.

    Frequently asked questions

    Which LLM has the largest context window?

    Grok 4.1 Fast currently leads with a 2 million token window. Gemini models run just over 1 million, and Claude Sonnet 5, GPT-5.4, DeepSeek V4, GLM-5.2, and Qwen3.7 also offer million-token windows.

    How many words fit in a 200K context window?

    Roughly 150,000 English words — about 600 pages. A million-token window fits around 750,000 words: several full-length books, or a mid-sized codebase.

    Do models actually use the full window well?

    Not uniformly. Most models recall the start and end of a prompt better than the middle, and effective context is often smaller than the advertised maximum. For critical retrieval over huge inputs, test with your own data and consider chunking plus retrieval instead of one giant prompt.

    How do I keep long-context costs down?

    Use cached input pricing: providers charge a fraction of the normal rate for re-sent, unchanged prefixes, which is exactly the shape of chatting over a large document or codebase. Structure prompts so the big static context comes first and only the question changes.

    S

    LLM Gateway
    • DevPass
    • Lounge
    • Models
    • Docs
    • Pricing
    • DevPass
    • Lounge
    • Pricing
    • Docs
    • Models
      • AI Gateway
      • DevPass
      • Lounge
      • Observability
      • Enterprise
      • Blog
      • Changelog
      • Integrations
      • Reliability
      • Guardrails
      • Providers
      • Rankings
      • Apps
      • Models
      • Model Timeline
      • Compare
      • Token Cost Calculator
      • Referral Program
      • MCP Server
      • Agents
      • AI SDK Provider
      • Agent Skills
      • Templates
      • Guides
    Log InGet Started
    1.6k