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
    OpenAI
    gpt-5.4
    $2.50$15.00$0.25
    Azure
    gpt-5.4
    $2.50$15.00$0.25

    S

    GapGPT
    gpt-5.4
    $2.50$15.00$0.25

    S

    AvalAI
    gpt-5.4
    $2.50$15.00$0.25

    S

    OpenRouter
    gpt-5.4
    $2.50$15.00$0.25

    S

    Metis
    gpt-5.4
    $2.50$15.00$0.25
    Azure
    o4-mini
    $1.10$4.40$0.28

    S

    AvalAI
    o4-mini
    $1.10$4.40$0.55

    S

    OpenRouter
    o4-mini
    $1.10$4.40$0.28
    OpenAI
    o4-mini
    $1.10$4.40$0.28
    AWS Bedrock
    claude-opus-4-6
    $5.00$25.00$0.50

    S

    AvalAI
    claude-opus-4-6
    $5.00$25.00$1.50
    AWS Bedrock(eu-west-2)
    claude-opus-4-6
    $5.50$27.50$0.55

    S

    GapGPT
    claude-opus-4-6
    $5.00$25.00$0.50

    S

    OpenRouter
    claude-opus-4-6
    $5.00$25.00$0.50
    AWS Bedrock(us)
    claude-opus-4-6
    $5.50$27.50$0.55
    AWS Bedrock(eu)
    claude-opus-4-6
    $5.50$27.50$0.55
    AWS Bedrock(au)
    claude-opus-4-6
    $5.50$27.50$0.55
    AWS Bedrock(global)
    claude-opus-4-6
    $5.00$25.00$0.50
    Vertex AI (Anthropic)
    claude-opus-4-6
    $5.00$25.00$0.50
    Anthropic
    claude-opus-4-6
    $5.00$25.00$0.50
    Z AI
    glm-4.6
    $0.60$2.20$0.11
    NovitaAI
    glm-4.6
    $0.55$2.20$0.11

    S

    OpenRouter
    glm-4.6
    $0.50$2.00$0.10

    S

    OpenRouter
    glm-4.7-flash
    $0.06$0.40—
    EmberCloud
    glm-4.7-flash
    $0.06$0.40$0.01
    Z AI
    glm-4.7-flashx
    $0.07$0.40$0.01

    S

    OpenRouter
    glm-4.7
    $0.40$1.75$0.08
    ByteDance
    glm-4.7
    $0.60$2.20$0.11
    Cerebras
    glm-4.7
    $2.25$2.75—
    Vertex AI (OpenAI-compatible)
    glm-4.7
    $0.60$2.20—
    Z AI
    glm-4.7
    $0.60$2.20$0.11
    Together AI
    glm-4.7
    $0.45$2.00—
    EmberCloud
    glm-4.7
    $0.38$1.98$0.19

    S

    Hormouz
    glm-4.7
    $0.60$2.20$0.11

    S

    Metis
    glm-4.7
    $0.60$2.20$0.11
    NovitaAI
    glm-4.7
    $0.60$2.20$0.11
    ByteDance
    seed-1-8-251228
    $0.25$2.00$0.05
    ByteDance
    seed-1-6-flash-250715
    $0.07$0.30$0.01
    ByteDance
    seed-1-6-250915
    $0.25$2.00$0.05
    ByteDance
    seed-1-6-250615
    $0.25$2.00$0.05

    S

    AvalAI
    qwen3-max-2026-01-23
    $1.20$6.00$0.10
    DeepInfra
    qwen3-vl-235b-a22b-instruct
    $0.20$0.88$0.11

    S

    OpenRouter
    qwen3-vl-235b-a22b-instruct
    $0.21$1.90$0.10
    NovitaAI
    qwen3-vl-235b-a22b-instruct
    $0.30$1.50—

    S

    AvalAI
    qwen3-vl-flash
    $0.05$0.40$0.01
    Alibaba Cloud
    qwen3-vl-flash
    $0.05$0.40$0.01
    Alibaba Cloud(cn-beijing)
    qwen3-vl-flash
    $0.02$0.21$0.00
    Alibaba Cloud(us-virginia)
    qwen3-vl-flash
    $0.02$0.21$0.00
    Alibaba Cloud(singapore)
    qwen3-vl-flash
    $0.05$0.40$0.01
    Page 9 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