r/PiCodingAgent • • Nov 01 '26

Discussion What is everyone's experience with the billion context extension?

I've been seeing the [billion context](https://pi.dev/packages/billion-context) gain a fair bit of downloads on pi.dev. I did try it but it never really solved my biggest issues with Qwen 27b running locally with 128k context.

Am I misconfiguring it or something? How are you guys using it?

29 Upvotes

25 comments sorted by

2

u/Normal_Guard_8207 Nov 01 '26

I use it on 200k context. Most of the time it works better than the original compaction, but sometimes it just mix things up, like telling me that I said something that the agent itself said instead, or asking me things that the agent itself thought about earlier in the conversation.

Qwen 3.8FN q3_s

1

u/tusharkant15 Nov 01 '26

Ya I've noticed it gaslight me as well. 😅

1

u/Thrumpwart Nov 01 '26

TBH q3_s may be the culprit there...

22

u/CryptographerLow7817 Nov 01 '26

2

u/No_Algae1753 Nov 01 '26

You the goat been searching for something like the the last days

1

u/amb007_ Nov 01 '26

How does this compare with pi-vcc?

3

u/No_Algae1753 Nov 01 '26

afaik pi-vcc basically compresses toolcalls / messages into a block which the llm then can recall

1

u/deaffob Nov 01 '26

Holy moly this would be awesome if it works.

1

u/tunerhd Nov 03 '26

> Anthropic Messages and OpenAI Chat Completions only; openai-responses and other wire formats fall through to Pi's default. Pi's built-in hosted OpenAI provider uses openai-responses, so hosted GPT models are not covered. The OpenAI Chat Completions path is new in 0.3.0 (see Verified against); any malformed request falls back to Pi's default rather than failing the compaction.

1

u/CryptographerLow7817 Nov 03 '26

I think u can open issue on github

10

u/Slight-Living-8098 Nov 01 '26

Total crap. Was worse than just going through auto compaction. I uninstalled it after a week of playing with it.

1

u/ReoTempo Nov 02 '26

how do you evaluate it?
I had total different outcome, I also did some benchmarks: performance slightly improved but time and cost increased for tasks that would use between 300k and 400k context without compaction.

1

u/Slight-Living-8098 Nov 02 '26

I evaluated it by just using it daily and seeing how it performed and how several model's responses were while using it with real projects.

2

u/Aggressive_Basket798 Nov 01 '26

I'm using it on 192k context, it will automatically compress when reach about 120-130k context . The quality seem fine but sometime i feel the original compaction do better

2

u/llqoli Nov 01 '26

I suggest you switch to pi-clm instead of a larger context.

2

u/ReoTempo Nov 02 '26 edited Nov 02 '26

I did some benchmarks with deepseek-4.1-flash, on tasks that would take between 300k and 400k context, the peformnce is slightly increased but cost and time goes up (doubled).
Opus 5.5 seems to be completely ignoring the tool and it does not use compress unless you explicitly tell to do it.

1

u/cato_gts Nov 01 '26

I kept encountering an "ACP Proxy error" quite frequently while using it.

1

u/TechnoCat Nov 03 '26

I've been using context-mode for a while. Seems to be working, but I'm not a big LLM user so my context rarely hits 1M. Can anyone provide guidance on if this is any good?  -  https://pi.dev/packages/context-mode

1

u/TechnoCat Nov 03 '26

I did a tiny bit of testing comparing none, context-mode, rtk, and both. context-mode alone had the least token use followed by none, both, and lastly rtk. 

1

u/joaopn Nov 03 '26

The non-deprecated path (`billi pi`) installs a MITM proxy + CA certificate. It also self-updates every 3 minutes. Very scam-shaped.

2

u/DynTraitObj 28d ago

It is even worse than that, actually, depending on which LLM you're using. That injected proxy tries doing fun things like adding tools mid-conversation stream which instantly invalidates your entire cache. I only found out thanks to another plugin watching my cache rate. Why is it doing suspicious stuff like this? Inquiring minds want to know.

I use primarily Deepseek so rather than saving me money, I was spending about 20x for the privilege of giving some random plugin relatively free reign across my system. I figured out it was doing this by making Pi instrument itself to figure out what the hell (which is really neat, Pi is <3 ). Pi/Deepseek indeed did figure it out and promptly tore everything bili related out of my system. Cache hit rate immediately returned to 97%

Deepseek's advice was to just let pi's built-in compacting do it on 1M context window and that was plenty. I'm using it combined with a local onnx instance I had Pi wire in and I'm exceptionally happy with the result

1

u/TrentKM Nov 04 '26

I haven’t had any issues with it. I don’t get agents compacting mid-turn and redoing code that was edited two turns ago.

I sometimes wonder if the missing context is hurting me either in recollection or if I’m missing cache hits, but I don’t notice on the former and I need better data to answer the latter.

My magpie score is 100, but I’ve only been using magpie for like a day. Heavy usage, and my subs are basically untouched.

Edit: I tried pi-blackhole for a while and that was trash, in comparison.

1

u/UniversityIll2701 20d ago

I just tried this, I did not like it at all. Nothing got better for me on 96K context, system prompt gets super bloated in large projects

0

u/gnomodojardim Nov 01 '26

You mean downloading more VRAM is not working?

-2

u/wikitopian Nov 01 '26

Switch to plurnk. It's basically pi, but with bulk addressable journaled context curation instead of compaction. It even works fine down to absurdly low <20k situations where pi compaction gives up.

The model fully owns and controls its own context, with an unlimited extended context it can swap out to.