10 ways to stretch free OpenAI Codex

Codex is included on ChatGPT Free, with the smallest allowance. Ten concrete steps — same output, less quota burned.

Ten tips

Since 2026, Free/Go resets roughly moved from weekly to monthly. Check tip #1 before you open a long session.

  1. 1

    Know the June 2026 Free reality — don’t plan for weekly refills

    Reports (Longbridge, Sina Tech): in June 2026 OpenAI quietly moved Free/Go Codex reset from ~7 days to ~30 days without raising monthly totals — roughly 75% less day-to-day headroom. Linux.do users note multi-account rotation got harder; bulk signups risk bans.

    Do this: Codex app → profile / usage — check your reset cycle and remaining quota before starting a long session.

    Getting started →
  2. 2

    Use `codex login` on Free — don’t accidentally use an API key

    Official CLI & codex-docs: ChatGPT sign-in uses plan Codex allowance; API keys bill the OpenAI Platform per token. Free includes no API credits — many “free” users bind a key and pay Platform instead.

    Do this: Run `codex login` → authorize with ChatGPT Free. Reserve `--with-api-key` for CI/automation only.

    Login & local Codex →
  3. 3

    Plan in chat, execute in Codex — separate rate limits

    Top OpenAI Community reply (DanKamNdi, Jun 2026): ChatGPT and Codex don’t share the exact same rate limits. Brainstorm, scope, and constrain in chat first; open Codex only when ready to implement — fewer “ rethink the structure ” loops inside Codex.

    Do this: Chat: lock Goal / files / don’t-touch modules / done-when → Codex: “Implement per above in src/foo.ts.”

    Chat vs Codex →
  4. 4

    Use low/medium reasoning for small edits

    Same thread: UI tweaks, comments, simple tests, obvious bugs → GPT-5.5 low or medium reasoning. High reasoning burns credits fast. Some users report 5.4 costs more than 5.3 — pick the leaner default for daily work.

    Do this: In CLI: `/model` → low/medium for typos; reserve high for architecture work.

    Models & reasoning →
  5. 5

    AGENTS.md byte caps — Reddit thread claims ~50% token savings

    Reddit r/codex (summarized on Tencent Dev Community, Jun 2026): `head -n 20` is unsafe — newline-less SQLite/JSON can dump MB in one line (20k→90k tokens). Fix: cap by bytes, not lines.

    Do this: In AGENTS.md: `COMMAND 2>&1 | head -c 4000` — never cat full logs or large binaries.

    Skills / rules files →
  6. 6

    Set tool_output_token_limit in config.toml

    GitHub openai/codex#16664: huge grep/test output enters context and can drain the 5-hour window on simple tasks. Official default ~10K tokens per tool output; override in config.

    Do this: In `~/.codex/config.toml`: `tool_output_token_limit = 8000` (community often uses 8k–16k; too small causes odd truncations).

    CLI config →
  7. 7

    Use /status and /compact — don’t wait for auto-compaction

    CLI docs & practitioner guides: above ~60% context, each turn costs more; auto-compaction also burns tokens. After each logical chunk, run `/compact` manually to avoid compaction spirals.

    Do this: Run `/status` for Context %; after a feature chunk: `/compact Focus on auth refactor only`.

    CLI commands →
  8. 8

    Don’t run full test suites after every tiny edit

    Reddit workflow + Tencent article: agents mechanically run npm test / vitest / playwright and flood context with logs. AGENTS.md should say: verify only when needed, and byte-cap test output.

    Do this: AGENTS.md: `npm test 2>&1 | head -c 4000`; add a `test:quiet` script in package.json.

    Prompt examples →
  9. 9

    On Free, stick to local tasks — cloud needs Plus

    OpenAI Codex Pricing (2026): Free focuses on local coding; cloud tasks, GitHub review, Slack need Plus+. Pushing cloud workflows on Free hits the wall fast.

    Do this: Iterate in VS Code / Cursor on a local repo; upgrade for cloud PR review instead of burning Free quota on cloud.

    What Free includes →
  10. 10

    Banked reset — save it for crunch time (Plus/Pro/Go)

    OpenAI Release Notes 2026-06-11: rate-limit reset banking — store a reset and trigger manually. Plus/Pro get a launch reset; Jun 11–24 referral gives both sides one reset (up to 3 invites). Free may not see it; self-referrals get revoked.

    Do this: Codex app → profile → usage / reset; use when quota is actually empty — banked resets often expire in 30 days.

    Limits & resets →

Open Codex with these tips in mind

Opens chatgpt.com/codex or run `codex login` locally. Free quota is tight — check /status before a long session.

Limits and pricing are set by OpenAI and may change. Independent guide, not affiliated with OpenAI.