MiniMax-Text-01: The Cheapest 1 Million Token Context API

Process entire codebases, books, and legal documents in a single API call

Most AI models choke at 8K-32K tokens. For tasks like analyzing an entire codebase, reviewing a legal contract, or summarizing a book, you need a model that can handle hundreds of thousands of tokens in a single call.

MiniMax-Text-01 is a 456 billion parameter model with a 1 million token context window — and it costs just $0.20 per million input tokens through NovAI.

What Can 1 Million Tokens Fit?

Content TypeApproximate SizeCost to Process
A full novel (80K words)~100K tokens$0.02
Medium codebase (500 files)~300K tokens$0.06
Legal contract bundle~200K tokens$0.04
Research paper collection (20 papers)~400K tokens$0.08
Entire Git repo history + code~800K tokens$0.16

Pricing vs Alternatives

ModelMax ContextInput/1MOutput/1M
MiniMax-Text-01 (NovAI)1,000,000$0.20$1.60
Gemini 1.5 Pro2,000,000$1.25$5.00
Claude 3.5 Sonnet200,000$3.00$15.00
GPT-4o128,000$2.50$10.00

MiniMax is 6x cheaper than Gemini 1.5 Pro on input and 3x cheaper on output, with a context window that handles most real-world long-document tasks.

Quick Start

from openai import OpenAI

client = OpenAI(
    api_key="nvai-your-api-key",
    base_url="https://aiapi-pro.com/v1"
)

# Load a large document
with open("large_document.txt") as f:
    document = f.read()

response = client.chat.completions.create(
    model="minimax-text-01",
    messages=[
        {"role": "system", "content": "Analyze the following document thoroughly."},
        {"role": "user", "content": f"Summarize the key findings:\n\n{document}"}
    ],
    max_tokens=4096
)

print(response.choices[0].message.content)

Best Use Cases

DeepSeek from $0.20/1M tokens — 10x cheaper than GPT-4o
Compare all model pricing side by side
View Full Pricing →

Try MiniMax-Text-01

1 million token context. $0.20/1M input. OpenAI-compatible. No separate account needed.

Get Started Free →

Related Articles

MiniMax API Guide → Long Context AI APIs → AI API Pricing 2026 → AI Agent Pipelines →
NovAI — AI API from $0.05/1M tokens Get Free API Key → View Pricing