Skip to content

Route both GLM models 75% to Continuum and expand Flash context - #1026

Merged
AnthonyRonning merged 2 commits into
masterfrom
codex-glm75-maple
Sep 24, 2026
Merged

AnthonyRonning merged 2 commits into
masterfrom
codex-glm75-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

GLM 5.3 and GLM 5.3 Flash currently assign 30% of healthy Router V2 account buckets to Continuum. Increase both to 75% Continuum / 25% Tinfoil, including Auto when it selects either model. The planner combines provider and model-route weights: each Continuum route now uses weight 700, giving 30 * 700 : 70 * 100 = 75 : 25. Identify this policy as routing-v2-weighted-v5.

Raise Flash's shared context window from 262,144 to 1,048,576 tokens now that both providers support it. This propagates through the public model catalog, token budgets, Responses history assembly, and Auto Quick fallback eligibility. Continuum's v1.57.0 model configuration sets --max-model-len=1048576; its model overview and Tinfoil's model metadata agree. GLM 5.3's context limit is outside this change.

Eligible remembered routes retain precedence, so these percentages describe deterministic account buckets rather than per-request shares. Health gates, fallback, first-send/replay rules, legacy routing, and customer pricing retain their existing behavior.

Validation covers all account buckets across Chat, Responses, and internal workloads; the 74/75 boundary; image-helper provider selection; V1 preference independence; remembered routes; and fallback in both directions. Context tests cover catalog/token-budget propagation, Flash history above the former limit, the 1M boundary, and Auto fallback. Smaller-alternate guards remain tested with an explicit synthetic pairing; capacity-contract tests use a real incompatible-tool-history case because Quick's two models now share the same window.

Pinned backend Nix validation, with stateful shell hooks disabled:

  • Focused registry, routing, planner, Auto, catalog and context tests: 133 passed.
  • cargo fmt --all -- --check: passed.
  • RUSTFLAGS='-D warnings' cargo clippy --locked --all-targets --all-features -- -D warnings: passed.
  • RUSTFLAGS='-D warnings' cargo test --locked --all-features: 727 passed, 0 failed, 32 ignored.

This is source and local-test evidence; no live provider inference or backend deployment was performed for this PR.

@AnthonyRonning AnthonyRonning changed the title Route GLM 5.3 account buckets 75% to Continuum Route both GLM models 75% to Continuum and expand Flash context Sep 24, 2026
@AnthonyRonning
AnthonyRonning merged commit ffd636b into master Sep 24, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant