Now on VeniceLLMReasoningAnonymous

MiniMax M4

MiniMax's flagship multimodal MoE — 2.74T total parameters, 66B active per token, 1M-token context, and a focus on long-horizon coding and agentic work.

For agents
curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m4",
    "messages": [{ "role": "user", "content": "Explain quantum tunneling simply." }]
  }'
Model IDminimax-m4
Maker
MiniMax (Shanghai)
Context
1,000K tokens
Reasoning
Supported
Privacy
Anonymous

Overview

What is MiniMax M4

MiniMax M4 is MiniMax's flagship multimodal mixture-of-experts model, released December 3, 2026, with 2.74 trillion total parameters, 66 billion active per token, and a 1M-token context window. It targets long-horizon coding and agentic tasks, with image and video input, tool calling, web search, and always-on reasoning.

Using it anonymously on Venice

MiniMax M4 runs on Venice under the anonymized privacy tier: Venice strips identifying metadata before forwarding each request and keeps no copy of the conversation on its own infrastructure. The provider receives the content and may retain it under its own data policy, so treat it as anonymous rather than confidential. You pay per token — $1 in, $3.88 out per 1M — with no subscription required.

Anonymous

Agent quickstart

Three calls, copied straight out

The API is OpenAI-compatible: change the base URL and the model id and existing client code works unchanged.

Streaming chat

curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m4",
    "stream": true,
    "messages": [{ "role": "user", "content": "Draft the release note." }]
  }'

Tool calling

curl https://api.venice.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $VENICE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m4",
    "messages": [{ "role": "user", "content": "Find the rate limits." }],
    "tools": [{
      "type": "function",
      "function": {
        "name": "search_docs",
        "description": "Search the API documentation.",
        "parameters": {
          "type": "object",
          "properties": { "query": { "type": "string" } },
          "required": ["query"]
        }
      }
    }],
    "tool_choice": "auto"
  }'

Python SDK

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["VENICE_API_KEY"],
    base_url="https://api.venice.ai/api/v1",
)

resp = client.chat.completions.create(
    model="minimax-m4",
    messages=[{"role": "user", "content": "Build without permission."}],
)
print(resp.choices[0].message.content)

Specifications

Datasheet

Maker
MiniMax (Shanghai)
Modality
Text, image, and video input; text output
Open weights
No
License
Proprietary (weights announced but not yet published)
Modes
Reasoning effort levels low / medium / high / xhigh / max (default max)
Context window
1,000K tokens
Input images
Images and video accepted, multiple images per request — formats and size limits not published
Released
December 3, 2026
Architecture
Mixture-of-Experts, 2.74T total parameters, 66B active per token; MiniMax Sparse Attention 2 (MSA2) with MFlashKV SSD offloading
Max output
128K tokens
Capabilities
Vision, Function calling, Reasoning, Web search, Code-optimized
Privacy on Venice
Anonymized: Venice doesn't store prompts; provider policy applies
Available on Venice since
Dec 2026

Assessment

Strengths and limitations

Strengths
  • Strong on long-horizon coding and agentic tasks: MiniMax reports M4 at the frontier of Chinese open models, and third-party testers found it competitive with Claude Opus 5.5 on code, finance, and design work.
  • 1M-token context window with 128K max output, sized for whole-repository code analysis and multi-document workflows.
  • Native multimodal input: images and video alongside text, with multiple images accepted per request.
  • Built-in tool use / function calling, web search, and always-on reasoning with selectable effort levels.
  • Sparse MoE design: only 66B of 2.74T parameters active per token — keeps per-token inference cost and compute low.
Limitations
  • The weights are announced but not yet published, so self-hosting and fine-tuning are not possible today.
  • Anonymized tier on Venice: the provider receives your content and may retain it under its own data policy.
  • Most headline benchmark numbers are vendor-reported; independent audits of the launch claims are still thin.
  • The default max reasoning effort can be verbose: one third-party test logged a 16,466-token output on a simple cron-function task, raising that task's cost.

Use cases

What it is good for

  1. 01Agentic coding sessions that span an entire repository within the 1M-token context.
  2. 02Chart, table, and document analysis using multiple images in a single request.
  3. 03Video understanding tasks where footage is supplied as input.
  4. 04Tool-driven workflows: define functions in the request and let the model orchestrate calls.
  5. 05Long-transcript and multi-document summarization without pre-chunking.

Prompting

Getting better results

Set reasoning effort to low for routine tasks — third-party testing found the default max effort inflates output tokens and cost.

Reuse long system prompts across calls; cached input on Venice is billed at $0.06 per 1M tokens.

Pass multiple images in one request when comparing charts, screenshots, or documents.

Supply video clips directly as input instead of describing their contents in text.

Define your tools in the request schema and let function calling drive the workflow.

Paste whole codebases or long transcripts up to the 1M-token context rather than pre-summarizing.

Alternatives

How it compares

ModelBest forContextOpen weightsPrice (Venice)
MiniMax M4Long-context coding & agents1M tokensNo$1 in · $3.88 out / 1M
Qwen 3.8 MaxFrontier reasoning1M tokensNo$2.50 in · $7.50 out / 1M
Gemini 3.8 FlashFast everyday multimodal chat1M tokensNo$0.94 in · $4.69 out / 1M
Grok 4.7Real-time web-heavy answers500K tokensNo$2.27 in · $6.80 out / 1M
Venice Uncensored 1.2Uncensored open-model chat128K tokensYes$0.20 in · $0.90 out / 1M

Pick MiniMax M4 when the job is long-horizon coding or multi-step agentic work over a 1M-token canvas and you want frontier-class multimodal input at mid-tier pricing. For maximum per-token reasoning quality, Qwen 3.8 Max is the step up; for cheap uncensored chat, Venice Uncensored 1.2.

Pricing

What it costs on Venice

Billed per token on Venice: $1 per 1M input tokens and $3.88 per 1M output tokens.

Input / 1M tokens
$1
Per 1M tokens
Output / 1M tokens
$3.88
Per 1M tokens
Cached input / 1M
$0.06
Per 1M tokens

New Venice accounts include a free daily allowance and 500 welcome credits — no credit card required.

Getting a key

From nothing to a first call

  1. 01

    Create a key in API settings. Nothing else is required to start.

  2. 02

    Export it as VENICE_API_KEY so the snippets above run unedited.

  3. 03

    Point an existing OpenAI client at https://api.venice.ai/api/v1. The scheme is part of the value: an OpenAI client given a bare host does not resolve it.

  4. 04

    Pass minimax-m4 as the model and send the request.

FAQ

Frequently asked questions

MiniMax M4 is a flagship multimodal mixture-of-experts language model from Shanghai-based MiniMax, released December 3, 2026. It has 2.74 trillion total parameters with 66 billion active per token, a 1M-token context window, and is aimed at long-horizon coding, agentic tasks, and multimodal understanding.

Venice bills MiniMax M4 per token: $1 per 1M input tokens, $3.88 per 1M output tokens, and $0.06 per 1M cached input tokens. There is no subscription requirement — you pay only for what you use.

No — MiniMax M4 does not have open weights available today. MiniMax has said it plans to publish the weights, and a GitHub repository exists, but as of now they have not been released, so the model cannot be self-hosted or fine-tuned. If you need open weights on Venice, Google Gemma 4 31B Instruct or Venice Uncensored 1.2 are alternatives.

Yes. Function calling is a native capability, alongside web search and always-on reasoning with selectable effort levels. Define your tools in the request and the model can plan and execute multi-step agentic workflows.

Yes. MiniMax M4 is natively multimodal: it accepts images and video as input alongside text, and supports multiple images in a single request. Output is text only.

MiniMax M4 runs under Venice's anonymized tier. Venice strips identifying metadata before forwarding each request and keeps no copy of the conversation on its own infrastructure. The provider receives the content and may retain it under its own data policy, so it is anonymous but not end-to-end encrypted or TEE-isolated.

Both offer 1M-token contexts on Venice. MiniMax M4 is cheaper ($1 in · $3.88 out vs $2.50 in · $7.50 out per 1M) and leans into coding and agentic work; Qwen 3.8 Max is the pricier max-tier option when you want the highest reasoning ceiling per token. Choose M4 for cost-efficient long-context coding, Qwen for the toughest reasoning problems.

1,000K (1 million) tokens of context with up to 128K tokens of output per response — enough to hold entire codebases, long transcripts, or large document sets in a single request.

Use MiniMax M4 anonymously

One key, free to start, no credit card.

Start chat