refactor(opencode): normalize legacy pricing into tiers - #44292
opencode-agent[bot] wants to merge 6 commits into
Conversation
Consolidating on
Otherwise the removals are consistent across schemas, conversions, OpenAPI, and SDK types — nice, thorough sweep. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Summary
context_over_200kinto an internal 200k context tier only when no explicit tiers existcost.tiersexperimentalOver200Kcompatibility output only at the public projection boundaryCompatibility
No external schema changes. Existing config continues to accept
context_over_200k, and API/SDK consumers continue to receive the existing compatibility field. Internal provider/session pricing uses tiers exclusively.Scope
Only
packages/opencoderuntime and tests. Nopackages/core, models.dev, config-schema, SDK, or OpenAPI changes.Testing
Requested by: @rekram1-node (Aiden via Slack)