MuseSpark
MuseSpark
Models & toolsLanguage models

MiniMax M3 API guide

MiniMax M3 API: Call MiniMax M3 through the OpenAI-compatible Chat Completions interface. Use the invocation identifier below and native message fields; optional features and token limits depend on the selected model and your account access.

Model overview

Call MiniMax M3 through the OpenAI-compatible Chat Completions interface. Use the invocation identifier below and native message fields; optional features and token limits depend on the selected model and your account access.

API integration

DocumentationValue
API invocation identifierminimax-m3
IntegrationLLM protocol

Use this invocation identifier in API requests. Check your authorized model catalog for access. Follow the Quickstart for your first complete call.

The parameters below describe the selected protocol. Optional features and limits depend on this model and your account access. Check supported capabilities before enabling tool calls, caching, or large token limits.

Request parameters

Studio presets describe the form setup, not guaranteed server defaults. Send preset values explicitly to reproduce them.

modelstringRequired

Use the API invocation identifier shown in this guide, subject to access in your authorized protocol catalog.

messagesarrayRequired

Ordered conversation messages containing roles and content. Preserve role boundaries and the order of prior turns.

streambooleanOptional

When true, consume the native protocol stream incrementally and handle completion and errors separately.

No parameters match. Clear the search or reset the filters.

Model rules

Model behavior

  • Chat Completions uses messages with explicit roles. Read the assistant result from choices; streaming responses carry incremental deltas instead of a complete message object.
  • Responses uses input and typed output items. Its request and event structure differs from Chat Completions; select the matching operation and parser.

Request examples

Set MUSESPARK_API_KEY in your server environment. Python examples use requests; JavaScript examples use Node.js 20 or later.

Openai request

curl --fail-with-body 'https://api.musespark.ai/proxy/openai/v1/chat/completions' \
  -H "Authorization: Bearer $MUSESPARK_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "minimax-m3",
  "messages": [
    {
      "role": "user",
      "content": "Explain asynchronous APIs in one sentence."
    }
  ],
  "stream": false
}'

Parameters used: model · messages · stream.

Output

Read the native openai response rather than a task envelope. See the protocol quickstart and streaming guide for parsing and interruption handling.

Troubleshooting

For rejected inputs, check the field type, accepted values, and conditional requirements in Request parameters and Model rules. Correct the affected fields before submitting again.

For authentication and permission errors, see LLM authentication. For interrupted streams, follow the openai streaming guide.

The public input snapshot was exported on 2026-11-09. Current prices and availability are listed in the model center.