Skip to content

fix(providers): refresh zai/kimi/moonshot/xai catalogs against July 2026 vendor docs - #109666

Merged
steipete merged 2 commits into
mainfrom
feat/local-models-ws-c
Jul 17, 2026
Merged

steipete merged 2 commits into
mainfrom
feat/local-models-ws-c

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #109228 (local-model onboarding track).

What Problem This Solves

Vendor catalogs and setup hints had drifted: Z.AI GLM-5.x prices were stale or zeroed, Kimi/Moonshot hints referenced retired K2.6 wording and embedded volatile prices, and xAI docs lacked Grok Build CLI guidance and the long-context pricing caveat.

Why This Change Was Made

Audited all four bundled vendor plugins against live vendor documentation, with a citation on every change:

  • Z.AI: GLM-5.2 and GLM-5.1 now use $1.40 input / $0.26 cached input / $4.40 output; GLM-4.7 Flash is free; FlashX is $0.07; GLM-4.6V and GLM-4.5V cache pricing is corrected from the docs.z.ai pricing reference.
  • Kimi Coding: verified the api.kimi.com/coding Anthropic-compatible endpoint and /v1 OpenAI-compatible endpoint, confirmed k3 and k3[1m], and replaced embedded prices with links to Kimi membership pricing and the Kimi Code Console.
  • Moonshot: verified the catalog against platform.kimi.ai, including the 1,048,576-token k3 context and K2.7/K2.6/K2.5 rows; removed stale K2.6 auth wording and replaced volatile prices with live pricing links.
  • xAI: verified grok-4.5, grok-build-0.1, and grok-code-fast-1; linked the Grok Build CLI at x.ai/cli and documented the long-context rate caveat.

User Impact

Correct cost accounting for Z.AI models and accurate setup hints across all four providers. No behavior changes beyond metadata, pricing, and documentation.

Evidence

  • Focused plugin Vitest lanes passed: Z.AI 39 tests, Kimi Coding 46 tests, Moonshot 29 tests, xAI 356 tests.
  • pnpm format and git diff --check clean.
  • Autoreview clean at 0.98 confidence.
  • Every change carries a vendor-documentation citation; see the commit.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation extensions: kimi-coding extensions: moonshot extensions: zai size: S maintainer Maintainer-authored PR labels Jul 17, 2026
@steipete steipete self-assigned this Jul 17, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. labels Jul 17, 2026
@clawsweeper

clawsweeper Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 17, 2026, 1:37 AM ET / 05:37 UTC.

Summary
Refreshes six Z.AI catalog cost records, updates Kimi/Moonshot onboarding labels and links, aligns registration expectations, and adds current provider guidance to the Z.AI, Moonshot, and xAI docs.

PR surface: Source 0, Tests +13, Docs +24. Total +37 across 11 files.

Reproducibility: yes. at the source level: current main contains the stale cost and setup metadata, and live vendor documentation provides a high-confidence comparison path. No real provider setup was executed during this read-only review.

Review metrics: 1 noteworthy metric.

  • Z.AI catalog cost records: 6 changed. These values feed local estimated usage cost, so direct vendor-contract verification matters before merge.

Stored data model
Persistent data-model change detected: vector/embedding metadata: docs/providers/xai.md, vector/embedding metadata: docs/providers/zai.md. Confirm migration or upgrade compatibility proof before merge.

Merge readiness
Overall: 🦪 silver shellfish
Proof: 🦪 silver shellfish
Patch quality: 🐚 platinum hermit
Result: blocked until real behavior proof from a real setup is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P1] Add redacted live models list output showing the Z.AI cost metadata and onboarding output showing the new Kimi/Moonshot labels.
  • Rebase onto current main and refresh the exact-head review after adding proof.

Proof guidance:

  • [P1] Needs real behavior proof before merge: Focused tests and CI are supplemental only; add redacted terminal or copied live output showing the refreshed catalog and onboarding choices, update the PR body, and ask a maintainer for @clawsweeper re-review if a fresh review does not trigger automatically.

Risk before merge

  • [P1] No after-change live output demonstrates that users actually see the corrected Z.AI costs and refreshed Kimi/Moonshot onboarding labels.
  • [P1] The branch is behind current main, so final proof and review should cover the exact rebased head rather than only the current PR snapshot.

Maintainer options:

  1. Decide the mitigation before merge
    Keep the plugin-owned metadata and documentation update, add a redacted terminal capture of models list plus the relevant onboarding choices from the PR head, then rebase and complete exact-head review.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • [P1] This implementation PR needs contributor-supplied real behavior proof and exact-head maintainer review; no separate automated code repair is identified.

Security
Cleared: The diff adds no dependencies, executable downloads, workflow permissions, package-resolution changes, or secret-handling behavior.

Review details

Best possible solution:

Keep the plugin-owned metadata and documentation update, add a redacted terminal capture of models list plus the relevant onboarding choices from the PR head, then rebase and complete exact-head review.

Do we have a high-confidence way to reproduce the issue?

Yes at the source level: current main contains the stale cost and setup metadata, and live vendor documentation provides a high-confidence comparison path. No real provider setup was executed during this read-only review.

Is this the best way to solve the issue?

Yes; updating the owning plugin manifests and descriptors, aligned contract expectations, and provider docs is the narrowest maintainable fix, with live user-visible proof still required before merge.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against dfe9e55452e5.

Label changes

Label justifications:

  • P2: The PR fixes provider-scoped cost accounting and onboarding guidance with meaningful but limited blast radius.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: Focused tests and CI are supplemental only; add redacted terminal or copied live output showing the refreshed catalog and onboarding choices, update the PR body, and ask a maintainer for @clawsweeper re-review if a fresh review does not trigger automatically.
Evidence reviewed

PR surface:

Source 0, Tests +13, Docs +24. Total +37 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 7 31 31 0
Tests 1 19 6 +13
Docs 3 31 7 +24
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 81 44 +37

What I checked:

  • Current-main drift: Current main still carries zero or stale Z.AI costs and K2.6-specific Kimi/Moonshot onboarding copy, so the central correction has not already landed. (extensions/zai/openclaw.plugin.json:41, dfe9e55452e5)
  • Z.AI vendor contract: The live Z.AI pricing page explicitly lists GLM-5.2 and GLM-5.1 at $1.40 input, $0.26 cached input, and $4.40 output; it also supports the Flash, FlashX, GLM-4.6V, and GLM-4.5V corrections. (extensions/zai/openclaw.plugin.json:41, 6536edfa2ef8)
  • Kimi vendor contract: Official Kimi Code documentation confirms the Anthropic-compatible https://api.kimi.com/coding/ endpoint, OpenAI-compatible /v1 endpoint, console key flow, and membership-based service described by the PR. (extensions/kimi-coding/index.ts:45, 6536edfa2ef8)
  • xAI vendor contract: Official xAI model, pricing, release-note, and Grok Build documentation confirm Grok 4.5, Grok Build 0.1, the CLI guidance, and the higher long-context rate caveat. Public docs: docs/providers/xai.md. (docs/providers/xai.md:124, 6536edfa2ef8)
  • Owner boundary: The touched onboarding, authentication hints, and catalog metadata remain in their owning bundled plugins, matching repository extension-boundary policy; the shared SDK edit only updates a registration contract expectation. (extensions/moonshot/index.ts:28, 6c14549069b6)
  • Feature history: File history for extensions/kimi-coding/index.ts shows steipete carried the provider-catalog move, onboarding move, Kimi canonicalization, SDK-boundary refactors, and bundled-provider packaging; scoootscooob most recently fixed Kimi thinking normalization. (extensions/kimi-coding/index.ts:1, dfe9e55452e5)

Likely related people:

  • steipete: Current-main history shows repeated ownership of provider catalog relocation, onboarding relocation, Kimi canonicalization, plugin SDK boundary refactors, and bundled-provider packaging; this independently connects the PR author to prior merged history. (role: provider architecture and recent area contributor; confidence: high; commits: 6c1433a, 7df0ced, 03f5036; files: extensions/kimi-coding/index.ts, extensions/moonshot/index.ts, extensions/zai/openclaw.plugin.json)
  • scoootscooob: The latest visible current-main history entry on the Kimi plugin fixes thinking normalization, making this person relevant to adjacent Kimi catalog and onboarding behavior. (role: recent Kimi runtime contributor; confidence: medium; commits: 9acb4c8; files: extensions/kimi-coding/index.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (1 earlier review cycle)
  • reviewed 2026-07-17T05:24:27.986Z sha 6536edf :: needs real behavior proof before merge. :: none

@steipete
steipete merged commit 630b168 into main Jul 17, 2026
118 checks passed
@steipete
steipete deleted the feat/local-models-ws-c branch July 17, 2026 05:41
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 17, 2026
…026 vendor docs (openclaw#109666)

* fix(providers): refresh vendor catalogs and setup hints

* test(providers): align registration metadata expectations
zooqueen pushed a commit to zooqueen/openclaw that referenced this pull request Sep 11, 2026
…026 vendor docs (openclaw#109666)

* fix(providers): refresh vendor catalogs and setup hints

* test(providers): align registration metadata expectations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation extensions: kimi-coding extensions: moonshot extensions: zai maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: S status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant