Support

AI-powered help

Welcome!

Please introduce yourself before we start.

    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)
    186/351
    Models
    43/51
    Providers
    123
    Vision Models (filtered)
    168
    Tool-enabled (filtered)
    2
    Free Models (filtered)
    Features
    NovitaAI
    glm-5.1
    $1.38$4.40$0.26
    Together AI
    glm-5.1
    $1.40$4.40$0.26
    SCX.ai
    glm-5.2-fast
    $1.99$6.16$0.40
    SCX.ai
    glm-5.2-fast
    $1.99$6.16$0.40
    Alibaba Cloud
    glm-5.2
    $1.40$4.40$0.28
    Alibaba Cloud(cn-beijing)
    glm-5.2
    $1.40$4.40$0.28
    EmberCloud
    glm-5.2
    $1.26$3.96$0.23
    SCX.ai
    glm-5.2
    $0.55$1.78$0.11
    Alibaba Cloud(singapore)
    glm-5.2
    $1.40$4.40$0.28
    ByteDance
    glm-5.2
    $1.40$4.40$0.26
    Alibaba Cloud(us-virginia)
    glm-5.2
    $1.40$4.40$0.28
    Alibaba Cloud(eu-frankfurt)
    glm-5.2
    $1.40$4.40$0.28
    Alibaba Cloud
    glm-5.2
    $1.40$4.40$0.28
    Z AI
    glm-5.2
    $1.40$4.40$0.26
    NovitaAI
    glm-5.2
    $1.40$4.40$0.26
    Z AI
    glm-5.2
    $1.40$4.40$0.26
    CanopyWave
    glm-5.2
    $1.40$4.40$0.26
    Granite
    glm-5.2
    $1.40$4.40$0.26
    NovitaAI
    glm-5.2
    $1.40$4.40$0.26
    SCX.ai
    glm-5.2
    $0.55$1.78$0.11
    Runware
    glm-5.2
    $0.80$2.55$0.16
    EmberCloud
    glm-5.2
    $1.26$3.96$0.23
    Nebius AI
    glm-5.2
    $1.40$4.40—
    Baidu
    glm-5.2
    $1.40$4.40$0.26
    Baidu
    glm-5.2
    $1.40$4.40$0.26
    Nebius AI
    glm-5.2
    $1.40$4.40—
    ByteDance
    glm-5.2
    $1.40$4.40$0.26
    Runware
    glm-5.2
    $0.80$2.55$0.16
    CanopyWave
    glm-5.2
    $1.40$4.40$0.26
    SCX.ai(au)
    glm-5.2
    $0.55$1.78$0.11
    Z AI
    glm-5.3
    $1.40$4.40$0.26
    Z AI
    glm-5.3
    $1.40$4.40$0.26
    Nebius AI
    cosmos3-super-reasoner
    $0.10$0.30—
    Nebius AI
    cosmos3-super-reasoner
    $0.10$0.30—
    Nebius AI
    nemotron-3-nano-omni
    $0.06$0.24—
    Nebius AI
    nemotron-3-nano-omni
    $0.06$0.24—
    Nebius AI
    nemotron-3-nano-30b
    $0.06$0.24—
    Nebius AI
    nemotron-3-nano-30b
    $0.06$0.24—
    Nebius AI
    nemotron-3-super-120b
    $0.30$0.90—
    Nebius AI
    nemotron-3-super-120b
    $0.30$0.90—
    DeepInfra
    nemotron-3-ultra-550b
    $0.50$2.20$0.10
    DeepInfra
    nemotron-3-ultra-550b
    $0.50$2.20$0.10
    Nebius AI
    nemotron-3-ultra-550b
    $1.00$3.00—
    Nebius AI
    nemotron-3-ultra-550b
    $1.00$3.00—
    DeepInfra
    hy3
    $0.14$0.58$0.04
    NovitaAI
    hy3
    $0.14$0.58$0.04
    NovitaAI
    hy3
    $0.14$0.58$0.04
    DeepInfra
    hy3
    $0.14$0.58$0.04
    Sakana AI
    fugu-ultra
    $5.00$30.00$0.50
    Sakana AI
    fugu-ultra
    $5.00$30.00$0.50
    Page 2 of 16

    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 Provider
    • Partners
    • Lounge
    • Changelog
    • Compare Models
    • Enterprise

    Resources

    • Legal Overview
    • Apps
    • 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
    • Provider Information
    • Sub-processors
    • 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
    • Google Vertex AI
    • Vertex AI (OpenAI-compatible)
    • Vertex AI (Anthropic)
    • Groq
    • Cerebras
    • xAI
    • DeepSeek
    • Alibaba Cloud
    • NovitaAI
    • AtlasCloud
    • AWS Bedrock
    • AWS Mantle
    • Azure
    • Azure AI Foundry
    • Z AI
    • Moonshot AI
    • Baidu
    • Perplexity
    • Nebius AI
    • Mistral AI
    • CanopyWave
    • Inference.net
    • Together AI
    • SCX.ai (Turbo)
    • SCX.ai
    • ByteDance
    • MiniMax
    • EmberCloud
    • Meta
    • Sakana AI
    • Xiaomi
    • DeepInfra
    • ElevenLabs
    • Runware
    • Gonka24
    • Fireworks AI

    © 2026 OffRail. 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.

    OffRail
    • Lounge
    • Models
    • Docs
    • Pricing
    • Lounge
    • Pricing
    • Docs
    • Models
      • AI Gateway
      • Lounge
      • Observability
      • Enterprise
      • Blog
      • Changelog
      • Integrations
      • Reliability
      • Guardrails
      • Providers
      • Partners
      • Rankings
      • Apps
      • Models
      • Model Timeline
      • Compare
      • Token Cost Calculator
      • Referral Program
      • MCP Server
      • AI SDK Provider
      • Guides
    Log InGet Started
    ★