feat(pricing): add ZenMux Kimi K3 rates - #71
Conversation
moonshotai/kimi-k3-free showed as unpriced even though its price is known to be zero. The ID comes from ZenMux, whose catalog lists the free route at $0/$0/$0 and the paid route at $3/$15 with a $0.30 cache-hit rate, matching Moonshot's official published rates. Toki simply had no entry, and a reported cost of exactly zero does not count as a known price, so a genuinely free model could never resolve. Register both IDs as exact-only. This matters in both directions: without it the free ID would inherit the paid rates through a moonshotai/kimi-k3 prefix match, and unknown future tiers would inherit one of the two. Neither ID publishes a cache-write rate, so cache writes stay at zero.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reached
Next review available in: 54 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Why
moonshotai/kimi-k3-freedisplayed as unpriced in the Models tab, even though its price is known to be zero.Traced the ID to ZenMux via
~/.hermes/config.yamland its models.dev cache, which lists:moonshotai/kimi-k3moonshotai/kimi-k3-freeThe paid figures match Moonshot's official published K3 rates ($3 / $15 with a $0.30 cache-hit rate), which cross-validates the catalog. Note the
-freesuffix is a ZenMux convention, not OpenRouter's:free, so web lookups for the exact ID find nothing.Toki had no entry for either ID. And because
isPriceKnownrequiresevent.cost > 0or a table hit, a reported cost of exactly zero never counts as known — so a genuinely free model could not resolve as free. It renderedunpricedinstead of$0.00.What
Add both IDs and register both as exact-only.
Exact-only matters in both directions here:
moonshotai/kimi-k3-freewould inherit the paid $3/$15 through amoonshotai/kimi-k3prefix match;moonshotai/kimi-k3-turbowould silently inherit one of the two rates.Neither ID publishes a cache-write rate, so cache writes stay at zero. This follows the existing
kr/claude-opus-5andzai-org/GLM-5.2pattern.Verification
kimi-k3-turboresolve to $3/$15 andkimi-k3-free-previewresolve to $0, and the test catches both.swiftformat --lint0/210,swiftlint --strict, andgit diff --checkclean.Note
Only
moonshotai/kimi-k3-freeappears in the local ledger today. The paid ID is included so switching routes does not reintroduce an unpriced row. ZenMux also offersmoonshotai/kimi-k2.7-code-freeat zero; it is not added here since it is unused.