Repository navigation
Support Continuum GLM Flash on legacy and v2 routers - #953
Merged
Merged
Conversation
Contributor
|
Maple development preview: https://7e40b38c.maple-ca8.pages.dev Commit: Uses development API, billing, flags and PCR configuration. Cloudflare Access applies. |
AnthonyRonning
marked this pull request as ready for review
September 16, 2026 23:04
Add opt-in legacy routing and a 90/10 router-v2 allocation with capacity gates. Keep public model IDs stable, align the Flash context window with both providers, and retire Kimi K2.6 from current model selection.
AnthonyRonning
force-pushed
the
codex-glmflash-maple
branch
from
September 16, 2026 23:08
db5a863 to
04935a9
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tinfoil Flash rate limits currently leave legacy-router users without an alternative provider. Add Continuum/Edgeless for the same public
glm-5-3-flashmodel on both routing paths, while retaining the shared customer price of $0.80 input / $2.50 output / $0.20 cached input per million tokens.Routing and rollout
provider-routing.glm-5-3-flash.continuum. True selects Continuum; false, missing configuration, failed lookup or timeout retains Tinfoil. If Continuum is unconfigured, selection falls back to Tinfoil. Existing GLM 5.3 flags remain unchanged. V1 does not gain automatic health failover.glm-5-3-flash; upstream IDs are Tinfoilglm-5-3-flashand Continuumglm-5.3-flash.Deploy companion billing PR #104 before enabling Continuum Flash usage, so costs and cached-input charges are recorded correctly. Deploy the backend before enabling the new v1 flag for selected accounts. V2 can be enabled separately for a small known cohort exercising both providers. Backend feature-flag results can remain cached for ten minutes. Source changes do not enable production flags.
Catalog and client changes
Validation
At the updated backend head, local pinned Nix checks passed:
zaprite.rs).Ignored database/live-provider tests were not run. This update adds no new live provider or encrypted-client smoke evidence; deployed behavior remains a separate check. Existing frontend changes are unchanged by the v1 routing follow-up.
Customer pricing remains unchanged in both drafts. Actual Continuum cache hit rates and usage costs should inform later pricing or allocation changes; per-direction provider-price differences alone do not determine whole-request economics.