Cortex Code 2.5 Brings Frontier-Level 1M Token Context

One million tokens of qualified coding context, stronger evidence use across large systems, and everyday coding quality retained.

When we introduced Cortex Code 2.0, we described a simple problem: software changes rarely live in one file. Requirements, interfaces, implementations, configuration, tests, logs, and deployment behavior form a connected system. The code change may be small, but understanding the change is not.

Cortex Code 2.5 expands how much of that system can remain in view.

The release increases the qualified context capacity of Cortex’s coding specialist from approximately 256K tokens to 1,048,576 tokens. That is four times the capacity of Cortex Code 2.0 and eight times the approximately 128K range that preceded it.

One million tokens places Cortex Code 2.5 in the same context-capacity class publicly associated with frontier reasoning and coding products. That comparison is deliberately narrow: context size is not a universal measure of model quality, and different vendors evaluate long-context behavior in different ways. The meaningful Cortex claim is that the model can accept a one-million-token context and has passed coding-oriented qualification across that range.

The distinction matters. A model can advertise a large input limit while still missing a requirement, selecting the wrong symbol, confusing similar files, or producing a syntactically polished change based on the wrong evidence. Cortex Code 2.5 was therefore evaluated on whether it could use evidence distributed across long coding contexts—not merely whether a request fit through an API.

The final release passed every qualified context band, retained 100% performance on the matched standard-task suite, and completed live product-path qualification. The hardest approximately one-million-token band met its release threshold, while every lower long-context band completed with a perfect result in the final evaluation.

From larger windows to frontier-scale working context

Cortex Code 2.0 doubled the qualified coding range from approximately 128K to approximately 256K tokens. That release made it practical to consider more connected code, tests, requirements, configuration, and diagnostics in one task.

Cortex Code 2.5 is a larger step. It does not merely add another incremental band. It extends the qualified range to a scale at which substantial repositories, long technical histories, large change sets, and extensive diagnostic evidence can be considered together.

ReleaseQualified context capacityRelative to Cortex Code 1.0Release role
Cortex Code 1.0Approximately 128K tokens1×Multi-file coding foundation
Cortex Code 2.0Approximately 256K tokens2×Expanded connected evidence
Cortex Code 2.51,048,576 tokens8×Frontier-scale repository and engineering context

Relative to Cortex Code 2.0, the new release provides approximately 4× the qualified context capacity. Relative to Cortex Code 1.0, it provides approximately 8×.

That additional room changes the class of question Cortex can address in one continuous context. A team can bring together a broad repository snapshot, a migration specification, compatibility requirements, failing tests, relevant logs, and the history of decisions that constrain the implementation. The model has more opportunity to see the same relationships a senior engineer would examine before proposing a change.

The value is not “put everything into every prompt.” The value is having enough qualified capacity when a problem genuinely spans a large connected body of evidence.

What one million tokens means for coding

Tokens are not files, functions, or lines of code. The amount of software represented by one million tokens varies with language, formatting, generated content, embedded data, comments, and surrounding documentation. It would be misleading to translate the capacity into one universal number of files or lines.

It is more useful to describe the engineering materials that can coexist in the working context:

Engineering materialWhy it matters together
Source code across componentsBehavior often crosses package and service boundaries
Interfaces and implementationsA contract is only useful when compared with how it is realized
Tests and fixturesTests reveal expected behavior, compatibility obligations, and edge cases
Configuration and deployment definitionsRuntime behavior may differ from apparent source behavior
Requirements and design recordsProposed changes must preserve explicit constraints and intent
Logs and diagnosticsSymptoms need to be connected to the code paths and settings that produced them
Change history and migration guidanceCompatibility decisions often depend on earlier assumptions
Security-relevant flowsInput, validation, authorization, storage, and output may span distant modules

At smaller context sizes, an agentic system can retrieve and summarize material over multiple turns. Those techniques remain useful. But every handoff, summary, and retrieval decision creates a chance to omit the one detail that later becomes decisive.

A larger qualified context reduces the number of forced boundaries. More original evidence can remain available while Cortex compares files, follows dependencies, and checks a proposed change against constraints introduced much earlier in the task.

Capacity is not the same as intelligence

The long-context market increasingly uses large token limits as a headline specification. Public documentation now describes one-million-token modes for several frontier model and coding-product families. That is an important industry milestone, but the number alone is incomplete.

Four separate questions determine whether a long-context coding system is useful:

  1. Can the system accept the full request?
  2. Can it locate the relevant evidence within that request?
  3. Can it combine that evidence into the correct engineering action?
  4. Can it preserve ordinary coding quality when a large context is not needed?

Cortex Code 2.5 was qualified around all four questions. The release exercises evidence at different positions, multiple forms of coding reasoning, structured output, and matched standard tasks. This is why the release language says qualified context capacity, rather than simply maximum input length.

The distinction is particularly important for exact technical details. In real software work, a nearly correct identifier, configuration key, version, permission, or release value can still produce a broken or unsafe change. Long-context coding quality depends on retrieving the right evidence and applying it precisely.

Final qualification results

The final Cortex Code 2.5 release evaluation covered six long-context bands from approximately 127K through approximately 1.04M prompt tokens. Each band contained matched coding tasks with various complexities and task families.

Evaluated prompt bandFinal resultPass rate
Approximately 127KRelease threshold met100%
Approximately 258KRelease threshold met100%
Approximately 389KRelease threshold met100%
Approximately 520KRelease threshold met100%
Approximately 782KRelease threshold met100%
Approximately 1.04MRelease threshold met77.8%
All long-context casesRelease threshold met96.3%

The approximately 1.04M band is intentionally close to the model’s maximum context while reserving room for the answer. It is also the most difficult band: relevant evidence must remain distinguishable across an exceptionally large body of code-like material and distractors.

The release threshold was met at that terminal band. Every lower band achieved 100% in the final qualified run.

The long-context suite is only one part of release qualification. Cortex Code 2.5 also ran a matched standard-task retention suite to check whether specialization for much larger contexts reduced the quality of routine coding work.

Release measureCortex Code 2.5 result
Maximum qualified context1,048,576 tokens
Increase from Cortex Code 2.0Approximately 4×
Aggregate long-context result96.3%
Long-context bands below the terminal range100% pass rate
Terminal approximately 1.04M band77.8% pass rate; release threshold met
Standard-task candidate suite100%
Matched standard-task baseline100%
Standard-task regression0 percentage points
Evaluated context bands meeting release criteria100%
Live product-path qualificationPassed

These are controlled release results, not a promise that every request or repository will achieve the same rate. The tasks are designed to test specific long-context behaviors under repeatable conditions. Real codebases vary in quality, duplication, language mix, architecture, and documentation.

The results nevertheless establish something more useful than capacity alone: Cortex Code 2.5 demonstrated coding-oriented evidence use throughout its advertised operating range while retaining the matched everyday coding baseline.

A measured improvement, not a hidden reset

Major context expansions can create regressions. A system may improve at accepting longer input while becoming less reliable at shorter ranges, less consistent in structured output, or less responsive for ordinary tasks.

Cortex Code 2.5 treats the release as a progression rather than a reset.

The final results show three properties together:

  • The operating range expanded: qualified capacity increased from approximately 256K to 1,048,576 tokens.
  • The expanded range remained useful: the aggregate long-context suite reached 96.3%, with all six bands meeting release criteria.
  • Routine quality was retained: the matched standard-task candidate and baseline both passed 100%.

This combination is central to the release. A one-million-token mode should not require teams to sacrifice focused coding quality. Nor should strong short-context performance be used to imply that the model can reason reliably over a repository-scale prompt. The two capabilities require separate evidence.

Serving and evaluation: qualification before deployment claims

Cortex Code 2.5 was qualified on modern multi-accelerator infrastructure using the same high-level product path intended for long-context coding requests. This matters because a one-million-token capability is not established by loading a model, accepting a large payload, or reporting a theoretical maximum. It must remain operational through the full request lifecycle: prompt ingestion, model execution, structured response generation, and outcome verification.

The release process therefore separates three questions that are often conflated:

QuestionWhat qualification establishesWhat it does not claim
Can the model accept repository-scale input?The qualified context range reaches 1,048,576 tokensThat every source corpus is equally useful or relevant
Can it use evidence at that range for coding work?The release suite met its criteria across every evaluated bandUniversal superiority on all coding tasks
Is it ready for a particular production deployment?The serving path and structured product checks completed successfullyA public latency, throughput, or cost commitment

This is deliberately a qualification statement, not a performance marketing claim. Production responsiveness will depend on the final deployment architecture, accelerator allocation, parallelism, batching, concurrency, quantization, caching, request shape, and output length. Those variables should be benchmarked against a fixed production configuration before Cortex publishes latency or throughput figures.

For customers, the practical implication is straightforward: Cortex Code 2.5 has been validated as a one-million-token coding system through an operational serving path, while production performance targets will be published separately when the deployment profile is finalized.

How Cortex Code 2.5 compares with the frontier context class

Several leading platforms now publicly document one-million-token context modes. OpenAI documents a 1.05-million-token context window for GPT-6.2 Astra. Google documents a one-million-token context window for Gemini 3.1 Pro. Anthropic documents one-million-token context availability for selected Claude models on Amazon Bedrock. GitHub documents an extended one-million-token context option for supported models in VS Code and Copilot CLI.

Public system or product familyPublicly documented extended contextScope of this comparison
OpenAI GPT-6.2 Astra1.05M tokensPublished model capacity
Google Gemini 3.1 Pro1M tokensPublished model capacity
Selected Claude models on Amazon Bedrock1M tokensPublished model capacity on that platform
Supported models in GitHub Copilot VS Code and CLI1M tokensPublished product mode
Mistral Large 41M tokensPublished model capacity
Cortex Code 2.51M tokensQualified coding context in Cortex

This table is not a cross-vendor benchmark. The systems differ in model design, tools, pricing, serving policy, output limits, evaluation methods, and product integration. A one-million-token specification does not establish equal reasoning quality, latency, cost, or reliability.

It does establish the relevant market context: one million tokens has become a frontier capability for models and products designed to work across large bodies of information. Cortex Code 2.5 can now make the same capacity claim, backed by Cortex’s own coding-specific release qualification.

That is the appropriate meaning of frontier-level context here: Cortex has reached the one-million-token context class. It is not a claim that one internal evaluation proves universal superiority or exact parity with every frontier model on every coding benchmark.

Context-capacity perspective on current coding options

The market is not divided cleanly into models with and without one-million-token context. Several current frontier offerings now document 1M modes, while other well-known coding and agentic models publish smaller windows. Cortex Code 2.5’s credible claim is therefore not that it is the only large-context option; it is that it has reached the one-million-token class and qualifies that capacity for coding work.

The following current public references provide a useful capacity perspective. This remains a context-capacity comparison only: it does not claim that a larger window makes Cortex universally better at coding, reasoning, tool use, latency, cost, or any other dimension.

Public coding or agentic referencePublicly documented contextCortex Code 2.5 capacity relative to the reference
xAI Grok 4.6500K tokensApproximately 2.1×
Mistral Devstral 2256K tokensApproximately 4.1×
Mistral Codestral128K tokensApproximately 8.2×
Cortex Code 2.51,048,576 tokens1×

These references illustrate why one million tokens matters for repository-scale work: Cortex Code 2.5 provides more connected working capacity than several recognized coding-focused options. They do not establish a cross-vendor quality ranking. Customers should evaluate quality, latency, cost, deployment model, governance, and tool integration alongside context size.

Why software engineering is a demanding long-context test

Long-document summarization and long-context coding share some challenges, but software adds forms of precision that are unusually unforgiving.

A codebase contains many near-duplicates: similar class names, repeated configuration structures, copied tests, generated clients, old migrations, and multiple versions of the same API. The relevant evidence may differ from a distractor by only a few characters. A model must not merely remember the topic; it must select the correct technical artifact.

Software also requires composition. A change can depend on one interface, a second configuration rule, a third security constraint, and a test located elsewhere. Retrieving any single item is insufficient if the model fails to combine them.

Finally, coding outputs have consequences. A fluent paragraph with a minor factual error may still be useful to a reader. A patch with a minor identifier error may not compile. A patch that selects the wrong security-relevant value may compile and still be unsafe.

These properties shaped the way Cortex Code 2.5 was evaluated at a high level:

Long-context challengeCoding consequence
Evidence appears early, in the middle, or lateThe answer must not depend on convenient placement
Similar distractors surround the targetThe model must select exact evidence, not a plausible substitute
Multiple facts must be combinedThe patch must satisfy the complete requirement
Security behavior spans componentsThe model must follow data and control flow across files
Output follows a reviewable contractResults must be structurally usable, not merely conversational
Short tasks remain part of daily workLarge-context capability must not erase routine reliability

We are intentionally not publishing the internal recipes, corpus construction, model modification details, infrastructure topology, or task-generation mechanisms behind this qualification. Those are proprietary. The outcome-level methodology is the relevant customer evidence: multiple context bands, multiple evidence positions, coding-oriented task families, exactness checks, regression checks, and live product validation.

What changes for developers

The most important changes are practical rather than numerical.

Larger repository investigations

A defect can cross client code, an API boundary, a shared library, configuration, and deployment policy. Cortex Code 2.5 gives developers more room to keep that evidence together while tracing the actual behavior.

This does not eliminate retrieval or repository search. Instead, it allows the useful results of those tools to remain available together for longer, reducing the pressure to discard earlier evidence as the investigation grows.

More complete migrations

Large migrations are rarely mechanical. They involve compatibility promises, exceptions, staged rollouts, tests, and consumers that cannot all move at once.

With one-million-token capacity, Cortex can consider a larger portion of the migration surface in one context. That can improve continuity between the migration requirement and the proposed implementation plan.

Better continuity through long agentic work

Agentic coding accumulates context: the original request, repository findings, tool outputs, test failures, revised plans, and review feedback. Every turn consumes space.

Expanded context gives the coding specialist more room to preserve that working history before compaction or summarization becomes necessary. This is especially useful when the task involves several rounds of investigation and validation.

Broader change review

A change should be reviewed against more than the edited lines. Interfaces, callers, tests, configuration, and operational assumptions can all matter.

Cortex Code 2.5 can hold a broader review surface, helping the model identify inconsistencies between a proposed change and the system around it.

More complete security reasoning

Security-relevant behavior often spans input parsing, validation, authorization, persistence, and output. Those stages may live in different components maintained by different teams.

Expanded context makes it possible to keep more of the end-to-end flow in view. It does not replace security testing or human review, but it can provide a more connected technical basis for both.

Right-sized context remains the product strategy

One million tokens should not become the default cost of answering a question about a single function.

Large contexts require more computation, more memory, more time, and more careful capacity management. Public frontier products reflect the same tradeoff: GitHub recommends regular context for ordinary work and extended context for more complex tasks, noting that larger contexts consume more credits.

Cortex follows the same practical principle while integrating it into the ensemble experience. Focused work should use a focused operating range. Repository-scale work should have access to a larger qualified range when the additional evidence is valuable.

Request profileAppropriate context behavior
Focused explanation or localized editKeep the context narrow and responsive
Multi-file feature or defectExpand to the relevant components and tests
Large migration or architectural reviewPreserve broad connected evidence
Repository-scale investigationUse extended capacity when relationships justify it
Maximum-length specialist taskIsolate capacity and communicate the higher cost and latency

This approach improves both experience and efficiency. It avoids treating maximum capacity as a mandatory operating mode, while ensuring that the capacity exists for tasks that need it.

Long context does not remove the need for good context

A larger window creates room; it does not decide what belongs in that room.

Irrelevant generated files, repeated dependencies, stale snapshots, unrelated logs, and contradictory documentation can make a task harder. A million tokens of noise is still noise.

Good long-context engineering therefore combines capacity with selection:

  • Identify the systems and contracts relevant to the task.
  • Preserve source evidence where exact details matter.
  • Separate authoritative files from generated or stale copies.
  • Include tests and configuration alongside implementation.
  • Keep requirements and explicit constraints visible.
  • Validate the resulting change through independent tools and review.

Cortex’s broader ensemble remains important here. Search, planning, coding, verification, security, and privacy are separate responsibilities. The coding specialist can consider more evidence, but it does not gain additional authority over tools, production systems, permissions, or release decisions.

Privacy and deployment choice remain part of the capability

Repository-scale context can include some of an organization’s most sensitive material: source code, architectural records, incident logs, vulnerability details, customer-specific configuration, and unreleased product plans.

Increasing context capacity does not change the privacy policy attached to that material. Cortex Code 2.5 remains part of the configured Cortex environment and its controls. The model’s ability to consider more information does not grant permission to move that information elsewhere.

For enterprise teams, the relevant capability is not only “one million tokens.” It is one million tokens within an operational model that includes access controls, environment policy, observability, validation, and explicit failure handling.

If the extended-capacity path is unavailable, Cortex should not silently imply that the entire request was processed. A visible failure or an explicitly identified qualified fallback is safer than a confident answer based on incomplete context.

What the results establish and what they do not

The Cortex Code 2.5 qualification supports five release claims:

  1. Cortex Code now has a maximum qualified context of 1,048,576 tokens.
  2. This is approximately 4× Cortex Code 2.0 and 8× Cortex Code 1.0.
  3. The final long-context suite achieved a 96.3% pass rate.
  4. Every evaluated context band met its frozen release threshold, including the 77.8% terminal approximately 1.04M band.
  5. The matched standard-task suite retained a 100% pass rate with no measured regression.

The results do not establish that every repository benefits from maximum context, that Cortex is infallible near one million tokens, or that internal qualification scores can be compared directly with unrelated vendor benchmarks.

The terminal 77.8% result is also important context. It shows that the maximum range is qualified, but remains the most demanding operating band. Cortex should continue to prefer precise, relevant context over indiscriminate prompt growth, and developers should continue to validate generated changes.

Transparent limits are part of a credible release. Frontier context means the capacity is available and useful—not that the underlying information problem has disappeared.

The next chapter of Cortex

Cortex Code 2.0 established that expanded context could improve multi-file software work while preserving everyday coding quality. Cortex Code 2.5 carries that idea to a new scale.

The release moves from approximately 256K to 1,048,576 qualified tokens. It achieves a 96.3% pass rate on the final coding-oriented long-context suite, reaches 100% across every evaluated band below the terminal range, meets the release threshold at approximately 1.04M, and retains 100% on the matched standard-task suite.

For developers, the result is more room for the relationships that make software difficult: requirements and implementation, interfaces and consumers, configuration and runtime behavior, vulnerabilities and data flow, changes and tests.

For enterprises, it is a frontier-scale coding context delivered within the broader Cortex model ensemble and its operational controls.

For the Cortex roadmap, it is a shift from long context as an expanded feature to long context as a repository-scale engineering capability.

Cortex Code 2.5 does not make context infinite, and it does not make every coding task simple. It gives teams a substantially larger, measured, and qualified working space for the complex tasks that previously forced important evidence apart.

That is the promise of frontier-level context in Cortex: not a bigger number in isolation, but more of the software system available when the work requires it.

Public context references

Scroll to Top