Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • Best Browsers 2026: Rankings and Top Lists
  • AI Browser Guides and Resources
  • Browser Comparisons: Head-to-Head Guides
  • Browser Reviews and Explainers
  • Browser Alternatives
  • Browser Directory: Guides by Browser
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Productivity Resources
  • SillyTavern Model Guides and Presets

Popular Guides

  • Best Browsers 2026: Top 10 Ranked & Compared
  • Best Free AI Browsers 2026: Plans & Prices Compared
  • Rabbit Browser: What It Is & Why Tabbit Is Better
  • Firefox vs Chrome 2026: Privacy, RAM & Speed Compared
  • Best Lightweight Browsers 2026: 7 Tested for RAM & Speed
  • AI Browser List 2026: 10 Browsers Compared
  • Neobrowser: Norton Neo, Download & Alternatives
  • Edge vs Chrome 2026: Speed, RAM & Battery Tested
  • Best Internet Browser for Android 2026
  • Best AI Browser 2026: Top 9 Tested & Ranked

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
English
简体中文English
Prompt guide
OfficialMiniMax M3.1 Flash

Multimodal and Streaming Configuration for MiniMax M3.1 Flash's OpenAI-Compatible API

Original source

MiniMax API Docs

AuthorMiniMax

Tabbit curation1970-01-01

Read original

One-sentence takeaway

MiniMax's OpenAI-compatible Chat Completions API provides image and video content parts for MiniMax-M3.1-Flash; streaming responses put incremental reasoning in reasoning_content and the main response in content, with fixed reasoning, sampling, and input limits.

Use cases

  • Suitable tasks: Applications that use the OpenAI SDK or a compatible client to process text, image, and video inputs while distinguishing reasoning from the main response in real time.

  • Unsuitable tasks: Audio input, disabling M3.1 Flash reasoning, configurations that depend on tuning temperature / top_p, priority service tiers, or generating multiple candidate results in one request.

  • Supported model version: MiniMax-M3.1-Flash. The page also lists MiniMax-M3; this note records only M3.1 Flash-specific configuration. The input format section is the page's shared guidance for both models.

  • Supported client, agent, or API: OpenAI SDK and OpenAI-compatible Chat Completions at https://api.minimax.io/v1.

  • Recommended reasoning levels and parameters: Use low, medium, high, xhigh, or max for reasoning_effort; the page says the default when omitted is max. M3.1 Flash cannot disable reasoning.

Ready-to-use content

Basic client and multimodal messages

from openai import OpenAI

client = OpenAI(
    base_url="https://api.minimax.io/v1",
    api_key="<MINIMAX_API_KEY>",
)

response = client.chat.completions.create(
    model="MiniMax-M3.1-Flash",
    reasoning_effort="max",
    messages=[
        {
            "role": "user",
            "content": [
                {"type": "text", "text": "Summarize what happens in the image and video."},
                {
                    "type": "image_url",
                    "image_url": {
                        "url": "https://example.com/image.png",
                        "detail": "default",
                    },
                },
                {
                    "type": "video_url",
                    "video_url": {
                        "url": "mm_file://file_id",
                        "detail": "default",
                    },
                },
            ],
        }
    ],
    max_completion_tokens=4096,
)

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

detail accepts low, default, and high, with default as the default value; max_long_side_pixel can be used to control the image's longest side. Images support JPEG, PNG, GIF, and WEBP; videos support MP4, AVI, MOV, and MKV. Upload larger videos through the Files API first, then pass mm_file://{file_id} to video_url.

Streaming

stream = client.chat.completions.create(
    model="MiniMax-M3.1-Flash",
    reasoning_effort="max",
    messages=[{"role": "user", "content": "Explain this problem."}],
    stream=True,
    stream_options={"include_usage": True},
)

reasoning_buffer = ""
text_buffer = ""
for chunk in stream:
    delta = chunk.choices[0].delta if chunk.choices else None
    if delta and getattr(delta, "reasoning_content", None):
        reasoning_buffer += delta.reasoning_content
    if delta and delta.content:
        text_buffer += delta.content

Accumulate reasoning and the main response separately; when saving the complete result, do not keep only content. In multi-turn function calls, also append the complete assistant response, including tool_calls, to the history to preserve the reasoning chain.

Test or workflow steps

  1. Set OPENAI_BASE_URL=https://api.minimax.io/v1 and OPENAI_API_KEY, and fix model to MiniMax-M3.1-Flash.

  2. Use a string for content in a plain-text message; use a content array for a multimodal message, placing text, image_url, or video_url entries according to their types.

  3. Choose detail and video fps as needed. Video fps defaults to 1 and accepts values from 0.2 to 5.

  4. Use reasoning_effort to control reasoning depth; do not send none or thinking.type="disabled".

  5. Set stream=True for streaming requests; set stream_options.include_usage=true when token usage is needed, and read reasoning_content and content separately.

  6. Record the usage in the response to check input tokens. Image-token estimates are for capacity planning only: low is typically a few hundred and up to about 600, default is commonly 1k–3k and up to about 5k, and high is commonly several thousand and can exceed 15k.

Original evidence and data

Input formats and size limits

ItemConfiguration visible on the official page
Image part{"type":"image_url","image_url":{"url":"...","detail":"default"}}
Video part{"type":"video_url","video_url":{"url":"mm_file://file_id","detail":"default"}}
detaillow, default, high; default default
max_long_side_pixelControls the longest side
Image formatsJPEG, PNG, GIF, WEBP
Video formatsMP4, AVI, MOV, MKV
Video fpsDefault 1; range 0.2–5
URL or base64 videoMaximum 50 MB
ImageMaximum 10 MB
Request bodyMaximum 64 MB
Files API videoMaximum 512 MB; referenced through mm_file://{file_id}

M3.1 Flash parameters and limitations

  • reasoning_effort supports low, medium, high, xhigh, and max; it defaults to max when omitted, while none is unsupported and returns 400.

  • adaptive for thinking keeps reasoning enabled; sending {"type":"disabled"} to M3.1 Flash returns 400. The page gives this error: model "MiniMax-M3.1-Flash" requires adaptive thinking; thinking.type="disabled" (including reasoning.effort=none) is not allowed (2013).

  • When reasoning_split=true, reasoning goes into reasoning_content; when false, it goes back into <think> tags in content, but M3.1 Flash does not support setting this parameter to false.

  • stream_options.include_usage=true makes token usage available in streaming responses.

  • max_tokens is the old generation-length limit, and reasoning tokens count toward it; a value that is too small may produce finish_reason: "length" with empty content. New integrations should use max_completion_tokens.

  • Passing temperature has no effect because the model is fixed at 1; passing top_p has no effect because the model is fixed at 0.95, and any supplied value must be in (0, 1].

  • M3.1 Flash does not support service_tier; the deprecated function_call is unsupported and tools should be used instead. n supports only 1.

  • The page also notes that some OpenAI parameters, including presence_penalty, frequency_penalty, and logit_bias, are ignored; audio input is currently unsupported.

Scope and limitations

  • The input formats and size limits given on the page apply to OpenAI-compatible Chat Completions; they do not justify adding Anthropic API content-block structures.

  • reasoning_content must be retained as part of the response. Streaming rendering can show the main response immediately, but the application must define its own policy for displaying or persisting reasoning content.

  • Image-token counts are the official rough estimate for a single image, not a billing figure or fixed upper limit; use response usage or available token counting for exact usage. The page does not disclose a video-token estimate, billing formula, or precise maximum output limit.

  • max_tokens=4096 is only the documentation example value; reasoning tokens consume this limit, so it must not be treated as M3.1 Flash's maximum output capability.

  • Even if the client accepts fields such as temperature and top_p, they do not change M3.1 Flash's sampling values; do not present them as effective tuning parameters.

  • This page does not contain a complete model prompt. The note is classified as configuration and does not claim that a copy-ready model-specific prompt exists.

Reproduction notes

On 2026-10-21, the original page was opened and checked through the Tabbit exclusive task M31 prompt09 openai, covering Quick Start, Supported Models, Multimodal Input, the parameter table, Thinking Control, Streaming Response, and Important Notes. The raw extracted evidence is stored at /tmp/m31-openai-evidence.txt. The duplicate check confirmed that the target directory has no standalone entry for this URL; the existing 01/02 documents reference it only for navigation.

Curated by Tabbit

Prompt material is summarized from public sources and Tabbit editorial notes. Check the original licensing and intended use before copying it.

MiniMax M3.1 Flash

Use in Tabbit

MiniMax M3.1 Flash

Related prompts

MediaMiniMax API Docs

MiniMax M3.1-Flash text generation and model configuration

MediaMiniMax API Docs

MiniMax M3.1-Flash official tool-calling and interleaved-thinking workflow

MediaMiniMax API Docs

MiniMax-M3.1-Flash Anthropic Protocol and Adaptive Reasoning Configuration

MediaMiniMax API Docs

MiniMax-M3.1-Flash Claude Code Manual Setup and Model Verification

MiniMax M3.1 Flash

Related reviews

MediaMiniMax Research official blog2026-10-19

MiniMax M3.1 Flash: Official Benchmarks, Cost, and Availability

MediaArtificial Analysis2026-10-19

Artificial Analysis Independent Benchmark: A Snapshot of MiniMax-M3.1-Flash's Intelligence, Speed, and Cost

MediaVals AI2026-10-20

Vals AI Task Benchmarks and Cost: A Capability Snapshot of MiniMax-M3.1-Flash

CommunityX.com, the official Arena.ai account (@arena)2026-10-19

Arena WebDev: Human Preference Evaluation of MiniMax M3.1 Flash