Codex now pulls 80% less data from the API: a 7.48 MB thread shrinks to 930 KB
Codex, OpenAI's coding agent, constantly receives data from the Responses API, the interface it uses to talk to models. OpenAI engineer Charlie Marsh reported that after compression, his own threads now carry about 80% less of this data: one thread dropped from 7.48 MB to 930 KB. This is a bandwidth saving, not a speed gain: Codex did not become 80% faster. Anyone building agents should measure the volume of network responses in long sessions and turn compression on.
AI-processed from X: @Cuiszt_Cui; edited by Hamidun News
When people talk about the efficiency of AI agents, they usually think of tokens and response latency. But long working sessions have another cost: how many bytes travel between the client and the server. Codex, OpenAI's programming agent, constantly receives data from the Responses API, the interface it uses to reach its models. OpenAI engineer Charlie Marsh said that in his own threads (that is, working sessions), Codex now receives roughly 80% less data from it. One example: a thread that took up 7.48 megabytes now weighs 930 kilobytes after compression.
What actually changed
The problem is familiar to anyone who has built an app with long message histories or logs. An agent session keeps growing: messages pile up, tool call results, pieces of code, and command output. If all of that is sent in full each time, response volume balloons quickly.
Imagine a messenger that re-downloads the entire chat history, attachments included, every time you open a conversation. Now imagine the same history arriving packed. The conversation and its meaning are unchanged, but the channel carries many times less. That is roughly how to understand this optimization: less data is transferred, and the agent's output stays the same.
The numbers deserve a separate note. The example of 7.48 MB and 930 KB is a reduction of about eightfold, or roughly 88%. The stated "about 80%" is an estimate across Marsh's threads overall. It is reasonable to read it as an order of magnitude, not as a guarantee for any project.
What not to expect
The author himself qualifies the claim: it is mainly about bandwidth savings, not about Codex working 80% faster. These are different metrics. An agent's working time is made up of model speed, command execution, waiting on tools, and the network. Compression only helps with the last part. On fast office internet the difference is almost unnoticeable, while on a weak connection, over a VPN, or in a remote development environment it may be significant.
The second limitation is the source. These are measurements by one engineer on his own threads, not a published benchmark across different projects. His threads may be unusually long or full of data that compresses well. Results in other scenarios can differ. The original message does not say how the compression works or in which Codex versions it is available.
What developers should take away
If you are building your own agent on top of the API, this story is a useful reminder of a dull but real cost item. A few practical steps:
- Measure not only tokens and response time, but also the actual size of network responses in a typical session. Megabytes per thread are a reason to take a closer look.
- Check whether HTTP-level compression is enabled on both the client and server side. Text data such as JSON and logs usually compresses very well.
- If the agent runs in a cloud sandbox or your users have weak connections, smaller traffic can translate into shorter waits and lower outbound data bills.
- Do not conflate channel optimization with model acceleration. Claiming "5 times faster" where only the data volume shrank is dishonest toward users.
Overall, this is a small but telling engineering detail. When agents run for hours and accumulate context, the size of the data they transfer becomes part of product quality. For now we have the word of one engineer and one concrete example, but the direction is clear: the infrastructure around models is being optimized as carefully as the models themselves.
- Nov 29, 2026Five AI Agents Now Share One Memory: Search Finds the Right Page in 89% of Cases
- Nov 29, 2026Free LLMs via API Routers: Four Calls to TeamoRouter Cost $0.00000043
- Nov 29, 2026Mira Murati's Laptop Model With 32 GB Beat Qwen 27B in 32 of 48 Benchmarks
- Nov 28, 2026openset-llm Promises a 27-Billion-Parameter Model on an 8 GB CPU at 17–20 Tokens/s
Key Questions Answered
What actually changed?
The problem is familiar to anyone who has built an app with long message histories or logs. An agent session keeps growing: messages pile up, tool call results, pieces of code, and command output. If all of that is sent in full each time, response volume balloons quickly. Imagine a messenger that re-downloads the entire chat history, attachments included, every time you open a conversation. Now imagine the same history arriving packed.
What not to expect?
The author himself qualifies the claim: it is mainly about bandwidth savings, not about Codex working 80% faster. These are different metrics. An agent's working time is made up of model speed, command execution, waiting on tools, and the network. Compression only helps with the last part. On fast office internet the difference is almost unnoticeable, while on a weak connection, over a VPN, or in a remote development environment it may be significant. The second limitation is the source.
What developers should take away?
If you are building your own agent on top of the API, this story is a useful reminder of a dull but real cost item. A few practical steps: Measure not only tokens and response time, but also the actual size of network responses in a typical session. Megabytes per thread are a reason to take a closer look. Check whether HTTP-level compression is enabled on both the client and server side. Text data such as JSON and logs usually compresses very well.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
