Repository navigation
feat(pricing): add minimax/MiniMax-M2.7 to cost map - #33063
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
Greptile SummaryThis PR adds a native
Confidence Score: 5/5Safe to merge — both JSON files receive identical, well-formed entries with no logic changes anywhere in the codebase. The change is purely additive: two JSON files each receive one new cost-map entry. The pricing arithmetic is correct, the capability flags align with the sibling model entry, the tiered pricing fields are intentionally absent because the model's context window falls well below the 512k tier, and both files are kept in sync. There are no code paths, migrations, or tests touched. No files require special attention.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Adds minimax/MiniMax-M2.7 entry with correct pricing ($0.30/$1.20/$0.06 per 1M tokens), context window (204800/196608), and capability flags consistent with the sibling MiniMax-M3 entry minus vision support. |
| litellm/model_prices_and_context_window_backup.json | Mirror backup file updated identically to match the primary JSON — both files are consistent. |
Reviews (1): Last reviewed commit: "feat(pricing): add minimax/MiniMax-M2.7 ..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Superseded by rolling registry audit #37902, which reverified and absorbed the provider-documented metadata changes at field level |
Relevant issues
Fixes #33058
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)Screenshots / Proof of Fix
The model now resolves via the local cost map (captured at commit 07f3691):
Type
🆕 New Feature
Changes
Adds a native
minimax/MiniMax-M2.7entry tomodel_prices_and_context_window.jsonand itslitellm/model_prices_and_context_window_backup.jsonmirror. Previously the model only existed under non-native prefixes (sambanova/,fireworks_ai/,pinstripes/), so callers using the native MiniMax provider got no cost tracking or context-window metadataPricing comes from the official MiniMax platform pricing page (input $0.30 / 1M, output $1.20 / 1M); the cached-input rate ($0.06 / 1M) mirrors the sibling
minimax/MiniMax-M3entry. Flags followminimax/MiniMax-M3minussupports_visionsince M2.7 is text-only. Context window is 204,800 tokens per the published model detailsFinal Attestation
Link to Devin session: https://app.devin.ai/sessions/070b486ca2ba4772a8a3dbceceb60a12