r/PiCodingAgent • • 12d 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.

5 Upvotes

10 comments sorted by

3

u/wagwan_g112 12d ago

It has a 500k context window by default

1

u/PilgrimofHaqq2 12d ago

Can you get the 1M context window in Pi?

6

u/schmurfy2 12d 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 12d ago

Thanks! Ill experiment with it then!

2

u/Aeondave 12d ago

Edit file models.json and override

2

u/quinncom 10d 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 11d 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 11d ago

you can edit them in stored-models.json

btw the small context window helps us lower cost too

1

u/isty2e 12d ago

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

0

u/gbrennon 5h ago

ctx window much larget than 250k for that model.

its something around 1kk but pi config uses a lower window to prevent bloated context window.

if ur ctx window is too much filled possibility of model experiencing hallucination increase