HOW TO / 10

How to make Codex usage last longer

Apply OpenAI's documented ways to reduce unnecessary context and use a better-matched model before your next five-hour or weekly reset.

LAST REVIEWED / 2026-09-16NEXT REVIEW / 2026-09-30INDEPENDENT GUIDE
QUICK ANSWER

Reduce irrelevant context before reducing the quality of the task. OpenAI recommends focused prompts, limited source material, scoped outputs, lean AGENTS.md files, fewer unnecessary MCP servers, and smaller models to make usage last longer.

01

Before the task

  • State the required outcome and separate it from optional improvements.
  • Attach only relevant files, folders, and date ranges.
  • Trim duplicated or overly broad instructions from AGENTS.md.
  • Disable MCP servers that are not needed for this task.
  • Choose a smaller model when the work is bounded and routine.
02

During and after the task

Ask for the output format and length you actually need. Split unrelated goals into separate tasks, and check /status after representative work instead of estimating from message count.

OpenAI says apparently similar tasks can consume different amounts because model, context, reasoning, tools, retrieval, and caching affect usage.

03

Boundary conditions

Efficiency is workload-dependent. A smaller model or shorter prompt is not automatically cheaper if it causes repeated failed attempts, and CodeReset cannot predict the cost of an unfinished task.

FAQ
Should I remove all project instructions?+

No. Keep instructions that prevent mistakes and remove only duplicated, stale, or irrelevant context. The goal is a focused task, not an under-specified one.

Should I disable every MCP server?+

Disable servers that are not needed for the current work. Keep the integrations required to complete the task correctly.

SOURCES

Evidence behind this guide

Each material claim keeps its own status, verification date, review deadline, and cited source.

officialDirectly supported by a first-party source.

OpenAI recommends focused prompts, limited source material, scoped outputs, lean AGENTS.md files, fewer unnecessary MCP servers, and smaller models to make usage last longer.

Checked
Verified 2026-09-16
Next review
Review by 2026-09-30
  • OpenAIhttps://learn.chatgpt.com/docs/pricing
officialDirectly supported by a first-party source.

OpenAI says apparently similar tasks can consume different amounts because model, context, reasoning, tools, retrieval, and caching affect usage.

Checked
Verified 2026-09-16
Next review
Review by 2026-09-30
  • OpenAIhttps://learn.chatgpt.com/docs/pricing