Skip to content

Commit b0f68f5

Browse files
committed
feat(llm-model-catalog): add MiniMax provider models MiniMax-M3 and MiniMax-M2.7
Add catalog metadata and token pricing for MiniMax-M3 and MiniMax-M2.7 so runs on these models are matched for observability and cost attribution, then regenerate defaultPrices.ts and modelCatalog.ts from the JSON sources.
1 parent 8d321f8 commit b0f68f5

4 files changed

Lines changed: 144 additions & 0 deletions

File tree

internal-packages/llm-model-catalog/src/default-model-prices.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3987,5 +3987,48 @@
39873987
}
39883988
}
39893989
]
3990+
},
3991+
{
3992+
"id": "minimax-m3",
3993+
"modelName": "MiniMax-M3",
3994+
"matchPattern": "(?i)^(minimax/)?(MiniMax-M3)$",
3995+
"createdAt": "2026-07-29T00:00:00.000Z",
3996+
"updatedAt": "2026-07-29T00:00:00.000Z",
3997+
"pricingTiers": [
3998+
{
3999+
"id": "minimax-m3_tier_default",
4000+
"name": "Standard",
4001+
"isDefault": true,
4002+
"priority": 0,
4003+
"conditions": [],
4004+
"prices": {
4005+
"input": 0.0000006,
4006+
"output": 0.0000024,
4007+
"input_cache_read": 0.00000012
4008+
}
4009+
}
4010+
]
4011+
},
4012+
{
4013+
"id": "minimax-m2-7",
4014+
"modelName": "MiniMax-M2.7",
4015+
"matchPattern": "(?i)^(minimax/)?(MiniMax-M2.7)$",
4016+
"createdAt": "2026-07-29T00:00:00.000Z",
4017+
"updatedAt": "2026-07-29T00:00:00.000Z",
4018+
"pricingTiers": [
4019+
{
4020+
"id": "minimax-m2-7_tier_default",
4021+
"name": "Standard",
4022+
"isDefault": true,
4023+
"priority": 0,
4024+
"conditions": [],
4025+
"prices": {
4026+
"input": 0.0000003,
4027+
"output": 0.0000012,
4028+
"input_cache_read": 0.00000006,
4029+
"input_cache_creation": 0.000000375
4030+
}
4031+
}
4032+
]
39904033
}
39914034
]

internal-packages/llm-model-catalog/src/defaultPrices.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3108,4 +3108,41 @@ export const defaultModelPrices: DefaultModelDefinition[] = [
31083108
},
31093109
],
31103110
},
3111+
{
3112+
modelName: "MiniMax-M3",
3113+
matchPattern: "(?i)^(minimax/)?(MiniMax-M3)$",
3114+
startDate: "2026-07-29T00:00:00.000Z",
3115+
pricingTiers: [
3116+
{
3117+
name: "Standard",
3118+
isDefault: true,
3119+
priority: 0,
3120+
conditions: [],
3121+
prices: {
3122+
input: 6e-7,
3123+
output: 0.0000024,
3124+
input_cache_read: 1.2e-7,
3125+
},
3126+
},
3127+
],
3128+
},
3129+
{
3130+
modelName: "MiniMax-M2.7",
3131+
matchPattern: "(?i)^(minimax/)?(MiniMax-M2.7)$",
3132+
startDate: "2026-07-29T00:00:00.000Z",
3133+
pricingTiers: [
3134+
{
3135+
name: "Standard",
3136+
isDefault: true,
3137+
priority: 0,
3138+
conditions: [],
3139+
prices: {
3140+
input: 3e-7,
3141+
output: 0.0000012,
3142+
input_cache_read: 6e-8,
3143+
input_cache_creation: 3.75e-7,
3144+
},
3145+
},
3146+
],
3147+
},
31113148
];

internal-packages/llm-model-catalog/src/model-catalog.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,34 @@
11
{
2+
"MiniMax-M2.7": {
3+
"provider": "minimax",
4+
"description": "MiniMax's text-only large language model with a 204,800-token context window and always-on thinking for step-by-step reasoning.",
5+
"contextWindow": 204800,
6+
"maxOutputTokens": null,
7+
"capabilities": ["extended_thinking"],
8+
"releaseDate": null,
9+
"isHidden": false,
10+
"supportsStructuredOutput": false,
11+
"supportsParallelToolCalls": false,
12+
"supportsStreamingToolCalls": false,
13+
"deprecationDate": null,
14+
"knowledgeCutoff": null,
15+
"resolvedAt": "2026-07-29T00:00:00.000Z"
16+
},
17+
"MiniMax-M3": {
18+
"provider": "minimax",
19+
"description": "MiniMax's large language model with a 1,000,000-token context window that accepts text, image, and video input and supports adaptive thinking that can be switched on or off.",
20+
"contextWindow": 1000000,
21+
"maxOutputTokens": null,
22+
"capabilities": ["vision", "extended_thinking"],
23+
"releaseDate": null,
24+
"isHidden": false,
25+
"supportsStructuredOutput": false,
26+
"supportsParallelToolCalls": false,
27+
"supportsStreamingToolCalls": false,
28+
"deprecationDate": null,
29+
"knowledgeCutoff": null,
30+
"resolvedAt": "2026-07-29T00:00:00.000Z"
31+
},
232
"chatgpt-4o-latest": {
333
"provider": "openai",
434
"description": "OpenAI's flagship multimodal model optimized for speed and cost, capable of processing text, images, and audio with strong performance across reasoning, coding, and creative tasks.",

internal-packages/llm-model-catalog/src/modelCatalog.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,40 @@ import type { ModelCatalogEntry } from "./types.js";
44
// Run `pnpm run generate-catalog` to update the JSON, then `pnpm run generate` to regenerate.
55

66
export const modelCatalog: Record<string, ModelCatalogEntry> = {
7+
"MiniMax-M2.7": {
8+
provider: "minimax",
9+
description:
10+
"MiniMax's text-only large language model with a 204,800-token context window and always-on thinking for step-by-step reasoning.",
11+
contextWindow: 204800,
12+
maxOutputTokens: null,
13+
capabilities: ["extended_thinking"],
14+
releaseDate: null,
15+
isHidden: false,
16+
supportsStructuredOutput: false,
17+
supportsParallelToolCalls: false,
18+
supportsStreamingToolCalls: false,
19+
deprecationDate: null,
20+
knowledgeCutoff: null,
21+
resolvedAt: "2026-07-29T00:00:00.000Z",
22+
baseModelName: null,
23+
},
24+
"MiniMax-M3": {
25+
provider: "minimax",
26+
description:
27+
"MiniMax's large language model with a 1,000,000-token context window that accepts text, image, and video input and supports adaptive thinking that can be switched on or off.",
28+
contextWindow: 1000000,
29+
maxOutputTokens: null,
30+
capabilities: ["vision", "extended_thinking"],
31+
releaseDate: null,
32+
isHidden: false,
33+
supportsStructuredOutput: false,
34+
supportsParallelToolCalls: false,
35+
supportsStreamingToolCalls: false,
36+
deprecationDate: null,
37+
knowledgeCutoff: null,
38+
resolvedAt: "2026-07-29T00:00:00.000Z",
39+
baseModelName: null,
40+
},
741
"chatgpt-4o-latest": {
842
provider: "openai",
943
description:

0 commit comments

Comments
 (0)