Find a model

Browse the full catalog →

MiniMax M4

Chat model from MiniMax. One API key reaches all 2 providers, with automatic failover.

Input / 1M$0.84
Output / 1M$3.27
Context1M
Providers 2 providers, one key

Up to 1 million free tokens. No card required.

Overview

About MiniMax M4

MiniMax M4 is a chat model published by MiniMax, with a 1,000,000-token context window. Through TrustedRouter it runs on 2 providers, with options in the US and EU, from $0.84 per million input tokens.

Model ID
minimax/minimax-m4
Publisher
MiniMax
Modes
chat
Billing
Credits or your own provider key
Quickstart

Set it up with your agent

Paste this into Claude Code, Cursor or any coding agent.

Use MiniMax M4 through TrustedRouter in this project.

1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
   https://api.trustedrouter.com/v1 and read the key from
   TRUSTEDROUTER_API_KEY.
3. Set the model to minimax/minimax-m4.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.trustedrouter.com/v1",
    api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
    model="minimax/minimax-m4",
    messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api.trustedrouter.com/v1/chat/completions \
  -H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax/minimax-m4",
    "messages": [{"role": "user", "content": "What is the capital of France?"}]
  }'
Your agent will need an API key.
2 providers

Providers

Your key goes to the cheapest healthy provider and fails over on its own. Open a row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.

MiniMax M4 providers and prices per 1M tokens
Provider Input Cached Output Cost per 1M in + out Details
MiniMax logo MiniMax Cheapest $0.844 $0.0528 $3.27 $4.11

Retention

Verification: privacy unknown.

No provider-ZDR claim is tracked here. MiniMax's product privacy overview is linked for users who need to review API/open-platform terms.

Provider policy source

Location

Operator country: SG

Headquarters / registered office: Not verified.

Inference: Inference location not verified; no country-specific residency commitment.

No inference-location declaration has been verified for this provider.

Region pinning through TR: No verified provider-specific location pin documented here.

Full location evidence

Weight format

Unknown

Price and speed

Input $0.844/1M · Cached input $0.05275/1M · Output $3.2705/1M

TTFT: 1.68 s

Speed: insufficient data

Last sample:

MiniMax provider page

Venice logo Venice $1.06 $0.0659 $4.09 $5.14

Retention

Verification: no verified privacy claim.

Mixed model-specific posture. TrustedRouter cannot independently verify a complete chain from a live Venice endpoint through immutable source and hardware measurements to committed model weights. Venice is therefore not tracked as confidential or E2EE. Exact routes marked Private in Venice's live catalog qualify only as policy-backed ZDR through endpoint-specific records; Anonymized routes do not.

Provider policy source

Location

Operator country: US

Headquarters / registered office: Not verified.

Inference: Inference location not verified; no country-specific residency commitment.

No inference-location declaration has been verified for this provider.

Region pinning through TR: No verified provider-specific location pin documented here.

Full location evidence

Weight format

Unknown

Price and speed

Input $1.055/1M · Cached input $0.065938/1M · Output $4.088125/1M

TTFT: insufficient data

Speed: insufficient data

Venice provider page

Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.

FAQ

Questions

What model ID should I use for MiniMax M4?

Use minimax/minimax-m4 as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.

Do you log my prompts or outputs?

No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.

Which providers serve MiniMax M4?

TrustedRouter currently lists MiniMax, and Venice for MiniMax M4. Provider availability and routing eligibility can change as catalog and health data update.

How much does MiniMax M4 cost through TrustedRouter?

The current lowest Credits input price is $0.844/1M and the lowest Credits output price is $3.2705/1M. Prices are per one million tokens and come from the current route catalog.

How do I require zero data retention for MiniMax M4?

Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.

Compare

MiniMax M4 vs other models

Start building with MiniMax M4.

Up to 1 million free tokens. No card required.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

New to TrustedRouter?

By continuing you agree to the terms of service and privacy policy.