ModelChatCodingReasoning

MiniMax m2.5

MiniMax-M2.5

Use the MiniMax M2.5 API for chat, coding, and reasoning. Send messages to get text responses, explanations, or proposed code changes. 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

Input / Output
Input: $0.290Output: $1.159
Cache read / write
Cache read: $0.027Cache write: $0.337
Context / Max output
200K / 128K
Live routes
1

Rates / 1M tokens

Image output: Price not supplied

These are separate usage rates, not a total request price.

On this page

Overview

Use the MiniMax M2.5 API for chat, coding, and reasoning. Send messages to get text responses, explanations, or proposed code changes. 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

Provider

Auto route pricing Input $0.290 · Output $1.159 / 1M tokens

Request parameters

POST /v1/chat/completions
Other parameters (13)

Result preview

MiniMax · 1391ms

Response example. Run to see the actual response.

{
  "id": "0c4780e1-9046-4b2b-8b38-0e8c590dc844",
  "model": "MiniMax-M2.5",
  "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

Auto route · Input $0.290 · Output $1.159 / 1M tokens
ProviderPricingLatencyUptimeSupplyRoute
Live
Input $0.290 / 1M tokens
Output $1.159
Cache read $0.027
Cache write $0.337
1391ms—Verified
Selected pricing · MiniMaxUSD / 1M tokens
Input
$0.290
Output
$1.159
Cache read
$0.027
Cache write
$0.337

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

Provider

Auto route pricing Input $0.290 · Output $1.159 / 1M tokens

Request parameters

ParameterType / rangeDefault valueRequiredDescription
messagesarray—YesThe conversation messages
modelstring—YesThe model to use
frequency_penaltynumber · -2 ~ 20NoPenalty for repeated tokens
max_completion_tokensinteger · >= 1—NoMaximum visible completion tokens
max_tokensinteger · >= 1—NoMaximum completion tokens
ninteger · 1 ~ 1281NoNumber of choices to generate
presence_penaltynumber · -2 ~ 20NoPenalty for previously used tokens
response_formatobject—NoFormat constraint for the response
routeobject—NoOpenAny route configuration, including provider and other routing parameters
route_modestring—NoThe mode for routing the request
seedinteger—NoSeed for deterministic sampling
stopstring | array—NoSequences that stop generation
streambooleanfalseNoWhether to stream the response
temperaturenumber · 0 ~ 21NoSampling temperature
tool_choicestring | object—NoTool selection policy: string modes none, auto, or required, or an object selecting a specific tool
toolsarray—NoTools available to the model
top_pnumber · 0 ~ 11NoNucleus sampling probability

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-M2.5",
  "frequency_penalty": 0,
  "n": 1,
  "presence_penalty": 0,
  "stream": false,
  "temperature": 1,
  "top_p": 1
}'

Response example

Configured response example · not a live result

JSON
{
  "id": "0c4780e1-9046-4b2b-8b38-0e8c590dc844",
  "model": "MiniMax-M2.5",
  "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": {
    "n": {
      "type": "integer",
      "default": 1,
      "maximum": 128,
      "minimum": 1,
      "description": "Number of choices to generate"
    },
    "seed": {
      "type": "integer",
      "description": "Seed for deterministic sampling"
    },
    "stop": {
      "type": [
        "string",
        "array"
      ],
      "items": {
        "type": "string"
      },
      "description": "Sequences that stop generation"
    },
    "model": {
      "type": "string",
      "description": "The model to use"
    },
    "route": {
      "type": "object",
      "description": "OpenAny route configuration, including provider and other routing parameters"
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Tools available to the model"
    },
    "top_p": {
      "type": "number",
      "default": 1,
      "maximum": 1,
      "minimum": 0,
      "description": "Nucleus sampling probability"
    },
    "stream": {
      "type": "boolean",
      "default": false,
      "description": "Whether to stream the response"
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "The conversation messages"
    },
    "max_tokens": {
      "type": "integer",
      "minimum": 1,
      "description": "Maximum completion tokens"
    },
    "route_mode": {
      "type": "string",
      "description": "The mode for routing the request"
    },
    "temperature": {
      "type": "number",
      "default": 1,
      "maximum": 2,
      "minimum": 0,
      "description": "Sampling temperature"
    },
    "tool_choice": {
      "anyOf": [
        {
          "enum": [
            "none",
            "auto",
            "required"
          ],
          "type": "string"
        },
        {
          "type": "object"
        }
      ],
      "description": "Tool selection policy: string modes none, auto, or required, or an object selecting a specific tool"
    },
    "response_format": {
      "type": "object",
      "description": "Format constraint for the response"
    },
    "presence_penalty": {
      "type": "number",
      "default": 0,
      "maximum": 2,
      "minimum": -2,
      "description": "Penalty for previously used tokens"
    },
    "frequency_penalty": {
      "type": "number",
      "default": 0,
      "maximum": 2,
      "minimum": -2,
      "description": "Penalty for repeated tokens"
    },
    "max_completion_tokens": {
      "type": "integer",
      "minimum": 1,
      "description": "Maximum visible completion tokens"
    }
  }
}

Examples

Provider

Auto route pricing Input $0.290 · Output $1.159 / 1M tokens

Request example

POST /v1/chat/completions
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-M2.5",
  "frequency_penalty": 0,
  "n": 1,
  "presence_penalty": 0,
  "stream": false,
  "temperature": 1,
  "top_p": 1
}'

Model API questions

How do I call MiniMax m2.5 through OpenAny?

Use model ID MiniMax-M2.5 with an OpenAny key and the operation published in this model's API tab. The model API base is https://api.openany.si/v1. Confirm the protocol and request schema; model availability does not imply every OpenAI API operation is supported.

How is MiniMax m2.5 billed?

Compare the published rate and billing unit of the selected provider route. Input, output and cache token rates may differ. Image, audio and video models can use other units. Recorded usage determines the charge under that route's billing contract.

Are Community and Verified routes the same as an official publisher API?

No. Inspect the provider name and supply classification for the specific route. A marketplace listing or a supply label is not a claim of publisher endorsement, identical service or measured uptime. Different route prices may reflect different supply and conditions.

Where do these prices come from, and when were they updated?

Rates come from the provider routes in OpenAny's public model catalog, not an independent quote from the model publisher. The catalog does not supply a price update timestamp. A page or catalog snapshot date is not a price revision date. Compare supply, billing units, tiers and conditions; a lower listed rate alone does not establish equivalent service or explain the price difference.

Use MiniMax m2.5 with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.