context window

A context window is the span of tokens an AI model can use within a single request, including input and generated output.

45 articlesLast mentioned

A context window is the span of tokens an AI model can use in one request. It covers the input and the output being generated. A prompt is the input or instruction given to the model; the context window sets a limit on how much information the model can handle at once.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • Gyro-M vs. Gyro-S on a 16GB GPU: Higher Scores, Similar Coding ResultsAI Performance ·

    The file is served locally with Strata, a model-serving framework, with a 128k-token context window.

    Read article
  • Prompt Injection Gets Riskier When AI Acts: Agent Permissions ExplainedAI Security ·

    Turning on a connector automatically adds instructions to the model's context window, the working text it reads before responding.

    Read article
  • Claude Code's Code Mode Runs Tools From JavaScript and Trims Token CostsAI in Practice ·

    Each result goes into the context window, the working memory the model reads on every turn.

    Read article
  • safeagents Proxy Stops Coding Agents Tricked by Hidden README InstructionsAI Security ·

    …was OpenCode driving Qwen3-Coder 30B, a 30-billion-parameter open model with a 32k context window, served locally through Ollama on an NVIDIA GeForce RTX 5090.

    Read article
  • Anthropic's Always-On Agent Guide: Five Primitives and a First Agent to BuildAI in Practice ·

    The agent pulls detailed sub-notes only when a task needs them, which keeps the context window small.

    Read article
  • Fable 5.2 Cost Control: Medium Effort, Haiku Subagents, Opus as DefaultAI in Practice ·

    …pic's documentation says the same thing directly: for tasks that fit inside a single context window, multi-agent orchestration usually costs more than it saves.

    Read article
  • One Claude Model Beats Multi-Agent Teams on Cost and Speed in 82-Run BenchmarkAI Performance ·

    Multi-day or enterprise-scale work that spans several context windows was not tested, and team architectures may still earn their keep there.

    Read article
  • NVIDIA CEO Exit, Claude Fable 5.2 and Adobe MAX: A Week That Reshaped AIAI News ·

    …e added Gemini 4 Hydrogen, a cost-optimized model with a 1-million-token context window priced at $1.50 per million input tokens and $7.50 per million output to…

    Read article
  • Decision Models: Probabilities, Not Text, for Faster and Cheaper Agent RoutingAI in Practice ·

    …s differ by provider: the OpenAI Decisions API accepts up to 400 questions, Cloudflare Clef up to 64, and Jev as many as fit in its 64,000-token context window.

    Read article
  • Temperature, Attention and Context Rot: Model Mechanics Behind Agent DesignAI in Practice ·

    Attention makes long context expensive and, past a point, unreliable, so treat the context window as a budget rather than a bin.

    Read article
  • Claude Code Multi-Agent Pipeline: Role Splits and Rules for When to StopAI in Practice ·

    State lives in plain files rather than a database because each agent run starts with a fresh context window and no memory.

    Read article
  • AI Contract Review: Where Agents Fail on 40,000 Documents and How to Catch ItAI in Practice ·

    Results were capped at 1,000 rows to keep the agent's context window from overflowing.

    Read article
  • Prompt Audits and Cache Reuse Cut Claude Costs Up to 72.9%, Anthropic SaysAI in Practice ·

    Keeping that log outside the model's context window also means detail is not lost permanently when context is compacted; Claude can query past context through t…

    Read article
  • ShapeLearn Qwen3.8-27B on a 16GB GPU: Agent Tests Pass 4 of 5 at 128k ContextAI Performance ·

    A 27-billion-parameter language model with a full 128k-token context window now runs entirely inside a 16GB graphics card that draws 70 watts.

    Read article
  • Claude Code as an AI Chief of Staff: A Three-Layer Knowledge BlueprintAI in Practice ·

    Keep visibility on step-by-step execution, token use and context window consumption.

    Read article
  • Example Mapping Plus TDD Lifts AI Agent Code Correctness From 27% to 94%AI in Practice ·

    As context windows grew, performance dropped, and the team connected that to the Stanford paper "Lost in the Middle: How Language Models Use Long Contexts." Its…

    Read article
  • Claude Desktop 2.0 Rebuild: New Features and the Settings to Change FirstAI News ·

    …o five output formats, adds a Session Rail that tracks a 1-million-token context window, and introduces a set of multitasking tools: Side Chats, Forking, Split…

    Read article
  • TinyFish Bets on AI Agents as Customers With 40-Cent Wallet BillingAI Startups ·

    …r, but early language models lacked built-in tool calling and had small context windows, so the team first built AgentQL as a semantic data extractor: it turned…

    Read article
  • Compound's Multiplayer Email Agents and Headless Office Engine for Deal TeamsAI Startups ·

    Printing every cell of a large model into a language model's context window is prohibitively slow and expensive; Compound estimates that approach would generate…

    Read article
  • Intelligence Plane: Why Memory and Ontology, Not the Model, Define AI AgentsAI in Practice ·

    …into short-term memory, which lives within a single session (the working context window plus a semantic cache for repeated queries), and long-term memory, which…

    Read article
  • ChatGPT Work in Practice: Agents Plan Events, Trips and News DashboardsAI in Practice ·

    …failure this prevents is what might be called agent "ADHD": wandering into side tasks and forgetting the original request as the context window gets compacted.

    Read article
  • Claude Code and T3 Code Turn Linear Tickets Into Merged Pull RequestsAI in Practice ·

    The problem it addresses is context: when a coding agent drives a browser itself, repeated screenshots and DOM dumps can consume the entire context window.

    Read article
  • GPT-6.1 Terra, Dot Texting and Gemini 4 Carbon: What Works Now and What WaitsAI News ·

    The principle matters beyond Grok Bot: an agent that browses on your behalf should never have your secrets in its context window.

    Read article
  • DeepSeek Opens DeepInfer Serving Engine Alongside MIT-Licensed V4.1-FlashAI News ·

    On October 17 it published DeepSeek V4.1-Flash-1017, an open-weight model with a 1 million token context window, under the MIT license.

    Read article
  • AI Agent Guardrails: Citibank's $893.9M Misfire Makes the Case for BrakesAI Security ·

    The agent compacted its context window, dropped the instruction to wait for confirmation, and deleted hundreds of inbox messages.

    Read article
  • Claude Code Costs Come From Full-Price Rereads: Four Habits Behind ThemAI in Practice ·

    …or tool returns a huge block of text, Claude Code trims what enters the context window, the amount of text the model can hold at once, and saves the full outpu…

    Read article
  • AI Agent Authorization Moves to Runtime: Missions, Budgets, SupervisorsAI Security ·

    AI models reason better, hold far more text in their context windows and can now read images.

    Read article
  • Krea 3 and Grok Voice 3.0 Stand Out in Hands-On Tests of New AI ModelsAI News ·

    It has 816 billion total parameters, 42 billion active per token, and a 1-million-token context window, the amount of input a model can consider at once.

    Read article
  • Slack AI Agent Team Setup: Onboard Agents Like Staff, Then Build in 7 StepsAI in Practice ·

    In one case, a research agent's tool output overflowed the context window, the amount of text a model can handle at once, and produced an "Autocompact is thrash…

    Read article
  • Claude Lifts Zeta Zero Bound to Two-Thirds as Riemann Hypothesis Stays UnsolvedAI News ·

    Save intermediate findings to files rather than leaving them only in the model's context window, so a crash does not erase them.

    Read article
  • Claude Mods Turn Delete and Send Rules Into Code the Agent Must ObeyAI in Practice ·

    One mod puts a bar above the prompt showing how much of the context window, the amount of conversation the model can hold at once, has been used, along with tok…

    Read article
  • /doctor and a Leaner Claude Setup: Cut Unused Skills and Stale RulesAI in Practice ·

    …question answering and coding by 13.9% to 85%, even when all the needed information sat inside the context window, the amount of text a model can read at once.

    Read article
  • AI Agent Security Moves Upstream: MCP Servers Deliver Policy Before the PRAI Security ·

    The returned policy lands in the model's context window, the working memory it draws on for the current task, so the code it writes next follows company require…

    Read article
  • Why Claude Code Gets More From the Same Model: Five Parts of a HarnessAI in Practice ·

    As a session runs, the context window, the amount of text a model can consider at once, fills up with conversation, instructions and tool output.

    Read article
  • Stuart Russell's Case for AI That Stays Unsure About What Humans WantAI Ethics ·

    Training treats the context window, the text the model can see at once, as if it were the state of the world.

    Read article
  • Codex for 15-Hour Builds: Goal Files, Audit Threads and Human ChecksAI in Practice ·

    …on November 19, 2025, with GPT-5.1-Codex-Max, a model trained to work across multiple context windows, the limit on how much text a model can consider at once.

    Read article
  • DeepMind's New Robot Models Split Planning From Motion, but Dexterity LagsAI News ·

    The model's context window, the amount of information it can consider at once, is 128,000 tokens.

    Read article
  • Four Hooks That Let TypeScript Mods Rewire Claude's Coding WorkflowAI in Practice ·

    …Cache Clock mod puts that information in the status bar: how much of the context window, the amount of conversation the model can hold at once, is in use, and h…

    Read article
  • Hitting AI Agent Usage Limits? Ten Fixes to Try Before Upgrading Your PlanAI in Practice ·

    Their tool descriptions are added to every prompt, taking up space in the context window, the amount of text a model can consider at once.

    Read article
  • GPT-6.1 Sol Builds Working Apps and Games, but Visual Polish LagsAI Performance ·

    The API model listing also gives GPT-6.1 Sol a 1,050,000-token context window, a 128,000-token output limit and an April 30, 2026 knowledge cutoff; it accepts t…

    Read article
  • AI Agent Code: Why Green Tests Need Independent ChecksAI in Practice ·

    …t describes page structure and controls, but a complex page can consume substantial space in the model’s context window—the information it can consider at once.

    Read article
  • GPT-6 Luna Delivers Playable 3D Games With Rough EdgesAI Performance ·

    Luna supports text and image inputs, has a 1,050,000-token context window, and can produce up to 128,000 output tokens.

    Read article
  • Optimizer Speedrun: Codex and Claude Code Beat Human RecordsAI Performance ·

    Codex also compacted its context about 20 times per active hour; compaction condenses earlier material so work can continue within a limited context window.

    Read article
  • AI Coding Agents: Build With Specs, Review With EvidenceAI in Practice ·

    Repeated corrections also fill the agent’s context window—the limited amount of information it can use at once—with conversational history.

    Read article
  • M5 Ultra vs. M3 Ultra: What Local AI Speed Tests ShowAI Performance ·

    A local agent used Qwen3.8 27B with a context window of 131,131 tokens (the amount of material the model can consider at once) and quickly answered questions dr…

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.