Support

AI-powered help

Welcome!

Please introduce yourself before we start.

    PassingRight
    • Models
    • Pricing
    • Docs
    • PassingRight Chat
    • Models
    • Pricing
    • Docs
    • PassingRight Chat
    Log inGet an API key

    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)
    157/283
    Models
    42/55
    Providers
    114
    Vision Models (filtered)
    147
    Tool-enabled (filtered)
    1
    Free Models (filtered)
    Features
    xAI
    grok-4-20-beta-0309-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
    Azure
    gpt-5.4
    $2.50$15.00$0.25
    OpenAI
    gpt-5.4
    $2.50$2.25
    -10% off
    $15.00$13.50
    -10% off
    $0.25$0.23
    -10% off
    OpenAI
    gpt-5.4-pro
    $30.00$27.00
    -10% off
    $180.00$162.00
    -10% off
    —
    Azure
    gpt-5.4-pro
    $30.00$180.00—
    Google AI Studio
    gemini-pro-latest
    $2.00$12.00$0.20
    OpenAI
    gpt-5.3-codex
    $1.75$1.57
    -10% off
    $14.00$12.60
    -10% off
    $0.17$0.16
    -10% off
    Azure
    gpt-5.3-codex
    $1.75$14.00$0.17
    Quartz
    gemini-3.1-pro-preview
    $2.00$12.00$0.20
    Google Vertex AI
    gemini-3.1-pro-preview
    $2.00$12.00$0.20
    Google AI Studio
    gemini-3.1-pro-preview
    $2.00$12.00$0.20
    AWS Bedrock(eu-west-2)
    claude-sonnet-4-6
    $3.30$16.50$0.33
    AWS Bedrock(jp)
    claude-sonnet-4-6
    $3.30$16.50$0.33
    AWS Bedrock(au)
    claude-sonnet-4-6
    $3.30$16.50$0.33
    AWS Bedrock(eu)
    claude-sonnet-4-6
    $3.30$16.50$0.33
    AWS Bedrock(us)
    claude-sonnet-4-6
    $3.30$16.50$0.33
    AWS Bedrock(global)
    claude-sonnet-4-6
    $3.00$15.00$0.30
    Anthropic
    claude-sonnet-4-6
    $3.00$2.85
    -5% off
    $15.00$14.25
    -5% off
    $0.30$0.28
    -5% off
    Vertex AI (Anthropic)
    claude-sonnet-4-6
    $3.00$15.00$0.30
    AWS Bedrock
    claude-sonnet-4-6
    $3.00$15.00$0.30
    Alibaba Cloud(cn-beijing)
    qwen35-397b-a17b
    $0.17$1.03—
    Alibaba Cloud(us-virginia)
    qwen35-397b-a17b
    $0.60$3.60—
    Alibaba Cloud(singapore)
    qwen35-397b-a17b
    $0.60$3.60—
    NovitaAI
    qwen35-397b-a17b
    $0.60$3.60—
    Alibaba Cloud
    qwen35-397b-a17b
    $0.60$3.60—
    Alibaba Cloud(cn-beijing)
    glm-5
    $0.57$2.58—
    Tencent Cloud
    glm-5
    $1.00$3.20$0.20
    Baidu
    glm-5
    $1.00$3.20$0.20
    Z AI
    glm-5
    $1.00$3.20$0.20
    EmberCloud
    glm-5
    $0.72$2.30$0.14
    Alibaba Cloud
    glm-5
    $0.57$2.58—
    Vertex AI (OpenAI-compatible)
    glm-5
    $1.00$3.20$0.10
    NovitaAI
    glm-5
    $1.00$3.20$0.20
    MiniMax
    minimax-m2.5
    $0.30$1.20$0.03
    NovitaAI
    minimax-m2.5
    $0.30$1.20$0.03
    MiniMax
    minimax-m2.5-highspeed
    $0.60$2.40$0.03
    AWS Bedrock(eu-west-2)
    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(eu)
    claude-opus-4-6
    $5.50$27.50$0.55
    AWS Bedrock(us)
    claude-opus-4-6
    $5.50$27.50$0.55
    AWS Bedrock(global)
    claude-opus-4-6
    $5.00$25.00$0.50
    Azure Anthropic
    claude-opus-4-6
    $5.00$25.00$0.50
    Vertex AI (Anthropic)
    claude-opus-4-6
    $5.00$25.00$0.50
    AWS Bedrock
    claude-opus-4-6
    $5.00$25.00$0.50
    Anthropic
    claude-opus-4-6
    $5.00$4.75
    -5% off
    $25.00$23.75
    -5% off
    $0.50$0.47
    -5% off
    EmberCloud
    qwen3-coder-next
    $0.11$0.68$0.06
    Alibaba Cloud(cn-beijing)
    kimi-k2.5
    $0.57$3.01—
    Alibaba Cloud(us-virginia)
    kimi-k2.5
    $0.57$3.01—
    Page 7 of 10

    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.

    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.

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

    Product

    • Features
    • AI Gateway
    • Observability
    • Models
    • Providers
    • Rankings
    • Add a provider
    • Partners
    • PassingRight Chat
    • DevPass
    • Compare models
    • Enterprise

    Resources

    • Legal overview
    • Apps
    • Templates
    • Agents
    • MCP server
    • Use cases
    • Documentation
    • Developer resources
    • Integrations
    • Guides
    • Brand assets
    • Token cost calculator
    • Copilot cost calculator
    • Referral program
    • 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
    • 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
    • Google Vertex AI
    • Vertex AI (OpenAI-compatible)
    • Vertex AI (Anthropic)
    • Groq
    • Cerebras
    • xAI
    • DeepSeek
    • Alibaba Cloud
    • Runpod
    • NovitaAI
    • AtlasCloud
    • AWS Bedrock
    • AWS Mantle
    • Azure
    • Azure AI Foundry
    • Azure Anthropic
    • Z AI
    • Moonshot AI
    • Baidu
    • Perplexity
    • Mistral AI
    • CanopyWave
    • Inference.net
    • Together AI
    • SCX.ai (Turbo)
    • SCX.ai
    • ByteDance
    • MiniMax
    • EmberCloud
    • Meta
    • Meta Contributor
    • Sakana AI
    • Xiaomi
    • DeepInfra
    • ElevenLabs
    • Runware
    • Gonka24
    • Fireworks AI
    • RanoAI
    • Consensus Protocol
    • Tencent Cloud
    • Atria
    • TypeSafe AI

    © 2026 PassingRight. All rights reserved.