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
    Lounge Plan
    Capabilities
    Provider
    Status
    Input Price ($/M tokens)
    Output Price ($/M tokens)
    Context Size (tokens)
    180/344
    Models
    38/50
    Providers
    146
    Vision Models (filtered)
    172
    Tool-enabled (filtered)
    0
    Free Models (filtered)
    821 provider offers · page 15 of 17
    Features
    Alibaba Cloud(us-virginia)
    qwen3-vl-plus
    $0.14$1.43$0.03
    Alibaba Cloud
    qwen3-coder-flash
    $0.30$1.50$0.06
    Alibaba Cloud(cn-beijing)
    qwen3-coder-flash
    $0.14$0.57$0.03
    Alibaba Cloud(eu-frankfurt)
    qwen3-coder-flash
    $0.14$0.57$0.03
    Alibaba Cloud(singapore)
    qwen3-coder-flash
    $0.30$1.50$0.06
    Alibaba Cloud(us-virginia)
    qwen3-coder-flash
    $0.14$0.57$0.03
    Alibaba Cloud
    qwen35-397b-a17b
    $0.60$3.60—
    Alibaba Cloud(cn-beijing)
    qwen35-397b-a17b
    $0.17$1.03—
    Alibaba Cloud(eu-frankfurt)
    qwen35-397b-a17b
    $0.17$1.03—
    Alibaba Cloud(singapore)
    qwen35-397b-a17b
    $0.60$3.60—
    Alibaba Cloud(us-virginia)
    qwen35-397b-a17b
    $0.17$1.03—
    NovitaAI
    qwen35-397b-a17b
    $0.60$3.60—
    NovitaAI(us-west)
    qwen35-397b-a17b
    $0.60$3.60—
    DeepInfra
    qwen3-vl-30b-a3b-instruct
    $0.15$0.60—
    Alibaba Cloud
    qwen-flash
    $0.05$0.40$0.01
    Alibaba Cloud(cn-beijing)
    qwen-flash
    $0.02$0.22$0.00
    Alibaba Cloud(eu-frankfurt)
    qwen-flash
    $0.02$0.22$0.00
    Alibaba Cloud(singapore)
    qwen-flash
    $0.05$0.40$0.01
    Alibaba Cloud(us-virginia)
    qwen-flash
    $0.05$0.40$0.01
    Alibaba Cloud
    qwen-plus-latest
    $0.40$1.20$0.08
    Alibaba Cloud(cn-beijing)
    qwen-plus-latest
    $0.11$0.29$0.02
    Alibaba Cloud(singapore)
    qwen-plus-latest
    $0.40$1.20$0.08
    Alibaba Cloud
    kimi-k2.5
    $0.57$3.01—
    Alibaba Cloud(ap-tokyo)
    kimi-k2.5
    $0.57$3.01—
    Alibaba Cloud(cn-beijing)
    kimi-k2.5
    $0.57$3.01—
    Alibaba Cloud(eu-frankfurt)
    kimi-k2.5
    $0.57$3.01—
    Alibaba Cloud(us-virginia)
    kimi-k2.5
    $0.57$3.01—
    Moonshot AI
    kimi-k2.5
    $0.60$3.00$0.10
    MiniMax
    minimax-text-01
    $0.20$1.10—
    MiniMax
    minimax-m2.5
    $0.30$1.20$0.03
    NovitaAI
    minimax-m2.5
    $0.30$1.20$0.03
    NovitaAI(us-west)
    minimax-m2.5
    $0.30$1.20$0.03
    Mistral AI
    devstral-2512
    $0.40$2.00—
    Mistral AI
    codestral-2508
    $0.30$0.90—
    Mistral AI
    ministral-8b-2512
    $0.15$0.15—
    Mistral AI
    ministral-14b-2512
    $0.20$0.20—
    Mistral AI
    mistral-large-2512
    $0.50$1.50—
    NovitaAI
    llama-4-maverick-17b-instruct
    $0.27$0.85—
    NovitaAI(us-west)
    llama-4-maverick-17b-instruct
    $0.27$0.85—
    xAI
    grok-4Plus: needs a Lounge Plus or Pro membership
    $3.00$15.00$0.75
    Google AI Studio
    gemini-3-flash-previewPlus: needs a Lounge Plus or Pro membership
    $0.50$3.00$0.05
    Google Vertex AI
    gemini-3-flash-previewPlus: needs a Lounge Plus or Pro membership
    $0.50$3.00$0.05
    Tu-Zi
    gemini-3-flash-previewPlus: needs a Lounge Plus or Pro membership
    $0.50$0.10
    -80% off
    $3.00$0.60
    -80% off
    $0.05$0.01
    -80% off
    Google AI Studio
    gemini-3.1-pro-previewPlus: needs a Lounge Plus or Pro membership
    $2.00$12.00$0.20
    Google Vertex AI
    gemini-3.1-pro-previewPlus: needs a Lounge Plus or Pro membership
    $2.00$12.00$0.20
    Quartz
    gemini-3.1-pro-previewPlus: needs a Lounge Plus or Pro membership
    $2.00$12.00$0.20
    Tu-Zi
    gemini-2.5-proPlus: needs a Lounge Plus or Pro membership
    $1.25$0.25
    -80% off
    $10.00$2.00
    -80% off
    $0.13$0.02
    -80% off
    Anthropic
    claude-opus-4-6Plus: needs a Lounge Plus or Pro membership
    $5.00$25.00$0.50
    AWS Bedrock
    claude-opus-4-6Plus: needs a Lounge Plus or Pro membership
    $5.00$25.00$0.50
    AWS Bedrock(au)
    claude-opus-4-6Plus: needs a Lounge Plus or Pro membership
    $5.50$27.50$0.55
    Page 15 of 17

    Long Context Models, ranked by real usage

    The most-used models in this category by tokens routed through LLM Gateway over the last 30 days. Usage shows what developers run in production; it is not a quality benchmark.

    1. 1GPT-6 Astra11.4B tokens
    2. 2GPT-6.2 Astra4.9B tokens
    3. 3GPT-6.1 Sol3.7B tokens
    4. 4GPT-6.2 Sol3.3B tokens
    5. 5Claude Fable 5.22.7B tokens
    6. 6Gemini 3.8 Flash847.5M tokens
    7. 7Seed 2.0 Mini (260428)846.3M tokens
    8. 8GPT-6 Luna690.4M tokens
    9. 9Seed 2.1 Pro (260628)37.7M tokens
    10. 10GPT-6.1 Terra32.5M tokens

    Usage data as of November 27, 2026

    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.

    • Models
    • Docs
    • Pricing
    • Enterprise
    • Enterprise
    • Pricing
    • Docs
    • Models
      • AI Gateway
      • DevPass
      • Lounge
      • Observability
      • Image Generation
      • Blog
      • Changelog
      • Integrations
      • Reliability
      • Features
      • Guardrails
      • Providers
      • Partners
      • Rankings
      • Apps
      • Models
      • Model Timeline
      • Compare
      • Token Cost Calculator
      • Savings Audit
      • State of LLM Usage
      • Referral Program
      • MCP Server
      • CLI
      • Agents
      • AI SDK Provider
      • Agent Skills
      • Templates
      • Guides
    Log InBook a demoGet Started
    1.8k