No description yet.
from openai import OpenAI
client = OpenAI(
base_url="https://api.openroute.cn/v1",
api_key="<ONTOROUTE_API_KEY>",
)
completion = client.chat.completions.create(
model="minimax/minimax-m3",
messages=[
{
"role": "user",
"content": "Write a one-sentence bedtime story about a unicorn.",
}
],
)
print(completion.choices[0].message.content)| Tier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| Base | ¥2.10 | ¥8.40 | ¥0.450 | — |
| >512K | ¥4.20 | ¥16.80 | ¥0.850 | — |
Prices are CNY (¥) per million tokens, billed as you go. Cache reads can cut the cost of repeated context.
| Provider | Input | Output | Cache read | Context length | Latency | Uptime | Status |
|---|---|---|---|---|---|---|---|
minimax minimax/MiniMax-M3 | ¥2.10 | ¥8.40 | Supported | 1M | 1.2s | 88.70% | Lowest |
| Parameter | Description | Default |
|---|---|---|
| temperature | Temperature | Set per request |
| top_p | Top P | Set per request |
| max_tokens | Max tokens | Set per request |
| tools | Tools | Set per request |