top of page

Anthropic and Google Test AI Context Windows Limits

Jun 13
8 min read

Anthropic raised its Claude context window to 1 million tokens this month. Google followed with a matching update to Gemini. Both companies now claim their models can hold and reason over entire books or codebases in one pass.

The change shifts competition from answer quality alone toward memory capacity. Longer windows create an advantage in tasks that need full document recall, yet they also introduce new failure modes around cost and accuracy. The race now centers on maintaining reliable accuracy under extreme load rather than simply advertising larger maximum lengths. According to reporting in The Verge, the announcements have already triggered fresh budget discussions inside procurement teams that previously treated context length as a secondary specification.

The Exact Change

Anthropic extended Claude to 1 million tokens on June 10. Google matched the figure for Gemini Advanced two days later. Before these updates both services topped out at 200,000 tokens for most users.

The new limit lets a model ingest a full technical manual plus months of related chat logs at once. Product teams testing the feature report that retrieval over such spans still drops key facts when the query sits in the middle of the context. Engineers at several startups described running experiments where a 1-million-token prompt containing a 400-page specification document returned correct answers for questions drawn from the first and last 100 pages but produced incomplete or fabricated summaries for material located around token position 450,000–550,000.

Anthropic’s release notes indicate the 1-million-token tier initially rolled out to a limited set of enterprise customers before wider availability. Google’s announcement emphasized integration with its existing Gemini Advanced consumer tier, making the capability appear more immediately accessible to individual developers and small teams. Both firms use similar positional encoding extensions and attention optimizations to reach the new scale, yet neither has published the precise architectural modifications in peer-reviewed form.

Further rollout details show Anthropic gating access behind usage-volume thresholds and requiring explicit opt-in for the extended tier, while Google enabled the feature for all Gemini Advanced subscribers immediately. This difference in distribution strategy highlights contrasting philosophies: Anthropic appears focused on controlled evaluation to gather telemetry on failure modes, whereas Google prioritizes rapid user feedback loops across diverse domains. Early internal telemetry shared under NDA suggests that Anthropic observed a 12 % drop in multi-document reasoning accuracy during the first two weeks of limited release, prompting additional safety fine-tuning before wider rollout.

Background on Context Windows

Context length refers to the maximum number of tokens a model can process in a single forward pass. Early transformer models such as the original GPT-2 operated with 1,024 tokens. Subsequent releases increased this figure to 4,096, then 32,768, and more recently 128,000–200,000 tokens. Each jump required improvements in positional embeddings, attention mechanisms, and memory management on training hardware.

The jump to 1 million tokens represents a roughly 5× increase over the previous practical ceiling. This scale allows a model to receive an entire novel, a complete legal code repository with test suites, or multiple quarters of earnings transcripts concatenated together. However, the quadratic scaling of standard attention means compute and memory requirements grow rapidly, which explains why pricing and latency penalties appear immediately once users exceed a few hundred thousand tokens.

Historical progression reveals that every context-length milestone coincided with hardware advances - larger HBM memory pools on GPUs and improved interconnect bandwidth between accelerators. The 1-million-token threshold now pushes against the limits of current accelerator clusters, forcing providers to implement aggressive KV-cache eviction policies for tokens that fall outside the active attention window. For example, the shift from 128k to 200k tokens in 2023 already required custom FlashAttention kernels; scaling another fivefold demands further innovations in kernel fusion and memory paging.

Technical Mechanisms Behind Extended Context

Models achieve longer contexts through a combination of techniques. Rotary Position Embeddings (RoPE) and its extensions allow relative positioning information to generalize beyond the length seen during training. Sliding-window attention and other sparse patterns reduce the number of token-to-token comparisons. Some implementations further compress earlier parts of the context into summary vectors or key-value caches that occupy less memory.

Anthropic and Google both appear to rely on a mixture of these approaches plus continued pre-training on long documents. Internal benchmarks shared informally suggest that coherence begins to degrade once the active context exceeds roughly 40 % of the advertised maximum. This degradation manifests as dropped entities, contradictory statements about facts stated only once, and an increased tendency to default to generic phrasing when the relevant passage is deeply buried.

Additional mechanisms include ALiBi-style linear biases and memory-efficient attention variants such as FlashAttention-2, which both companies have adapted for inference-time scaling. Experiments conducted by independent researchers show that applying sparse attention masks too aggressively can inadvertently prune important cross-document references, leading to measurable drops in multi-hop reasoning accuracy. Newer extensions like Ring Attention and Infini-Transformer architectures further enable distributed attention across multiple GPUs, yet they introduce synchronization overhead that can double end-to-end latency on commodity hardware.

Who Feels the Pressure

Teams that build retrieval systems now face a direct choice between relying on the new long windows or continuing to invest in separate vector stores. Startups selling retrieval-augmented generation tools report early customer questions about whether the paid long-context option replaces their product entirely.

Larger enterprises weigh the same decision against compliance requirements. A single 1-million-token call can cost several dollars in API fees, prompting finance teams to request detailed usage forecasts before approving broader rollout. Legal departments additionally question whether storing entire internal wikis or customer histories inside one prompt violates data-residency policies even when the model provider offers prompt-level deletion guarantees.

Procurement cycles at Fortune-500 companies now include dedicated line items for context-window testing, with security reviews extending timelines by four to six weeks. Smaller startups, lacking similar resources, often default to hybrid architectures that keep vector stores as the primary retrieval layer and invoke long-context mode only for final synthesis steps. One Series-B coding-assistant startup calculated that replacing its existing RAG pipeline with native 1-million-token prompts would increase monthly inference spend by 340 %, forcing a pivot toward selective caching strategies instead.

Real-World Use Cases and Examples

Development teams report the clearest near-term wins in code review and codebase onboarding. A single prompt containing an entire repository plus commit history allows Claude or Gemini to answer questions such as “Which functions reference the deprecated authentication module and what is the migration path shown in recent pull requests?” Answers remain accurate when the relevant code and discussions appear in different files separated by thousands of tokens.

Legal technology companies have begun testing contract analysis at scale. One firm loaded 60 separate master service agreements plus all amendments into a 1-million-token window and asked the model to surface every clause governing data-processing addendums. The model identified 93 % of the target clauses correctly, yet missed two clauses located in the middle third of the longest document. Academic teams analyzing 200-page clinical-trial protocols similarly observed that adverse-event tables buried in appendices were overlooked unless explicitly prompted with page-range hints.

Research groups exploring scientific literature summarization have seen similar patterns. When the full text of 40 related papers is included, the model produces coherent cross-paper comparisons for themes that appear in the abstracts or conclusions. It struggles more when synthesizing methods described only in supplementary sections located deeper in the token sequence.

Cost Versus Recall

Token pricing remains the clearest constraint. At current rates a full 1-million-token request costs roughly ten times a standard 100,000-token call. Models also exhibit higher rates of hallucination once context passes 400,000 tokens according to internal tests shared by Anthropic engineers.

Google claims its Gemini implementation maintains stronger coherence at the new scale. Independent benchmarks have not yet confirmed that claim across multiple domains. Early third-party evaluations using synthetic needle-in-a-haystack tests show both providers achieving near-perfect recall when the inserted fact appears at either extreme of the context, but performance drops 15–30 percentage points when the fact is placed near the middle, as noted in coverage from 9to5Google. Detailed cost modeling reveals that organizations running more than 50 long-context queries per day quickly exhaust monthly budgets allocated for experimentation. Some teams have begun exploring cached prompt prefixes - paying once to load a large codebase and then issuing incremental queries against the cached state - although both Anthropic and Google have yet to expose stable caching APIs at the full 1-million-token level.

Practical Implications for Developers and Enterprises

Organizations considering migration should first measure the actual context length their workloads require. Many retrieval-augmented generation pipelines already achieve acceptable accuracy with 20,000–50,000 tokens by using high-quality chunking and re-ranking. Moving to 1-million-token prompts only makes sense when the task genuinely benefits from seeing every document section simultaneously.

Developers should also implement progressive retrieval strategies that load only the portions of context likely to matter. Techniques such as hierarchical summarization - generating condensed versions of earlier conversation turns or document sections - can reduce effective context size while preserving critical details. Monitoring per-request token counts and cost dashboards becomes essential once long-context features move from experimentation into production. Enterprises running compliance audits now require explicit logging of every token fed into these extended windows, adding another layer of operational overhead.

Limitations and Risks

Accuracy at 1 million tokens still varies by document type. Code repositories fare better than mixed meeting notes and slide decks. No public study has measured error rates on legal contracts or financial models at this length.

Regulators have begun asking whether long-context models increase the chance of leaking sensitive information stored in the same window. Both companies state that prompt-level controls limit exposure, yet enterprise security teams want independent proof before migration, according to coverage in Bloomberg. Another concern involves positional bias: models appear to overweight information presented in the first and last 10 % of the context, potentially allowing prompt-injection attacks that place misleading instructions at those high-visibility locations. Latency increases noticeably as well; a 1-million-token request can take 30–90 seconds to complete on current infrastructure, which limits interactive use cases even when cost is not a primary barrier. Researchers additionally note that training data contamination risks rise sharply once context windows exceed the length of most publicly available documents.

Comparative Analysis with Other Providers

OpenAI currently offers a 128,000-token context window for GPT-4o and has signaled continued investment in retrieval tooling rather than immediate length increases. Anthropic and Google’s move therefore creates a temporary differentiation that may pressure OpenAI to respond. Meanwhile, open-source efforts such as Gradient’s 1-million-token Llama derivatives and Together AI’s long-context hosting show that the capability is becoming available outside the major cloud providers, although stability and support differ. Meta’s Llama 3.1 405B release further includes native 128k support with community extensions pushing beyond 500k, indicating that long-context techniques are diffusing rapidly across both proprietary and open ecosystems.

Enterprise Adoption Challenges

Large organizations must also navigate internal governance frameworks that predate these model capabilities. Data-governance officers now require explicit data-flow diagrams showing exactly which tokens leave on-premise systems during a long-context call. Audit trails must capture not only the final answer but every intermediate KV-cache eviction decision - an engineering burden most vendors have not yet addressed in their tooling.

What Remains Uncertain

Accuracy at extreme lengths remains incompletely characterized. Document-type variation, model-specific architectural choices, and the presence or absence of domain-specific fine-tuning all influence outcomes. Public benchmarks that systematically vary document genre, placement of critical facts, and query complexity are still scarce.

Another open question involves optimal pricing models. Current per-token pricing penalizes long contexts linearly, yet the marginal value of additional tokens may follow a diminishing-returns curve. Both providers may eventually introduce tiered pricing or context-compression credits to encourage adoption without proportional cost increases.

What to Watch Next

Three signals will indicate whether long context windows become standard practice. First, watch for published benchmarks testing recall across 500,000-token documents within the next eight weeks. Second, observe whether OpenAI responds with a matching limit or instead emphasizes retrieval tooling. Third, track API cost reports from teams that moved production workloads to the new windows; sustained spend above plan numbers will slow adoption. Teams already exploring persistent memory systems can compare the new context options against remio.ai by testing the same document set through both routes.

FAQ

Does a 1-million-token window replace the need for vector databases?

Not entirely. Vector search remains faster and cheaper for simple lookup tasks. Long-context windows shine when reasoning must consider relationships spread across an entire corpus simultaneously.

How should teams test the new limits responsibly?

Start with synthetic needle-in-a-haystack evaluations on representative document types, then progress to realistic workloads while monitoring both accuracy metrics and token spend.

Are there differences in behavior between Anthropic’s and Google’s implementations?

Early user reports suggest Gemini maintains slightly better coherence on narrative text while Claude performs more reliably on code. Comprehensive head-to-head studies are still emerging.

Give every agent the context to do better work

Connect your agents to the knowledge, decisions, and history already organized in remio.

remio currently supports Windows 10+ (x64) and Macs with Apple silicon.

Your AI Partner at Work
Get more done with remio

Plan. Create. Deliver.
All in one place.

bottom of page