Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions models/minimax/MiniMax-M3.1-Flash-subscription.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json
provider: minimax
authType: subscription
apiSurface: openai-chat-completions
model: MiniMax-M3.1-Flash
status: active
params:
- path: max_tokens
type: integer
label: Max tokens
description: Maximum number of tokens to generate in the response. Thinking tokens count toward it.
range:
min: 1
group: generation_length
- path: reasoning_effort
type: enum
label: Reasoning effort
description: Sets how deeply the model thinks. Higher levels produce more thinking tokens at higher latency.
default: max
values:
- low
- medium
- high
- xhigh
- max
group: reasoning
26 changes: 26 additions & 0 deletions models/minimax/MiniMax-M3.1-Flash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# yaml-language-server: $schema=https://modelparams.dev/api/v1/schema.json
provider: minimax
authType: api_key
apiSurface: openai-chat-completions
model: MiniMax-M3.1-Flash
status: active
params:
- path: max_completion_tokens
type: integer
label: Max completion tokens
description: Maximum number of tokens to generate in the completion. Thinking tokens count toward it.
range:
min: 1
group: generation_length
- path: reasoning_effort
type: enum
label: Reasoning effort
description: Sets how deeply the model thinks. Higher levels produce more thinking tokens at higher latency.
default: max
values:
- low
- medium
- high
- xhigh
- max
group: reasoning
Original file line number Diff line number Diff line change
Expand Up @@ -22046,6 +22046,74 @@
}
]
},
{
"provider": "minimax",
"authType": "api_key",
"apiSurface": "openai-chat-completions",
"model": "MiniMax-M3.1-Flash",
"status": "active",
"params": [
{
"path": "max_completion_tokens",
"label": "Max completion tokens",
"description": "Maximum number of tokens to generate in the completion. Thinking tokens count toward it.",
"group": "generation_length",
"type": "integer",
"range": {
"min": 1
}
},
{
"path": "reasoning_effort",
"label": "Reasoning effort",
"description": "Sets how deeply the model thinks. Higher levels produce more thinking tokens at higher latency.",
"group": "reasoning",
"type": "enum",
"default": "max",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
]
},
{
"provider": "minimax",
"authType": "subscription",
"apiSurface": "openai-chat-completions",
"model": "MiniMax-M3.1-Flash",
"status": "active",
"params": [
{
"path": "max_tokens",
"label": "Max tokens",
"description": "Maximum number of tokens to generate in the response. Thinking tokens count toward it.",
"group": "generation_length",
"type": "integer",
"range": {
"min": 1
}
},
{
"path": "reasoning_effort",
"label": "Reasoning effort",
"description": "Sets how deeply the model thinks. Higher levels produce more thinking tokens at higher latency.",
"group": "reasoning",
"type": "enum",
"default": "max",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
]
},
{
"provider": "mistral",
"authType": "api_key",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@
"minimax/MiniMax-M2.7-subscription",
"minimax/MiniMax-M3",
"minimax/MiniMax-M3-subscription",
"minimax/MiniMax-M3.1-Flash",
"minimax/MiniMax-M3.1-Flash-subscription",
"mistral/codestral-2508",
"mistral/codestral-latest",
"mistral/devstral-2512",
Expand Down Expand Up @@ -787,6 +789,8 @@
"minimax/MiniMax-M2.7-subscription",
"minimax/MiniMax-M3",
"minimax/MiniMax-M3-subscription",
"minimax/MiniMax-M3.1-Flash",
"minimax/MiniMax-M3.1-Flash-subscription",
"mistral/codestral-2508",
"mistral/codestral-latest",
"mistral/devstral-2512",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@
"minimax/MiniMax-M2.7-subscription": minimax.Minimax_M2_7_SubscriptionParams,
"minimax/MiniMax-M3": minimax.Minimax_M3Params,
"minimax/MiniMax-M3-subscription": minimax.Minimax_M3_SubscriptionParams,
"minimax/MiniMax-M3.1-Flash": minimax.Minimax_M3_1_FlashParams,
"minimax/MiniMax-M3.1-Flash-subscription": minimax.Minimax_M3_1_Flash_SubscriptionParams,
"mistral/codestral-2508": mistral.Codestral_2508Params,
"mistral/codestral-latest": mistral.Codestral_LatestParams,
"mistral/devstral-2512": mistral.Devstral_2512Params,
Expand Down
22 changes: 22 additions & 0 deletions packages/modelparams-python/src/modelparams/types/minimax.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,26 @@
)
setattr(Minimax_M3_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)

Minimax_M3_1_FlashParams = TypedDict(
"Minimax_M3_1_FlashParams",
{
"max_completion_tokens": Annotated[int, Field(ge=1)],
"reasoning_effort": Literal["low", "medium", "high", "xhigh", "max"],
},
total=False,
)
setattr(Minimax_M3_1_FlashParams, "__pydantic_config__", _PARAMS_CONFIG)

Minimax_M3_1_Flash_SubscriptionParams = TypedDict(
"Minimax_M3_1_Flash_SubscriptionParams",
{
"max_tokens": Annotated[int, Field(ge=1)],
"reasoning_effort": Literal["low", "medium", "high", "xhigh", "max"],
},
total=False,
)
setattr(Minimax_M3_1_Flash_SubscriptionParams, "__pydantic_config__", _PARAMS_CONFIG)

__all__ = [
"Minimax_M2Params",
"Minimax_M2_SubscriptionParams",
Expand All @@ -211,4 +231,6 @@
"Minimax_M2_7_SubscriptionParams",
"Minimax_M3Params",
"Minimax_M3_SubscriptionParams",
"Minimax_M3_1_FlashParams",
"Minimax_M3_1_Flash_SubscriptionParams",
]
68 changes: 68 additions & 0 deletions packages/modelparams/src/generated/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22051,6 +22051,74 @@ const GENERATED_CATALOG = [
}
]
},
{
"provider": "minimax",
"authType": "api_key",
"apiSurface": "openai-chat-completions",
"model": "MiniMax-M3.1-Flash",
"status": "active",
"params": [
{
"path": "max_completion_tokens",
"label": "Max completion tokens",
"description": "Maximum number of tokens to generate in the completion. Thinking tokens count toward it.",
"group": "generation_length",
"type": "integer",
"range": {
"min": 1
}
},
{
"path": "reasoning_effort",
"label": "Reasoning effort",
"description": "Sets how deeply the model thinks. Higher levels produce more thinking tokens at higher latency.",
"group": "reasoning",
"type": "enum",
"default": "max",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
]
},
{
"provider": "minimax",
"authType": "subscription",
"apiSurface": "openai-chat-completions",
"model": "MiniMax-M3.1-Flash",
"status": "active",
"params": [
{
"path": "max_tokens",
"label": "Max tokens",
"description": "Maximum number of tokens to generate in the response. Thinking tokens count toward it.",
"group": "generation_length",
"type": "integer",
"range": {
"min": 1
}
},
{
"path": "reasoning_effort",
"label": "Reasoning effort",
"description": "Sets how deeply the model thinks. Higher levels produce more thinking tokens at higher latency.",
"group": "reasoning",
"type": "enum",
"default": "max",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
]
},
{
"provider": "mistral",
"authType": "api_key",
Expand Down
6 changes: 6 additions & 0 deletions packages/modelparams/src/generated/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1261,6 +1261,12 @@ export const DEFAULTS = {
temperature: 1,
top_p: 0.95,
},
"minimax/MiniMax-M3.1-Flash": {
reasoning_effort: "max",
},
"minimax/MiniMax-M3.1-Flash-subscription": {
reasoning_effort: "max",
},
"mistral/codestral-2508": {
top_p: 1,
presence_penalty: 0,
Expand Down
2 changes: 2 additions & 0 deletions packages/modelparams/src/generated/model-ids.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ export const MODEL_IDS = [
"minimax/MiniMax-M2.7-subscription",
"minimax/MiniMax-M3",
"minimax/MiniMax-M3-subscription",
"minimax/MiniMax-M3.1-Flash",
"minimax/MiniMax-M3.1-Flash-subscription",
"mistral/codestral-2508",
"mistral/codestral-latest",
"mistral/devstral-2512",
Expand Down
8 changes: 8 additions & 0 deletions packages/modelparams/src/generated/params-by-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2205,6 +2205,14 @@ export type ParamsById = {
temperature: number;
top_p: number;
};
"minimax/MiniMax-M3.1-Flash": {
max_completion_tokens: number;
reasoning_effort: "low" | "medium" | "high" | "xhigh" | "max";
};
"minimax/MiniMax-M3.1-Flash-subscription": {
max_tokens: number;
reasoning_effort: "low" | "medium" | "high" | "xhigh" | "max";
};
"mistral/codestral-2508": {
max_tokens: number;
stop: string;
Expand Down
Loading