feat(model):add wandb model offerings to include kimi-k2.5 and minimax-m2.5#25409
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR adds two new WandB model offerings — Confidence Score: 5/5Safe to merge — purely additive model metadata with no logic changes. All four files are consistent: constants.py, both JSON files, and the test are in sync. The test uses a local cost map (no network calls), follows the same pattern as existing pricing tests, and correctly asserts the new pricing values. No existing tests are weakened or removed. No files require special attention.
|
| Filename | Overview |
|---|---|
| litellm/constants.py | Adds moonshotai/Kimi-K2.5 and MiniMaxAI/MiniMax-M2.5 to the WANDB_MODELS set, consistent with existing entries and JSON keys. |
| model_prices_and_context_window.json | Adds wandb/moonshotai/Kimi-K2.5 and wandb/MiniMaxAI/MiniMax-M2.5 with pricing, context window, capability flags, and source URLs — matches the backup file. |
| litellm/model_prices_and_context_window_backup.json | Kept in sync with the main JSON file; includes both new WandB model entries. |
| tests/test_litellm/test_cost_calculator.py | Adds test_wandb_model_api_pricing_entries that uses a local cost map (no network calls) to assert input/output pricing for both new models. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[WANDB_MODELS set\nlitellm/constants.py] -->|includes| B["moonshotai/Kimi-K2.5"]
A -->|includes| C["MiniMaxAI/MiniMax-M2.5"]
B --> D["wandb/moonshotai/Kimi-K2.5\nin JSON price map\n262K ctx, $0.60/$3.00 per M tokens\nsupports reasoning, vision, function calling"]
C --> E["wandb/MiniMaxAI/MiniMax-M2.5\nin JSON price map\n197K ctx, $0.30/$1.20 per M tokens\nsupports reasoning, function calling"]
D --> F["model_prices_and_context_window.json\n+ backup.json"]
E --> F
F --> G["test_wandb_model_api_pricing_entries\nasserts input/output cost per token"]
Reviews (2): Last reviewed commit: "feat(model):add wandb model offerings to..." | Re-trigger Greptile
ee06b92
into
BerriAI:litellm_oss_staging_04_11_2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Relevant issues
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/test_litellm/directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit@greptileaiand received a Confidence Score of at least 4/5 before requesting a maintainer reviewDelays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
CI (LiteLLM team)
Branch creation CI run
Link:
CI run for the last commit
Link:
Merge / cherry-pick CI run
Links:
Type
🆕 New Feature
Changes