[Feature]: Claude Code with 1M context support
Problem or motivation
I believe there is currently no way to use 1M context models instead of 200K ones since model is selected through the UI, not passed as string. Changing the model on config didn't work either.
Proposed solution
There is only 2 more options needed on model selector, "opus[1m]" and "sonnet[1m]", everything else should work fine since it can just be passed to cli anyways
Alternatives considered
No response
Before submitting
- [x] I have searched existing issues and feature requests for duplicates.
Shipped in v0.16.0 (commit fd80c42). opus[1m] and sonnet[1m] appear in the /model selector and route via Claude CLI with the 1M-context beta header. Pure pass-through: Claude CLI strips the [1m] suffix and sets the header internally, so there's nothing special on our side. Haiku intentionally omitted (no upstream 1M variant yet). Switch with /model → verify with a prompt over ~200k tokens.
Shipped in v0.16.0 (commit fd80c42).
opus[1m] and sonnet[1m] now appear in the /model selector. Routing is pure pass-through: Claude CLI strips the [1m] suffix and sets the 1M-context beta header internally, so there's nothing special on our side. Haiku intentionally omitted (no upstream 1M variant yet). Switch with /model, verify with a prompt over ~200k tokens — it Just Works.