Modelwire
Subscribe

Codex helps compress world map to 445 bytes using deflate

Illustration accompanying: Building a World Map with only 500 bytes

Iwo Kadziela and OpenAI's Codex demonstrated extreme data compression applied to cartography, encoding a recognizable world map in 445 bytes using deflate compression and JavaScript fetch operations. The technique highlights how modern AI-assisted coding can solve optimization puzzles that blend algorithmic efficiency with creative problem-solving. For developers, this signals renewed interest in compression-driven approaches to data representation, particularly relevant as LLM context windows remain constrained and inference costs scale with token volume. The collaboration between human and code-generation AI underscores a practical workflow where AI assists in discovering non-obvious technical solutions.

Modelwire context

Explainer

The real story isn't the map itself but the workflow: Codex was used not to write application code but to navigate a constrained optimization space, functioning more like a search tool over algorithmic possibilities than a code autocomplete. That's a meaningfully different use case than most Codex coverage describes.

This connects directly to two threads in recent coverage. The 'Podcast: The AI Tokenpocalypse Is Here' piece from 404 Media framed token volume as a hard cost constraint for production systems, and this project is essentially a worked example of what aggressive compression thinking looks like in practice. Separately, the GSRQ paper on sub-1-bit KV cache compression from arXiv (early July) attacked the same underlying pressure from the infrastructure side: memory overhead that scales with sequence length. Together, these stories sketch a consistent picture where compression is becoming a first-class engineering concern across the stack, from model internals to the data those models process.

Watch whether Codex-assisted compression experiments start appearing in LLM context-packing workflows specifically, where fitting more structured data into a fixed token budget has direct cost implications. If teams begin publishing benchmarks on Codex-optimized context compression within the next two quarters, this demo will look like an early signal rather than a curiosity.

This analysis is generated by Modelwire’s editorial layer from our archive and the summary above. It is not a substitute for the original reporting. How we write it.

MentionsIwo Kadziela · OpenAI Codex · Simon Willison

MW

Modelwire Editorial

This synthesis and analysis was prepared by the Modelwire editorial team. We use advanced language models to read, ground, and connect the day’s most significant AI developments, providing original strategic context that helps practitioners and leaders stay ahead of the frontier.

Modelwire summarizes, we don’t republish. Simon Willison originally reported this story as Building a World Map with only 500 bytes”. The full content lives on simonwillison.net. If you’re a publisher and want a different summarization policy for your work, see our takedown page.

Codex helps compress world map to 445 bytes using deflate · Modelwire