r/PiCodingAgent • • 7d ago

Question Anyone using Codex Sub in Pi?

What is the context window you get with the sub? Is it still 250k? Would love to try 6.2 Astra but dont want it if the context window is nerfed.

4 Upvotes

9 comments sorted by

3

u/wagwan_g112 7d ago

It has a 500k context window by default

1

u/PilgrimofHaqq2 7d ago

Can you get the 1M context window in Pi?

6

u/schmurfy2 7d ago

Two options:

  • disable auto compaction (I trigger it myself if I want it ).
  • edit the model config to up it

Be careful through, the reason it's not 1M by default is that the larger your context is the higher the write cost is, openai have multiple pricing depending on it.

1

u/PilgrimofHaqq2 7d ago

Thanks! Ill experiment with it then!

2

u/Aeondave 7d ago

Edit file models.json and override

1

u/quinncom 6d ago
  • gpt-6.2-sol has a 500k context window by default
  • gpt-6.2-astra has a 272k context window by default.

Defaults are defined in ~/.pi/agent/models-store.json

5

u/Remote_Book 7d ago

OpenAI doesn't cap context windows by plans. They just set a default. You can move it to whatever you prefer / the model supports (for astra: 1 million)

2

u/Ang_Drew 7d ago

you can edit them in stored-models.json

btw the small context window helps us lower cost too

1

u/isty2e 7d ago

Just edit relevant files. I'm personally using pi-codex-conversion though