You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Moonshot and Z.ai providers: stale default model, kimi code door address, missing GLM-5.4 #2893
Found while writing the Kimi and GLM guides for agentfield.ai on 2026-11-23. All three are in internal/modelsource/modelsource.go.
Moonshot default model is closed to new accounts.moonshotPreferredModel = "kimi-k2.7-code" is both the preferred model and the key probe (ProbeModel). Moonshot's models page says K2.7 Code and K2.6 are unavailable to new users and expected to be deprecated in late December 2026; the flagship is K3.1 Pro (https://platform.kimi.ai/docs/models.md). The Moonshot row has Listing: ListingNone, so a new user has no model list to fall back on. A new account's key may fail the probe.
The kimi code door points at the China address. The door uses https://api.kimi.com/coding/v1. Kimi Code's docs give api.kimi.ai/coding/v1 for overseas and api.kimi.com/coding/v1 for mainland China (https://www.kimi.com/code/docs/en/). The door also probes with kimi-k2.7-code, which is not among the plan's model IDs. Untested: we have no Kimi Code membership.
Replication. In a throwaway home: CODEAF_HOME=$(mktemp -d) codeaf connect moonshot --region intl with a key from a Moonshot account created after K2.7 Code closed, and check whether the probe accepts it.
Acceptance.
codeaf connect moonshot --region intl accepts a new account's key and prints moonshot is connected.
/model offers kimi-k3.1-pro.
The coding-plan door lists GLM-5.4.
The manual page internal/manual/chat/services.md names the same models.
Through OpenRouter both families work today: v0.8.2 fixed a failing pytest test on moonshotai/kimi-k3.1-pro and z-ai/glm-5.3.
Activity