MiniMax m3
MiniMax-M3Use the MiniMax M3 API for chat, coding, and reasoning. Send conversation messages and include tool definitions on supported routes. Use it to work through multi-step coding tasks or review longer technical material. Compare the available provider routes, request examples, and usage prices on OpenAny.
Auto route pricing
Route source: MiniMax
This route has conditional pricing. Review its tiers and requirements before calling.
- Published rate
- Conditional pricing
- Billing unit
- / 1M tokens
- Context / Max output
- 1000K / 128K
- Live routes
- 4
On this page
Overview
Use the MiniMax M3 API for chat, coding, and reasoning. Send conversation messages and include tool definitions on supported routes. Use it to work through multi-step coding tasks or review longer technical material. Compare the available provider routes, request examples, and usage prices on OpenAny.
Playground
Other parameters (8)
Result preview
MiniMax · 4668ms
Response example. Run to see the actual response.
{
"id": "0c4780e1-9046-4b2b-8b38-0e8c590dc844",
"model": "MiniMax-M3",
"usage": {
"total_tokens": 79,
"prompt_tokens": 42,
"completion_tokens": 37,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 28
}
},
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?",
"reasoning_content": "The user has simply said \"hello\" - this is a greeting. I should respond in a friendly and welcoming manner."
},
"finish_reason": "stop"
}
],
"created": 1784615368,
"openmodels_cost": 50
}Agent handoff preview
Providers
| Provider | Pricing | Latency | Uptime | Supply | Route |
|---|---|---|---|---|---|
Live | Input $0.290 / 1M tokens Output $1.159 Cache read $0.058 Cache write — | 2729ms | — | Verified | |
Live | Input $0.290 / 1M tokens Output $1.159 Cache read $0.058 Cache write — | 3386ms | — | Verified | |
Live | Input $0.277 / 1M tokens Output $1.110 Cache read $0.054 Cache write — | 4668ms | — | Verified | |
Live | Input $0.030 / 1M tokens Output $0.120 Cache read $0.006 Cache write — | — | — | Community |
| Tier | Input | Output | Cache read |
|---|---|---|---|
| ≤ 512k · 0–512000 token | $0.277 | $1.110 | $0.054 |
| > 512k · 512000–∞ token | $0.555 | $2.220 | $0.108 |
Source: the selected provider route in OpenAny's public model catalog. A price update timestamp is not supplied.
API
- Base URL
https://api.openany.si/v1- POST
/v1/chat/completions- Authentication
Authorization: Bearer $OPENANY_API_KEY
Request parameters
| Parameter | Type / range | Default value | Required | Description |
|---|---|---|---|---|
messages | array | — | Yes | Messages in conversation order. |
model | string | — | Yes | Public model name used by OpenAny. |
max_completion_tokens | integer · 1 ~ 524288 | — | No | Maximum number of output tokens to generate. |
max_tokens | integer · >= 1 | — | No | max_tokens |
reasoning_split | boolean | — | No | reasoning_split |
route | object | — | No | OpenAny routing settings. |
route_mode | string | — | No | OpenAny route selection mode. |
service_tier | string · standard | priority | — | No | service_tier |
stream | boolean | — | No | Enable streaming responses. |
stream_options | object | — | No | stream_options |
thinking | object | — | No | Thinking mode for the model. |
tools | array | — | No | tools |
Request example
curl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"content": "hello",
"role": "user"
}
],
"model": "MiniMax-M3"
}'Response example
Configured response example · not a live result
{
"id": "0c4780e1-9046-4b2b-8b38-0e8c590dc844",
"model": "MiniMax-M3",
"usage": {
"total_tokens": 79,
"prompt_tokens": 42,
"completion_tokens": 37,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 28
}
},
"object": "chat.completion",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help you today?",
"reasoning_content": "The user has simply said \"hello\" - this is a greeting. I should respond in a friendly and welcoming manner."
},
"finish_reason": "stop"
}
],
"created": 1784615368,
"openmodels_cost": 50
}Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.JSON Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"model",
"messages"
],
"properties": {
"model": {
"type": "string",
"description": "Public model name used by OpenAny."
},
"route": {
"type": "object",
"properties": {
"provider": {
"type": "string"
}
},
"description": "OpenAny routing settings."
},
"tools": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"function"
],
"properties": {
"type": {
"enum": [
"function"
],
"type": "string"
},
"function": {
"type": "object",
"required": [
"name",
"parameters"
],
"properties": {
"name": {
"type": "string"
},
"parameters": {
"type": "object"
}
}
}
}
}
},
"stream": {
"type": "boolean",
"description": "Enable streaming responses."
},
"messages": {
"type": "array",
"items": {
"type": "object",
"required": [
"role"
],
"properties": {
"name": {
"type": "string"
},
"role": {
"enum": [
"system",
"user",
"assistant",
"tool"
],
"type": "string"
},
"content": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "object",
"required": [
"type"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"enum": [
"text",
"image_url",
"video_url"
],
"type": "string"
},
"image_url": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string"
},
"detail": {
"enum": [
"low",
"default",
"high"
],
"type": "string"
},
"max_long_side_pixel": {
"type": "integer",
"minimum": 1
}
}
},
"video_url": {
"type": "object",
"required": [
"url"
],
"properties": {
"fps": {
"type": "number",
"maximum": 5,
"minimum": 0.2
},
"url": {
"type": "string"
},
"detail": {
"enum": [
"low",
"default",
"high"
],
"type": "string"
},
"max_long_side_pixel": {
"type": "integer",
"minimum": 1
}
}
}
}
}
}
]
},
"tool_calls": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"type",
"function"
],
"properties": {
"id": {
"type": "string"
},
"type": {
"enum": [
"function"
],
"type": "string"
},
"function": {
"type": "object",
"required": [
"name",
"arguments"
],
"properties": {
"name": {
"type": "string"
},
"arguments": {
"type": "string"
}
}
}
}
}
},
"tool_call_id": {
"type": "string"
}
}
},
"description": "Messages in conversation order."
},
"thinking": {
"type": "object",
"required": [],
"properties": {
"type": {
"enum": [
"disabled",
"adaptive"
],
"type": "string"
}
},
"description": "Thinking mode for the model."
},
"max_tokens": {
"type": "integer",
"minimum": 1,
"deprecated": true
},
"route_mode": {
"type": "string",
"description": "OpenAny route selection mode."
},
"service_tier": {
"enum": [
"standard",
"priority"
],
"type": "string"
},
"stream_options": {
"type": "object",
"properties": {
"include_usage": {
"type": "boolean"
}
}
},
"reasoning_split": {
"type": "boolean"
},
"max_completion_tokens": {
"type": "integer",
"maximum": 524288,
"minimum": 1,
"description": "Maximum number of output tokens to generate."
}
}
}Examples
Request example
POST /v1/chat/completionscurl 'https://api.openany.si/v1/chat/completions' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"content": "hello",
"role": "user"
}
],
"model": "MiniMax-M3"
}'