Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
MiniMax · MiniMax M

minimax-m3 API

Use minimax-m3 on APISea for text generation with up to 1,000,000 input tokens and prompt-cache reads.

צ'אטצ'אט וטקסטסינכרונישמירת הנחיות במטמון
מזהה מודל
minimax-m3

תמחור API של minimax-m3

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

סוג tokenAPISeaרשמיחיסכון
קלט לכל 1M tokens$0.264$0.30−12%
קלט שמור במטמון לכל 1M tokens$0.0528$0.06−12%
פלט לכל 1M tokens$1.06$1.20−12%

מהו minimax-m3?

minimax-m3 is a MiniMax M family chat model available through APISea for text generation and multi-turn conversations. It accepts message arrays with system, user, and assistant roles and returns generated text. With a maximum input of 1,000,000 tokens and maximum output of 131,072 tokens, it is an option for applications that supply substantial source material or request lengthy responses. The unified chat interface offers controls for output length, randomness, sampling, repetition, and stop sequences, plus streaming or complete responses.

Call minimax-m3 using APISea’s OpenAI-compatible base URL, https://api.apisea.ai/v1, with your API key. Pay-as-you-go rates are $0.264 per 1M tokens for input, $0.0528 per 1M tokens for cached input reads, and $1.06 per 1M tokens for output. The default configuration is about 12% below the provider list price. APISea bills only successful requests, and this model supports prompt-cache reads.

המאפיינים הבולטים של minimax-m3

Large Input Limit

Supply up to 1,000,000 input tokens for conversations or source-heavy text generation workflows.

Long Output Capacity

Generate up to 131,072 output tokens. Use max_tokens to set a smaller response budget when needed.

Prompt Cache Reads

The model supports prompt-cache reads, priced at $0.0528 per 1M tokens on APISea.

Configurable Chat Responses

Use the unified chat interface to control temperature, top_p, repetition penalties, and stop sequences. Choose streaming or a complete response with stream.

איך לקרוא ל-API של minimax-m3 ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/chat/completions עם "model": "minimax-m3" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    יש לקרוא את התגובה (או להזרים tokens באמצעות stream: true). נתוני השימוש והעלות מופיעים במסוף.

curl https://api.apisea.ai/v1/chat/completions \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m3",
    "messages": [
      {"role": "system", "content": "You are a concise assistant."},
      {"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
    ],
    "stream": false
  }'

פרמטרים

פרמטרסוגנדרשברירת מחדלתיאור
modelstringנדרשgpt-5Model name
messagesarrayנדרש—List of conversation messages
rolestringנדרשuserRole type
contentstringנדרש—Message content
temperaturenumberאופציונלי—Controls output randomness, range 0-2
max_tokensintegerאופציונלי—Maximum number of tokens to generate
streambooleanאופציונלי—Whether to use streaming output
top_pnumberאופציונלי—Nucleus sampling parameter, range 0-1
frequency_penaltynumberאופציונלי—Frequency penalty, range -2.0 to 2.0
presence_penaltynumberאופציונלי—Presence penalty, range -2.0 to 2.0
stopstring or arrayאופציונלי—Stop sequences
nintegerאופציונלי—Number of completions to generate

מה אפשר לבנות עם minimax-m3

Document Summaries

Build a workflow that supplies lengthy source text and asks for a summary, with instructions defining scope and output length.

Multi-Turn Assistants

Send prior user and assistant messages alongside a system prompt to build a text-based conversational application.

Long-Form Drafting

Generate report or article drafts from supplied notes and outlines, setting max_tokens to match the intended response budget.

Source-Based Question Answering

Provide reference material in the message array and ask questions about it. Instruct the model to distinguish supplied evidence from missing information.

טיפים לקבלת תוצאות טובות יותר

  • 01

    Set an Output Budget

    Set max_tokens explicitly to keep responses within your application’s length and cost requirements; the model’s maximum output is 131,072 tokens.

  • 02

    Tune One Sampling Control

    The chat documentation recommends using either temperature or top_p. Start with a lower temperature, such as 0.2, when you want more deterministic output.

  • 03

    Review Cache Usage

    For workflows with repeated prompt material, review prompt-cache behavior in the documentation. Cache reads cost $0.0528 per 1M tokens, compared with $0.264 per 1M tokens for regular input.

  • 04

    Choose Streaming Explicitly

    Set stream to true for SSE output or false to receive the complete response at once, rather than relying on endpoint defaults.

מגבלות ודברים שכדאי לדעת

  • Maximum input is 1,000,000 tokens.

  • Maximum output is 131,072 tokens.

  • The supplied model facts do not establish support for image, audio, or video inputs.

שאלות נפוצות על API של minimax-m3

How much does minimax-m3 cost on APISea?

Input costs $0.264 per 1M tokens, cached input reads cost $0.0528 per 1M tokens, and output costs $1.06 per 1M tokens. The default configuration is about 12% below the provider list price, with pay-as-you-go billing only for successful requests.

How do I call minimax-m3 through the API?

Send a POST request to https://api.apisea.ai/v1/chat/completions with Bearer Token authentication using your APISea key. Set the model field to minimax-m3 and provide a messages array containing role and content fields.

What are minimax-m3’s input and output limits?

The maximum input is 1,000,000 tokens, and the maximum output is 131,072 tokens. Use max_tokens to request a lower output limit.

Which generation parameters can I use?

The unified chat documentation lists temperature, max_tokens, stream, top_p, frequency_penalty, presence_penalty, stop, and n. It recommends using either temperature or top_p to control sampling.

Does minimax-m3 support streaming and prompt caching?

The unified chat interface supports SSE streaming with stream set to true and complete responses with stream set to false. The model supports prompt-cache reads at $0.0528 per 1M tokens.

Can I use minimax-m3 commercially?

Commercial use is subject to the provider’s terms. Review MiniMax’s applicable terms and APISea’s terms before deploying it in a commercial application.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם minimax-m3

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.