Skip to content

Update BYOK to 1m context windows#51625

Merged
mikayla-maki merged 1 commit intomainfrom
1m-context-windows
Mar 16, 2026
Merged

Update BYOK to 1m context windows#51625
mikayla-maki merged 1 commit intomainfrom
1m-context-windows

Conversation

@mikayla-maki
Copy link
Copy Markdown
Member

@mikayla-maki mikayla-maki commented Mar 15, 2026

Before you mark this PR as ready for review, make sure that you have:

  • Added a solid test coverage and/or screenshots from doing manual testing
  • Done a self-review taking into account security and performance aspects
  • Aligned any UI changes with the UI checklist

Release Notes:

  • Updated our BYOK integration to support the new 1M context windows for Opus and Sonnet.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 15, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 15, 2026
@mikayla-maki mikayla-maki marked this pull request as ready for review March 15, 2026 20:45
@zed-codeowner-coordinator zed-codeowner-coordinator bot requested review from a team, benbrandt and bennetbo and removed request for a team March 15, 2026 20:46
@mikayla-maki mikayla-maki merged commit 662f2c7 into main Mar 16, 2026
42 checks passed
@mikayla-maki mikayla-maki deleted the 1m-context-windows branch March 16, 2026 16:10
@secondl1ght
Copy link
Copy Markdown

This change is only showing up in the Preview release notes, however it is silently already included in the Stable release for Zed-hosted Opus/Sonnet right now. The only reason I realized this is because my bill was growing larger than usual due to the fact that the context window indicator appeared to be at a low percentage, but it was actually high because I did not know it changed from 200K to 1M.

Also, I think this should be a configurable option to remain using the previous 200K window. 1M seems unreasonable with the Zed pricing model, you can very quickly spend a lot of money especially if you are keeping a thread going outside of the cache timeout. If users want to start new thread before 200K but the window is fixed at 1M, the percentage indicator in the UI becomes not very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants