feat(nodeagent): Kimi K3 default agentic route, demote GLM-Nebius#216
Merged
Conversation
…ebius The live-run probe (room NRNXCFYJK5B) showed every fresh room landing on the GLM-Nebius orchestrator route. This promotes moonshotai/kimi-k3 (1M context) to the front of the openrouter agent/chat/coding/judge/analysis/deepResearch preference ladders; z-ai/glm-5.2 is DEMOTED to a fallback, never dropped. - modelPricing: kimi-k3 added ($3/$15 per 1M, 1M ctx) so cost/receipts are non-zero and honest (getProviderForModel already routes moonshotai/* to OpenRouter, whose key ships in prod). - The live default is also env-driven (AGENT_ORCHESTRATOR_MODEL); that convex env flip is a separate, cost-bearing prod change staged after the P0 write-path fix (#215) deploys — NOT included here. Changed areas: - src - modelCatalog kimi-k3 pricing + openrouter preference reorder - tests - kimiK3Default pins priced/provider/lead-of-ladder - docs - ORCHESTRATOR_WORKER_ROUTING orchestrator model - README - routing prose + honest cost framing (caps, not stale $/job) Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Scaffold Handoff — For Your Coding Agent
Immutability CheckMode: advisory ✅ No immutable files were modified in this branch. Changed Files
Needs Adversarial Review — Do NOT Apply YetThese proposals passed the reject check but have not been approved by
Safety Boundary
Immutable files (never modify):
Scaffold files (safe to modify):
|
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.
What
Promotes
moonshotai/kimi-k3(1M context) to the front of the OpenRouteragent/chat/coding/judge/analysis/deepResearch preference ladders.
z-ai/glm-5.2is demoted to a fallback, never dropped. Kimi K3 added to
modelPricing($3/$15 per 1M, 1M ctx) so cost/receipts stay non-zero and honest.
Why
The live-agent probe (room
NRNXCFYJK5B) showed every fresh room landing on theGLM-Nebius orchestrator route. Directive: make Kimi K3 the default.
Scope — two layers, one here
Changes what a fresh clone / CI / new deploy picks and what the ladder prefers.
AGENT_ORCHESTRATOR_MODEL/AGENT_MODELin convex (zealous-goshawk-766), currently GLM-Nebius. Flippingthose to
moonshotai/kimi-k3is a cost-bearing prod change ($3/$15 vs thecheaper GLM) and is staged to land after PR fix(nodeagent): blank-sheet write deadlock + accrued doom-loop breaker #215 (the P0 write-path fix)
deploys — otherwise the agent still can't write, so a model flip proves nothing.
Cost stays bounded by
AGENT_MAX_USD_PER_SLICE=0.50,ROOM_MAX_USD_PER_DAY=3,GLOBAL_MAX_USD_PER_MONTH=100.Verification
tests/kimiK3Default.test.ts(3/3): priced, routes to OpenRouter, leads theagent/chat/coding ladders with GLM surviving as fallback.
floorrunning.🤖 Generated with Claude Code