Text 01 overview
Text 01 specs
- Model ID
minimax/MiniMax-Text-01- Developer
- MiniMax
- Context window
- 1,000,000 tokens
- Max output
- 40,000 tokens
- Input
- Image, Text
- Output
- Text
- API
- OpenAI-compatible, base URL
https://api.aimlapi.com/v1
MiniMax-Text-01 excels in long-context processing with advanced features like hybrid attention mechanisms and open-source accessibility.
Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.
Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.
Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.
Use cases
MiniMax-Text-01 is documented as suited to coding and agent workflows, including “coding + agents” use cases. It is also described as designed for text generation, reasoning, long-document processing, structured outputs, and tool use workflows. It is further suited to document question answering across large document sets and long-document summarization. It is also documented for codebase analysis and research synthesis.
Capabilities
- Function calling
- Streaming
- Structured outputs
Text 01 API pricing
| Usage | Price | Unit |
|---|---|---|
| Input | $0.2 | 1M tokens |
| Output | $1.1 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
Text 01 vs other models: token prices
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.2 | $1.1 | |
| $0.15 | $0.6 | |
| $0.3 | $1.2 | |
| $0.6 | $2.4 | |
| $0.6 | $2.4 |
How to use the Text 01 API
View docsBuild with your agent
Give your agent the model details, code and documentation.
1Get your API key
Create API keyexport AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"2Make your first request
curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "minimax/MiniMax-Text-01",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "minimax/MiniMax-Text-01",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "minimax/MiniMax-Text-01",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Text 01 FAQ
What is the context window of Text 01?
Text 01 has a 1,000,000 tokens context window and can return up to 40,000 tokens.
What inputs and outputs does Text 01 support?
Text 01 takes image, text as input and returns text.
What is the model ID for Text 01?
Use minimax/MiniMax-Text-01 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
When was Text 01 released?
Text 01 became available on September 9, 2025.
How much does Text 01 cost?
Text 01 costs $0.2 input and $1.1 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Does Text 01 support streaming?
Yes, Text 01 can stream responses as they are generated.
Can Text 01 read images?
Yes, Text 01 accepts image input alongside text.
Who created Text 01?
Text 01 was built by MiniMax.