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

minimax-m2.5 API

Use minimax-m2.5 on APISea for text generation and multi-turn chat through an OpenAI-compatible API.

צ'אטצ'אט וטקסטסינכרוני
מזהה מודל
minimax-m2.5

תמחור API של minimax-m2.5

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

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

מהו minimax-m2.5?

minimax-m2.5 is a chat model from MiniMax’s MiniMax M family, available through APISea for text generation and conversational applications. Send text in a messages array with user, assistant, and system roles to provide instructions and conversation history. Its listed limits are 204,800 input tokens and 131,072 output tokens, making it an option to evaluate for workflows that supply substantial source material or request lengthy responses.

APISea exposes the model through an OpenAI-compatible Chat Completions interface at https://api.apisea.ai/v1, using one API key. Choose streaming or a complete response, set an output budget with max_tokens, and adjust generation with controls such as temperature, top_p, and stop sequences. Pay-as-you-go pricing is $0.264 per 1M tokens for input and $1.06 per 1M tokens for output. The default configuration is about 12% below the provider list price, and APISea bills only for successful requests.

המאפיינים הבולטים של minimax-m2.5

Substantial Token Limits

The listed maximum input is 204,800 tokens, and the maximum output is 131,072 tokens. Evaluate these limits against your source material and response requirements.

Conversation Message Roles

Supply user, assistant, and system messages to define instructions and carry conversation history into each request.

Flexible Response Delivery

Use streaming for SSE output or disable streaming to receive the complete response at once.

Generation And Cost Controls

Set max_tokens to bound response length and use temperature or top_p to adjust generation. APISea charges $0.264 per 1M tokens for input and $1.06 per 1M tokens for output.

איך לקרוא ל-API של minimax-m2.5 ב-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-m2.5" והפרמטרים שלהלן.

  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-m2.5",
    "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-m2.5

Conversational Assistants

Build a text-based assistant that receives system instructions and prior user and assistant messages for multi-turn exchanges.

Document Summaries

Evaluate the model for summarizing supplied text, using explicit instructions for the desired length and structure.

Content Drafting

Generate drafts from text briefs, with system messages defining tone and max_tokens setting the response budget.

Source-Based Question Answering

Include relevant source passages alongside a question and instruct the model to answer from the supplied material. Review responses for accuracy before relying on them.

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

  • 01

    Select The Exact Model

    Set the model field to minimax-m2.5 rather than relying on the general API default. Authenticate requests with your APISea key using Bearer Token authentication.

  • 02

    Budget Your Output

    Choose max_tokens based on the response length your application needs. Output is billed at $1.06 per 1M tokens, so avoid requesting unnecessarily lengthy responses.

  • 03

    Tune One Sampling Control

    Start with either temperature or top_p rather than adjusting both together, as the documentation recommends. Lower temperature values make output more deterministic.

  • 04

    Choose Streaming Explicitly

    Set stream to true for SSE responses or false for a complete response. An explicit setting avoids relying on the differing defaults shown in the streaming and non-streaming documentation.

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

  • Maximum input is 204,800 tokens; maximum output is 131,072 tokens.

  • The general Chat API accepts up to 4 stop sequences.

  • Generated responses can vary; review important outputs for accuracy.

שאלות נפוצות על API של minimax-m2.5

How much does minimax-m2.5 cost on APISea?

Input costs $0.264 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-m2.5 through the API?

Use the OpenAI-compatible base URL https://api.apisea.ai/v1 and send a POST request to /chat/completions. Include Bearer Token authentication, set model to minimax-m2.5, and supply a messages array.

Does minimax-m2.5 support streaming?

APISea’s Chat Completions interface supports streaming SSE responses with stream set to true. Set stream to false to receive the complete response at once.

Which generation parameters can I use?

The documented Chat API includes temperature, top_p, max_tokens, frequency_penalty, presence_penalty, stop, and n. Temperature ranges from 0–2, while top_p ranges from 0–1; consult the model documentation for any model-specific restrictions.

What are the input and output token limits?

The listed maximum input is 204,800 tokens, and the maximum output is 131,072 tokens. Use max_tokens to request an output budget appropriate for your task.

Can I use minimax-m2.5 commercially?

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

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

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

מתחילים לבנות עם minimax-m2.5

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