feat(model_prices): add deepinfra/moonshotai/Kimi-K2.7-Code to model registry - #35891
feat(model_prices): add deepinfra/moonshotai/Kimi-K2.7-Code to model registry#35891nickhac wants to merge 1 commit into
Conversation
…registry Co-authored-by: Hermes Agent <hermes-agent@nousresearch.com>
Greptile SummaryThe PR registers
Confidence Score: 4/5The PR appears safe to merge, with the non-blocking concern that the new registry behavior has no focused regression test The model metadata is consistently added to both registries and uses supported fields, but no test directly protects lookup, capabilities, limits, or cost behavior for the newly registered model Files Needing Attention: model_prices_and_context_window.json
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds the canonical DeepInfra Kimi model metadata; the entry is structurally valid but lacks a focused regression test |
| litellm/model_prices_and_context_window_backup.json | Mirrors the new model metadata in the backup registry without introducing a content mismatch in the added entry |
Comments Outside Diff (1)
-
model_prices_and_context_window.json, line 46478-46488 (link)New model metadata lacks regression coverage
No focused test asserts lookup, limits, capabilities, and explicit zero-cost behavior for this newly registered model, so a future metadata regression can pass general registry validation while breaking model information or cost tracking
Context Used: CLAUDE.md (source)
Knowledge Base Used: Cost Tracking and Budget Enforcement
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Reviews (1): Last reviewed commit: "feat(model_prices): add deepinfra/moonsh..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Superseded by the rolling registry PR #38207, which carries these values re-verified against the provider's own pricing page/API (DeepInfra publishes $/token and 262144 context for the Kimi K2.5 and K2.7 Code entries). Maintainers asked for a single open model-pricing PR at a time. |
TLDR
Problem this solves:
deepinfra/moonshotai/Kimi-K2.7-Codeis available on deepinfra but missing frommodel_prices_and_context_window.jsonKeyErroror no cost trackingHow it solves it:
deepinfra/moonshotai/Kimi-K2.7-Codeentry with verified specs (context window, pricing, capabilities)Relevant issues / Links
moonshotai/Kimi-K2.7-CodeType
Changes
model_prices_and_context_window.json— adddeepinfra/moonshotai/Kimi-K2.7-Codeentrylitellm/model_prices_and_context_window_backup.json— sameSpecs
Pre-submission checklist
AI Assistance Disclosure
This contribution was AI-assisted using Hermes Agent (Nous Research).
Co-authored-by: Hermes Agent hermes-agent@nousresearch.com