Stopping Conditions: How to Teach GPT-5.5 Not to Overdo It and Deliver Precise Answers

Stopping Conditions: How to Teach GPT-5.5 Not to Overdo It and Deliver Precise Answers

In April 2025, OpenAI released an official prompting guide for GPT-5.5. The biggest surprise wasn't about prompt length or structure. For the first time, the company explicitly defined the principle of stopping conditions: the model must understand when a task is finished and stop.

It sounds obvious. But in practice, most prompts don't account for this—and the model continues to generate text, adds unnecessary reasoning, loses focus, and provides an answer that requires manual cleanup.

What is a stopping condition and why is it important?

A stopping condition is an explicit instruction to the model on when a task is considered complete. Without it, GPT-5.5 continues to 'think' even when the answer is already ready.

A real-world example: a prompt for analyzing error logs in a web application. Without a stopping condition, the model analyzes the error, suggests a fix, checks related code sections, searches for similar patterns in other modules—and ends up outputting two pages of text instead of three paragraphs with the solution.

With an explicit stopping condition, the prompt looks like this:

"Analyze the error, find the cause, suggest a fix. Stopping criteria: the fix is described, related tasks are documented separately. Do not expand the scope to refactoring neighboring modules."

The result: the model stops exactly at the point where the task is solved. No extra reasoning, no attempts to improve surrounding code, no digressions into architecture.

How it works in practice

Igor Maslennikov, who writes a blog on prompt engineering and develops agents based on Claude and GPT, analyzed his 'process-logs' workflow—a 663-line prompt for processing error logs. One section read:

"Test the fix mentally: what else could break? Check for similar patterns elsewhere in codebase."

This instruction can be executed indefinitely. The model doesn't know when to stop—and either under-delivers (if it gets tired of the long prompt) or over-delivers (if it decides to follow the letter of the law).

After rewriting it according to the new OpenAI rules, the section became three times shorter:

"Goal: production stays clean. Each fix addresses the root cause, not symptoms. Stopping criteria: similar pattern checked, fix is committed, related issues documented as separate tasks. Don't expand scope into refactoring unless explicitly asked."

The key change is the explicit stopping criteria. The model now knows: as soon as the fix is committed, similar patterns are checked, and related tasks are documented—the work is done.

Where stopping conditions have the maximum effect

The technique works everywhere the model is prone to overthinking—continuing analysis where the task is already solved.

  • Research tasks — the model gathers facts, checks sources, and forms conclusions. Without a stopping condition, it will continue to look for additional confirmation even after the answer is ready.
  • Coding — the model writes a function, tests it, and fixes bugs. Without an explicit boundary, it will start refactoring neighboring code or suggesting architectural improvements.
  • Data analysis — the model builds visualizations, identifies trends, and draws conclusions. Without a stopping condition, it will add three more charts and two extra slices that no one asked for.
  • Writing texts — the model formulates a thesis, provides arguments, and draws a conclusion. Without a boundary, it will continue to develop the thought, add extra examples, and blur the focus.

In all these cases, a stopping condition saves tokens, speeds up work, and makes the answer more precise.

How to properly formulate a stopping condition

OpenAI recommends describing the result, not the process. Not "take five steps," but "the task is solved when X, Y, and Z exist."

Bad version:

"Analyze the data, build a chart, draw conclusions, check for outliers, add additional visualizations if necessary."

Good version:

"Goal: understand if sales are growing by region. Stopping criteria: chart by region exists, top 3 growing regions identified, anomalies documented. Additional slices—only if data is ambiguous."

The difference: the model understands what counts as completed work. As soon as there is a chart, the top 3, and the anomalies—the work is done.

Stopping conditions vs. imperatives

An important clarification from the same OpenAI guide: stopping conditions are not imperatives like ALWAYS or NEVER. They are descriptions of a successful result.

Imperatives are needed for true invariants—cases where a violation would lead to catastrophe. For example:

"NEVER delete files automatically. File removal requires manual verification."

This is an invariant. Deleting a file accidentally means losing work without a backup.

But most instructions in prompts are not invariants, but recommendations. And for them, describing the result plus a stopping condition works better than a rigid imperative.

Real-world use cases

The OpenAI finance team used Codex to process 24,771 K-1 tax forms totaling 71,637 pages. The task took two weeks less time than usual.

The key change in the prompt was adding a stopping condition:

"Stopping criteria: each form checked for field completeness, discrepancies identified, problematic cases documented. Additional analysis—only for forms with discrepancies above 5%."

Without this, the model would have continued to analyze each form deeper than necessary—searching for patterns, building hypotheses, adding context. With an explicit boundary, it stopped exactly at the point where the task was solved.

A similar case—the OpenAI marketing team automated weekly business reports via Codex. Savings: 5–10 hours per week.

The key change—the prompt explicitly stated:

"Stopping criteria: data from CRM aggregated, top 5 metrics visualized, deviations from last week identified. Deep analysis—only if a metric dropped by more than 15%."

Without a stopping condition, the model would have kept digging—building forecasts, looking for correlations, adding extra slices. With an explicit boundary, it delivered a finished report in one run.

How to implement this in your prompts

Three simple steps:

  1. Describe the goal — what should be the output.
  2. Add stopping criteria — what counts as completed work.
  3. Remove unnecessary instructions — everything that can be expressed through the result rather than the process.

Example for a competitor analysis task:

Before: "Find competitors, gather information on each, analyze their strengths and weaknesses, compare with our product, suggest ideas for improvement."

After: "Goal: understand how competitors are stronger than us. Stopping criteria: top 3 competitors described, their key advantages identified, 3 specific actions for our product suggested. Additional analysis—only if data is contradictory."

The result—the model provides a precise answer without unnecessary reasoning.

What's next

OpenAI continues to update its prompting recommendations. Stopping conditions are the first step toward models understanding not just 'what to do,' but 'when to stop.'

The next logical step is models that formulate their own stopping criteria based on the task. But until that happens, stopping conditions must be written manually.

The good news is that the technique works not only on GPT-5.5 but also on Claude Opus 4.7, Gemini 3.1 Pro, and other frontier models. The principle is universal: the more accurately the model understands when a task is solved, the better the result.

Try GPT-5.5, Claude Opus 4.7, and other models with stopping condition support in GEMERA AI—via our Telegram bot or web dashboard. All frontier models in one place, no VPN required, and payment available with Russian cards.