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)
    172/328
    Models
    34/44
    Providers
    139
    Vision Models (filtered)
    164
    Tool-enabled (filtered)
    0
    Free Models (filtered)
    653 provider offers · page 1 of 14
    Features
    Mistral AI
    codestral-3
    $0.90$0.85
    -5% off
    $3.00$2.85
    -5% off
    —
    DeepInfra
    inkling-2-mini
    $0.07$0.30$0.01
    Alibaba Cloud
    kimi-k3.1-pro-primePlus: needs a Lounge Plus or Pro membership
    $4.00$20.00$0.20
    Alibaba Cloud(cn-beijing)
    kimi-k3.1-pro-primePlus: needs a Lounge Plus or Pro membership
    $3.67$19.22$0.18
    Alibaba Cloud(singapore)
    kimi-k3.1-pro-primePlus: needs a Lounge Plus or Pro membership
    $4.00$20.00$0.20
    Google AI Studio
    gemini-4-neonPlus: needs a Lounge Plus or Pro membership
    $3.00$15.00$0.15
    Google Vertex AI
    gemini-4-neonPlus: needs a Lounge Plus or Pro membership
    $3.00$15.00$0.15
    AWS Bedrock (OpenAI)
    gpt-6.2-astraPlus: needs a Lounge Plus or Pro membership
    $8.00$40.00$0.40
    AWS Bedrock (OpenAI)(global)
    gpt-6.2-astraPlus: needs a Lounge Plus or Pro membership
    $8.00$40.00$0.40
    AWS Bedrock (OpenAI)(us)
    gpt-6.2-astraPlus: needs a Lounge Plus or Pro membership
    $8.80$44.00$0.44
    AWS Bedrock (OpenAI)(us-east-1)
    gpt-6.2-astraPlus: needs a Lounge Plus or Pro membership
    $8.80$44.00$0.44
    Azure
    gpt-6.2-astraPlus: needs a Lounge Plus or Pro membership
    $8.00$40.00$0.40
    OpenAI
    gpt-6.2-astraPlus: needs a Lounge Plus or Pro membership
    $8.00$7.20
    -10% off
    $40.00$36.00
    -10% off
    $0.40$0.36
    -10% off
    AWS Bedrock (OpenAI)
    gpt-6.2-sol
    $2.00$10.00$0.10
    AWS Bedrock (OpenAI)(global)
    gpt-6.2-sol
    $2.00$10.00$0.10
    AWS Bedrock (OpenAI)(us)
    gpt-6.2-sol
    $2.20$11.00$0.11
    AWS Bedrock (OpenAI)(us-east-1)
    gpt-6.2-sol
    $2.20$11.00$0.11
    Azure
    gpt-6.2-sol
    $2.00$10.00$0.10
    OpenAI
    gpt-6.2-sol
    $2.00$1.80
    -10% off
    $10.00$9.00
    -10% off
    $0.10$0.09
    -10% off
    DeepInfra
    hy4-flash
    $0.07$0.28$0.00
    Tencent Cloud
    hy4-flash
    $0.07$0.28$0.00
    Alibaba Cloud
    qwen4-max
    $1.50$4.50$0.07
    Alibaba Cloud(ap-tokyo)
    qwen4-max
    $1.41$4.24$0.07
    Alibaba Cloud(cn-beijing)
    qwen4-max
    $1.41$4.24$0.07
    Alibaba Cloud(eu-frankfurt)
    qwen4-max
    $1.41$4.24$0.07
    Alibaba Cloud(singapore)
    qwen4-max
    $1.50$4.50$0.07
    Alibaba Cloud(us-virginia)
    qwen4-max
    $1.41$4.24$0.07
    Google AI Studio
    gemini-4-hydrogenPlus: needs a Lounge Plus or Pro membership
    $1.50$7.50$0.07
    Google Vertex AI
    gemini-4-hydrogenPlus: needs a Lounge Plus or Pro membership
    $1.50$7.50$0.07
    Google AI Studio
    gemini-4-carbonPlus: needs a Lounge Plus or Pro membership
    $4.00$20.00$0.20
    Google Vertex AI
    gemini-4-carbonPlus: needs a Lounge Plus or Pro membership
    $4.00$20.00$0.20
    Meta
    muse-ember-1.0
    $0.10$0.50$0.00
    Anthropic
    claude-fable-5-2Plus: needs a Lounge Plus or Pro membership
    $8.00$7.60
    -5% off
    $40.00$38.00
    -5% off
    $0.20$0.19
    -5% off
    AWS Bedrock
    claude-fable-5-2Plus: needs a Lounge Plus or Pro membership
    $8.00$40.00$0.20
    AWS Bedrock(global)
    claude-fable-5-2Plus: needs a Lounge Plus or Pro membership
    $8.00$40.00$0.20
    AWS Bedrock(us)
    claude-fable-5-2Plus: needs a Lounge Plus or Pro membership
    $8.80$44.00$0.22
    Vertex AI (Anthropic)
    claude-fable-5-2Plus: needs a Lounge Plus or Pro membership
    $8.00$40.00$0.20
    DeepInfra
    hy4
    $0.83$2.50$0.04
    Tencent Cloud
    hy4
    $0.83$2.50$0.04
    Together AI
    hy4
    $0.83$2.50$0.04
    Inference.net
    deepseek-v4.1-flash-cyber
    $0.30$1.00$0.01
    Alibaba Cloud
    kimi-k3.1-pro
    $2.00$10.00$0.20
    Alibaba Cloud(ap-tokyo)
    kimi-k3.1-pro
    $1.84$9.61$0.18
    Alibaba Cloud(cn-beijing)
    kimi-k3.1-pro
    $1.84$9.61$0.18
    Alibaba Cloud(eu-frankfurt)
    kimi-k3.1-pro
    $1.84$9.61$0.18
    Alibaba Cloud(singapore)
    kimi-k3.1-pro
    $2.00$10.00$0.20
    Alibaba Cloud(us-virginia)
    kimi-k3.1-pro
    $2.00$10.00$0.20
    Fireworks AI
    kimi-k3.1-pro
    $2.00$10.00$0.20
    Inference.net
    kimi-k3.1-pro
    $2.00$10.00$0.20
    Moonshot AI
    kimi-k3.1-pro
    $2.00$10.00$0.20
    Page 1 of 14

    Newsletter

    Stay ahead of the curve

    Insights on LLM routing, new model launches and cost optimization, sent to your inbox.

    • New models and providers, rounded up
    • Tips to cut LLM costs
    • Major product launches

    No spam. Unsubscribe anytime.

    System status
    AICPA SOC for Service Organizations badgeSOC 2 Type II
    compliant

    Product

  1. Features
  2. AI Gateway
  3. Observability
  4. Image Generation
  5. Models
  6. Providers
  7. Provider status
  8. Rankings
  9. State of LLM Usage
  10. Add Provider
  11. Partners
  12. Lounge
  13. Changelog
  14. DevPass
  15. Compare Models
  16. Enterprise
  17. Resources

    • Legal Overview
    • Apps
    • Templates
    • Agents
    • MCP Server
    • Use Cases
    • Blog
    • Documentation
    • Developer resources
    • Integrations
    • Guides
    • Brand Assets
    • Token Cost Calculator
    • Copilot Cost Calculator
    • Token Counter
    • Context Window Checker
    • Glossary
    • Savings Audit
    • Status & Pricing Badges
    • Referral Program
    • GitHub
    • Discord
    • Twitter
    • About
    • Contact Us

    Compliance

    • Trust Center
    • Security Portal
    • Terms
    • Privacy Policy
    • Provider Information
    • Sub-processors
    • SOC 2 Type II
    • Status

    Compare

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

    Models

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

    Providers

    • fal
    • OpenAI
    • Anthropic
    • Google AI Studio
    • Google Vertex AI
    • Vertex AI (OpenAI-compatible)
    • Vertex AI (Anthropic)
    • Groq
    • Cerebras
    • xAI
    • DeepSeek
    • Alibaba Cloud
    • Runpod
    • NovitaAI
    • AtlasCloud
    • AWS Bedrock
    • AWS Bedrock (OpenAI)
    • Azure
    • Azure Anthropic
    • Z AI
    • Moonshot AI
    • Baidu
    • Perplexity
    • Nebius AI
    • Mistral AI
    • CanopyWave
    • Inference.net
    • Together AI
    • ByteDance
    • MiniMax
    • Meta
    • Meta Contributor
    • Sakana AI
    • Xiaomi
    • DeepInfra
    • ElevenLabs
    • Fireworks AI
    • Tencent Cloud
    • TypeSafe AI
    • Cloudflare

    © 2026 LLM Gateway. All rights reserved.

    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-4.1 Nano308.6M tokens
    2. 2GPT-5 Mini224.2M tokens
    3. 3o3222.9M tokens
    4. 4GPT-4.1189.2M tokens
    5. 5GPT-5.2177.5M tokens
    6. 6o3 Mini165.3M tokens
    7. 7GPT-5 Nano163.2M tokens
    8. 8GPT-5.5147.3M tokens
    9. 9o1139.4M tokens
    10. 10GPT-5.2 Pro131.1M tokens

    Usage data as of November 26, 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