TensaHub › Hugging Face Inference

MiniMax-M3.1-Flash · Nebius

API for the model MiniMaxAI/MiniMax-M3.1-Flash:nebius at Hugging Face Inference, $0.15 / $0.6 per million tokens, context 1,048,576 tokens. curl, Python and JavaScript samples, live testing.

Test and rate in the catalog

MiniMaxAI/MiniMax-M3.1-Flash served by Nebius through the Hugging Face router (fp4 quantization).

Type
Model
Provider
Hugging Face Inference
Host
Nebius
Model ID
MiniMaxAI/MiniMax-M3.1-Flash:nebius
Pricing
Paid
Input / output price
$0.15 / $0.6 per million tokens
Keyless access
No
Key variable
HF_TOKEN
Base URL (OpenAI-compatible)
https://router.huggingface.co/v1
Context
1,048,576 tokens
Inputs
Text, Image
Features
Tool calling, JSON output
Response time
First token 490 ms · 128.5 tokens/s · uptime 100%
Developer rating
Not rated yet
Documentation
https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash

Code samples

cURL

curl https://router.huggingface.co/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HF_TOKEN" \
  -d '{"model":"MiniMaxAI/MiniMax-M3.1-Flash:nebius","messages":[{"role":"user","content":"Hello, introduce yourself in one sentence."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://router.huggingface.co/v1", api_key=os.environ["HF_TOKEN"])
r = client.chat.completions.create(
    model="MiniMaxAI/MiniMax-M3.1-Flash:nebius",
    messages=[{"role": "user", "content": "Hello, introduce yourself in one sentence."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://router.huggingface.co/v1', apiKey: process.env.HF_TOKEN })
const r = await client.chat.completions.create({
  model: 'MiniMaxAI/MiniMax-M3.1-Flash:nebius',
  messages: [{ role: 'user', content: 'Hello, introduce yourself in one sentence.' }],
})
console.log(r.choices[0].message.content)

Generate the integration code →

Popular searches

Frequently asked questions

Is the MiniMax-M3.1-Flash · Nebius API free?

No: MiniMax-M3.1-Flash · Nebius is a paid API ($0.15 / $0.6 per million tokens).

How do I call MiniMax-M3.1-Flash · Nebius from my code?

MiniMax-M3.1-Flash · Nebius exposes an OpenAI-compatible API at https://router.huggingface.co/v1: use any OpenAI SDK (Python, JavaScript…) with this base URL. Model identifier: MiniMaxAI/MiniMax-M3.1-Flash:nebius. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.

What is the context window of MiniMax-M3.1-Flash · Nebius?

MiniMax-M3.1-Flash · Nebius accepts up to 1,048,576 tokens of context (prompt and history).

What are the alternatives to MiniMax-M3.1-Flash · Nebius?

Similar APIs listed in the catalog: MiniMax-M3.1-Flash · DigitalOcean, MiniMax-M3.1-Flash · Inferact vLLM, MiniMax-M3.1-Flash · InferenceNet, MiniMax-M3.1-Flash · Parasail, MiniMax-M3.1-Flash · SambaNova.

Alternatives