Keep going in Codex when Claude Code hits a limit
Hitting a 5-hour cap mid-refactor shouldn't send you back to square one. Let Cerium hand the thread to Codex automatically, or switch before you hit zero.
Turn on automatic failover
By default, Cerium pauses when a limit runs out and resumes the same session once it resets. Once
both claude and codex are signed in on your machine, switch that policy
so Codex takes over right away:
-
Set the default in Settings → General
Under Usage limits, change When a limit runs out to Switch harness. Cerium picks the next available model from another harness and never bounces back to an exhausted provider.
-
Or change it for a single thread
Open the model menu in the composer and set When usage runs out to Switch (or Wait / Stop) just for that conversation.
Switch early before you hit zero
You don't have to wait for an interrupted turn. When Claude Code drops to 5% left on a meter, a pill appears above the composer showing what remains, when it resets, and a Continue on Codex button.
You can also switch manually at any turn: click the active model in the composer (or type
/), choose a Codex model, review what carries across, and confirm. If a turn is
already running, Cerium wraps it up cleanly before handing over.
What moves over, and what stays behind
Providers don't share private session state, so Cerium writes a short handoff brief into the new Codex session alongside your live folder or worktree:
-
Carries over to Codex
- Your recent turns verbatim plus a summary of older ones
- Tool calls from the cut-off turn so finished edits aren't redone
- All changed files on disk in the same folder or git worktree
- Your active plan, checkpoints, and any running subagents
-
Stays behind
- Claude Code's private internal session memory
- Raw tool outputs from earlier turns (Codex re-reads files on disk)
- Open approval prompts from the interrupted turn
Once Codex finishes the work, you can run a cross-lab diff review before committing.