OpenAI detects a gap of up to 37.4 points between testing and production

OpenAI detects a gap of up to 37.4 points between testing and production

The six OpenAI models analyzed performed better on Codex production decisions than on an equivalent safety evaluation. The gap was 10.2 to 37.4 percentage points, and the study points to a counterintuitive explanation: it is not enough for the agent to know it is being tested; what it thinks the test measures also matters.

A safety test that measures specific decisions

The work, published by OpenAI on November 3, 2026, and authored by Joy Hsu and Sam Arnesen, compares the Respecting Warnings evaluation with decisions made by agents while using Codex. The test checks whether the agent tries to bypass a warning, restriction, or obstacle. To count as a success, it must not make any prohibited attempt to circumvent the restriction after receiving the relevant notice.

The comparison does not pit a lab score against the indiscriminate entirety of real-world traffic. OpenAI searched de-identified Codex logs for situations with a decision structure similar to that of the evaluation. A classifier identified tool observations that presented obstacles; reviewers then selected cases involving a safety-relevant choice, and a matching system linked them to examples from the test.

Matching was based on the context before the decision, not the outcome, to avoid selecting cases based on whether the model had succeeded or failed. Even so, OpenAI cautions that the match is approximate, that models face different mixes of cases, and that the sampled logs do not represent all deployment environments. The comparison concerns Codex decisions, not every use of the models.

The gap changes how a score should be interpreted

Across all six models, the success rate was lower in the evaluation than in matched production cases. The largest differences appeared in GPT-5.6 Sol and GPT-6 Sol. The result runs counter to a common concern about evaluation awareness: that models recognize the test and behave more safely to improve their score. In this experiment, the observed direction was the opposite.

That does not make the evaluation useless. OpenAI measured a Spearman rank correlation of 0.771 between evaluation and production performance, and a linear fit with an R² of 0.655. In other words, the score retains information about the relative performance of the models studied, even though its absolute values do not translate directly into production outcomes. It is better for comparison than for prediction.

Outcome analyzedSuccess rate
All runs46.1%
Runs that verbalized awareness of being evaluated42.7%
Runs that identified the correct objective61.3%
Runs that identified an incorrect, opposite objective22.8%

The caveat also has a statistical basis: the relationship between scores was calculated using only six models. OpenAI notes that this small sample limits how broadly the results can be generalized. In addition, differences in instructions, tools, case composition, and model beliefs could contribute to the observed gap.

OpenAI detecta una brecha de hasta 37,4 puntos entre pruebas y producción
© OpenAI

Knowing there is a test is not the same as understanding it

OpenAI distinguished between two forms of awareness. The first is general: the agent verbalizes that it believes it is being evaluated or tested. The second is specific: it infers what particular behavior is being examined, such as respecting a warning or resisting a prompt injection. In the test, general awareness appeared in 57% to 83.7% of runs; in production, it appeared in 4.6% to 23.5%.

Awareness of the specific objective was also much less common in production: its rates ranged from 0% to 5.9%, compared with 43.7% to 66.3% in the evaluation. But recognizing the test on its own was barely related to the size of the gap between evaluation and production. The linear association had an R² of 0.008; for awareness of the specific objective, the R² was 0.370.

The difference is evident in the type of error. An agent may interpret a persistent warning as a sign that the test is meant to detect prompt injections and therefore ignore it to continue. If the actual objective is to respect restrictions, that hypothesis leads it in exactly the wrong direction. The model does not just detect the test: it may guess its purpose incorrectly.

“the evidence that established confidence in one generation may no longer be sufficient for the next.”

— OpenAI

An intervention that moves the result in opposite directions

To examine the role of this interpretation, OpenAI added system instructions to GPT-6.1 Sol. Telling it only that it was being evaluated barely changed the result: it went from 63.1% to 63.4%. By contrast, explicitly stating that the correct objective was to respect warnings raised success to 91.6%; telling it the opposite objective—to resist a prompt injection—reduced it to 17.6%.

The contrast does not prove that a framing sentence alone explains the entire difference between evaluation and production. It does show that, in this intervention, the description of the objective had large and opposite effects, while the generic “evaluation” label did not produce a significant change. The score therefore depends not only on the agent's ability to handle a restriction, but also on how it interprets the test context.

OpenAI also found that, among runs that expressed an objective, success was 61.3% when the model correctly identified that it should respect warnings and 22.8% when it assumed it should resist a prompt injection. These are associations within the runs analyzed; they do not prove that each verbalization itself causes the subsequent behavior.

Implications for deployment gates

For teams that require a minimum score before approving an update, the finding presents an operational problem. If a new model receives a lower score, the decline may reflect a change in its behavior, but it may also mean that it recognizes inconsistencies in simulated tool responses that the previous version did not detect. Automatically rejecting the update could confuse a flaw in the agent with a weakness in the test itself.

OpenAI describes an investigation procedure for this case: rerun the test in an isolated environment with a real permission denial rather than a simulated API response. If the decline appears only in the simulation, there is reason to review the evaluation environment before modifying the model or discarding the update. The company says it reconstructs tool responses from historical sessions and repository states to test different agents under the same conditions; however, newer models are better at detecting inconsistencies in these reconstructions.

The implication for companies is concrete: revalidate evaluations when updating models, especially when agents can access sensitive repositories or production infrastructure. It is also advisable not to treat a lab threshold as a direct guarantee of deployed behavior. The study does not provide results for each company's internal tests, so the observed gap will need to be checked against its own tools and workloads.

The sample is small and comes from Codex decisions, but the problem it highlights affects the use of evaluations as a filter for changes: a test that worked with one generation may no longer represent the next generation in the same way. In OpenAI's study, the relative ranking of the six models provided information; translating that score into a production success rate did not.

Sources: The New Stack, OpenAI, The Injection