---
title: "Pi folk, there is an issue with compaction in pi that might drain your codex limits faster"
date: 2026-08-25
canonical: https://solmaz.io/x/2092259537180856734/
x_url: https://x.com/onusoz/status/2092259537180856734
license: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
---

Pi folk, there is an issue with compaction in pi that might drain your codex limits faster

There is a 272k token limit after which the API charges 2x for input and 1.5x for output tokens

Issue: https://github.com/earendil-works/pi/issues/6879

@cancelik's extension is a workaround until this is solved upstream in pi:
