Skip to content

Commit 1afdde0

Browse files
author
PR Bot
committed
feat: upgrade MiniMax default model to M2.7
- Add MiniMax-M2.7 and MiniMax-M2.7-highspeed to model list - Set MiniMax-M2.7 as default model - Keep all previous models as alternatives - Update related tests
1 parent d5d4e40 commit 1afdde0

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

apps/sim/providers/minimax/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('MiniMax Provider', () => {
4646
})
4747

4848
it('has default model set', () => {
49-
expect(minimaxProvider.defaultModel).toBe('MiniMax-M2.5')
49+
expect(minimaxProvider.defaultModel).toBe('MiniMax-M2.7')
5050
})
5151
})
5252

apps/sim/providers/models.ts

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,13 +1190,41 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
11901190
id: 'minimax',
11911191
name: 'MiniMax',
11921192
description: "MiniMax's chat models",
1193-
defaultModel: 'MiniMax-M2.5',
1193+
defaultModel: 'MiniMax-M2.7',
11941194
modelPatterns: [/^minimax/i],
11951195
icon: MiniMaxIcon,
11961196
capabilities: {
11971197
toolUsageControl: true,
11981198
},
11991199
models: [
1200+
{
1201+
id: 'MiniMax-M2.7',
1202+
pricing: {
1203+
input: 0.3,
1204+
cachedInput: 0.06,
1205+
output: 1.2,
1206+
updatedAt: '2025-07-01',
1207+
},
1208+
capabilities: {
1209+
temperature: { min: 0.01, max: 1 },
1210+
maxOutputTokens: 192000,
1211+
},
1212+
contextWindow: 204800,
1213+
},
1214+
{
1215+
id: 'MiniMax-M2.7-highspeed',
1216+
pricing: {
1217+
input: 0.6,
1218+
cachedInput: 0.06,
1219+
output: 2.4,
1220+
updatedAt: '2025-07-01',
1221+
},
1222+
capabilities: {
1223+
temperature: { min: 0.01, max: 1 },
1224+
maxOutputTokens: 192000,
1225+
},
1226+
contextWindow: 204800,
1227+
},
12001228
{
12011229
id: 'MiniMax-M2.5',
12021230
pricing: {

0 commit comments

Comments
 (0)