Support

AI-powered help

Welcome!

Please introduce yourself before we start.

    DigitSpace
    • 模型
    • 定价
    • 文档
    • DigitSpace Chat
    • 模型
    • 定价
    • 文档
    • DigitSpace Chat
    登录获取 API 密钥

    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)
    15/36
    Models
    3/11
    Providers
    6
    Vision Models (filtered)
    15
    Tool-enabled (filtered)
    0
    Free Models (filtered)
    Features
    Z AI
    glm-4.6
    $0.60$2.20$0.11
    Z AI
    glm-4.7-flashx
    $0.07$0.40$0.01
    Z AI
    glm-4.7
    $0.60$2.20$0.11
    Z AI
    glm-5
    $1.00$3.20$0.20
    Z AI
    glm-5.1
    $1.40$4.40$0.26
    Z AI
    glm-5.2
    $1.40$4.40$0.26
    Z AI
    glm-5.3
    $1.40$4.40$0.26
    Z AI
    glm-5.3-flash
    $0.15$0.50$0.03
    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
    DeepSeek
    deepseek-v4.1-flash
    $0.15$0.60$0.00
    DeepSeek
    deepseek-v4-flash
    $0.44$1.32$0.01
    DeepSeek
    deepseek-v4-pro
    $0.43$0.87$0.00

    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.

    产品

    • 功能
    • AI 网关
    • 可观测性
    • 模型
    • 供应商
    • 排行榜
    • 添加供应商
    • 合作伙伴
    • DigitSpace Chat
    • DevPass
    • 模型对比
    • 企业版

    资源

    • 法律概览
    • 应用
    • 模板
    • 智能体
    • MCP 服务器
    • 使用场景
    • 文档
    • 开发者资源
    • 集成
    • 指南
    • 品牌素材
    • Token 成本计算器
    • Copilot 成本计算器
    • 推荐计划
    • 关于我们
    • 联系我们

    合规

    • 服务条款
    • 隐私政策
    • 供应商信息
    • 子处理者

    对比

    • 全部对比
    • GitHub Copilot
    • OpenRouter
    • LiteLLM
    • Portkey
    • AWS Bedrock
    • Microsoft Foundry
    • Vercel AI Gateway
    • 迁移指南

    模型

    • 文本生成
    • 文生图
    • 图生图
    • 视频生成
    • 向量嵌入
    • 视觉
    • 推理
    • 工具调用
    • 联网搜索
    • 折扣模型
    • 最适合角色扮演
    • 最适合编程
    • 最适合创意写作
    • 最适合翻译
    • 最适合数学
    • 长上下文
    • 最便宜
    • 开源模型

    供应商

    • 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
    • SiliconFlow
    • StepFun
    • iFlytek Spark

    © 2026 DigitSpace. All rights reserved.

    粤ICP备2026028167号