HACKER Q&A
📣 tabmate

Any good ways to extend Codex sessions?


I am on the Plus tier plan and the recent changes to the limits are really limiting - just two tasks and 5 hour limit gone. While I understand the Plus plan is for spread out usage throughout the week, it can get frustrating fast. Any advice on extending the session by reducing consumed tokens? I did clean up the AGENTS.md file but doesn't seem to do any good.


  👤 freakynit Accepted Answer ✓
1. Use context compression proxies/tools. These can compress anywhere from 5% to over 95% depending on the workload. Search github for these.

2. Use bigger models for creating detailed plan, and then use smaller cheap models, like deepseek-v4-flash, or gemini-3-flash for actual implementation. This works really well.

3. Do not just keep chatting in the same session. Try to start a new session for evrry new chat message, or at most like after 2-3 chat messages. if needed, you can ask it summarize the details and use that as context for new chat session.

4. Implement the features in small sets, not one go.. and reset session after every set is done.

5. Keep AGENTS.md small, just the basic info about your project, and the file paths and what that file contains and do and then, general guideleines (10 max).


👤 pitched
Switch to codex! That will extend sessions 4x at least.

Outside of that, the key is to keep context as low as possible. The cost of a token increases a lot as context grows. My current favourite approach to that is RPI. Run the Research, Plan, and Implement phases each in their own isolated agent that produces a markdown file for the next.


👤 spqw
I got great results by (1) using pi coding agent - i often see a 20x fdifference with code cli whoch is more token hungry (2) using an advisor strategy. See https://platform.claude.com/docs/en/agents-and-tools/tool-us... I use GPT-5.3-Codex-Spark for all tasks and it will ask help to GPT-5.5 when the task is complex enough (3) using rtk