feat: add MiniMax M2.7 model support (#357)

Add MiniMax-M2.7 to provider models and pricing config alongside
existing M2.5. M2.7 is the latest reasoning model with 204K context.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Anurag Saxena 2026-03-19 04:34:36 -04:00 committed by GitHub
parent fd4ec9e5b8
commit a0500dfc85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View file

@ -198,10 +198,12 @@ export const PROVIDER_MODELS = {
{ id: "kimi-latest", name: "Kimi Latest" },
],
minimax: [
{ id: "MiniMax-M2.7", name: "MiniMax M2.7" },
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" },
{ id: "MiniMax-M2.1", name: "MiniMax M2.1" },
],
"minimax-cn": [
{ id: "MiniMax-M2.7", name: "MiniMax M2.7" },
{ id: "MiniMax-M2.5", name: "MiniMax M2.5" },
{ id: "MiniMax-M2.1", name: "MiniMax M2.1" },
],

View file

@ -744,6 +744,20 @@ export const DEFAULT_PRICING = {
// MiniMax
minimax: {
"MiniMax-M2.7": {
input: 0.50,
output: 2.00,
cached: 0.25,
reasoning: 3.00,
cache_creation: 0.50
},
"MiniMax-M2.5": {
input: 0.50,
output: 2.00,
cached: 0.25,
reasoning: 3.00,
cache_creation: 0.50
},
"MiniMax-M2.1": {
input: 0.50,
output: 2.00,