minimax/minimax-m3 is available via Novita's serverless API, where you pay per token. There are several ways to call the API, including OpenAI-compatible endpoints with exceptional reasoning performance.
Run queries immediately, pay only for usage
| Input length | Input price (M tokens) | Output Price (M tokens) | Cached reads |
|---|---|---|---|
| 1 <= tokens < 524,288 | $0.3 | $1.2 | $0.06 |
| 524,288 <= tokens < 1,000,000 | $1.2 | $4.8 | $0.24 |
Use the following code examples to integrate with our API:
1from openai import OpenAI
2
3client = OpenAI(
4 api_key="<Your API Key>",
5 base_url="https://api.novita.ai/openai"
6)
7
8response = client.chat.completions.create(
9 model="minimax/minimax-m3",
10 messages=[
11 {"role": "system", "content": "You are a helpful assistant."},
12 {"role": "user", "content": "Hello, how are you?"}
13 ],
14 max_tokens=131072,
15 temperature=0.7
16)
17
18print(response.choices[0].message.content)200+ models, on-demand GPUs, and secure agent runtimes — unified under one API. Free to start, scales as you grow.