MiniMax M4 API

Multimodal flagship for long-horizon coding and agents with 1M context, adjustable reasoning depth, image and video input, and built-in web search.

MiniMax 텍스트 생성 1M 컨텍스트 출시 2026년 12월 3일 Singapore 독점 엔드포인트 신규

MiniMax M4 소개

Multimodal flagship for long-horizon coding and agents with 1M context, adjustable reasoning depth, image and video input, and built-in web search.

Supports text, image, and video input, five reasoning effort levels with reasoning always on, function calling (tool choice auto or none), implicit prompt cache reads, and built-in web search billed per executed search. Reasoning tokens are billed as output tokens.

reasoning vision video web search function calling cache long 컨텍스트 agentic coding

MiniMax M4 사양

모델 ID
minimax-m4
개발사
MiniMax
카테고리
텍스트 생성
출시
2026년 12월 3일
컨텍스트 창
1M 토큰
최대 출력
262,144 토큰
입력
텍스트이미지비디오
출력
텍스트
구조화된 출력
미지원
리전
Singapore
엔드포인트
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/minimax-m4:generateContent
대체 모델 ID
minimax/m4minimax/minimax-m4

MiniMax M4 API 요금최대 25% 절약

EmpirioLabs 카탈로그의 실시간 종량제 요금입니다. 주간 사용량이 포함된 요금제를 선택할 수도 있습니다.

유형
사양
요금
입력
per 1M prompt tokens
$0.80$0.60
출력
per 1M generated tokens
$3.10$2.325
Implicit cache read
per 1M cached input tokens
$0.05$0.0375
Web search
per call when invoked
$0.01
전체 가격 페이지에서 비교

MiniMax M4 API 호출 방법

MiniMax M4은(는) OpenAI 호환 Chat Completions API를 제공합니다. 아무 OpenAI SDK나 EmpirioLabs API 키와 함께 https://api.empiriolabs.ai/v1로 지정하고 모델 ID minimax-m4를 사용하세요. EmpirioLabs 대시보드에서 API 키를 발급받으세요.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax-m4",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.empiriolabs.ai/v1",
    api_key="YOUR_EMPIRIOLABS_API_KEY",
)

response = client.chat.completions.create(
    model="minimax-m4",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
MiniMax M4 API 전체 레퍼런스

MiniMax M4 API 파라미터

EmpirioLabs에서 MiniMax M4 API가 지원하는 요청 파라미터입니다. 필드를 생략하면 기본값이 적용됩니다.

파라미터유형기본값범위 / 값설명
reasoning_effortenummaxlow, medium, high, xhigh, maxReasoning is always on; this sets how much effort the model spends before answering. Higher effort uses more reasoning tokens.
max_completion_tokensinteger-1 ~ 262144Maximum generated tokens, including reasoning tokens. When omitted, the model's own default applies.
stoparray--Optional stop sequence or list of stop sequences.
tool_web_searchbooleanfalse-Search the web for real-time information. Adds $0.01 to the request cost for each invoked call.
toolsarray--OpenAI-compatible tool definitions for function calling.
tool_choiceobject--Optional OpenAI-compatible tool_choice value. This model supports auto and none.
video_fpsnumber10.2 ~ 5Frames per second to sample from video inputs. Higher values sample more frames and use more input tokens.
disable_formattingbooleanfalse-Return the answer without the Sources list that web search adds.

알아두면 좋은 점

Text, image, and video input with text output, a 1M token context, and up to 262,144 output tokens. Image and video parts accept detail (low, default, or high) and max_long_side_pixel, which set the resolution the model reads and the input tokens billed; with tool_web_search on, max_long_side_pixel applies to video only. The model always reasons: reasoning_effort sets how deeply (low, medium, high, xhigh, or max; the default is max), and the reasoning text is returned in reasoning_content. Reasoning tokens are billed as output tokens. In multi-step tool use, send each assistant turn back with its reasoning_content; it is billed as input tokens. Repeated prompt prefixes are cached automatically and billed at the cached input rate. Set tool_web_search to true to let the model search the web; each executed search is billed, and one request can run several searches. Answers that used web search end with a Sources list unless disable_formatting is true. tool_choice accepts auto or none. Structured output through response_format is not supported; ask for JSON in the prompt instead.

Per-tool billing (usage.tool_usage)

When this model invokes tools (web search, code interpreter, etc.) inside a single request, the response carries a normalized usage.tool_usage map alongside the token counts. The example below shows the shape, exact field names, units, and which tools appear can vary slightly per provider:

"usage": {
  "prompt_tokens": 123,
  "completion_tokens": 456,
  "cost_usd": 0.0042,
  "tool_usage": {"web_search": 3, "code_interpreter": 1}
}

The tool counts are already factored into cost_usd, they are surfaced for transparency so you can audit per-tool billing. The field is omitted when no tools were invoked.

MiniMax M4 API: 자주 묻는 질문

MiniMax M4 API 비용은 얼마인가요?

EmpirioLabs에서 MiniMax M4은(는) 종량제로 청구됩니다. 주간 사용량이 포함된 요금제를 선택할 수도 있습니다. 이 페이지의 실시간 요금표는 항상 API 청구 금액과 일치합니다.

MiniMax M4은(는) 어떤 입력과 출력을 지원하나요?

MiniMax M4은(는) 텍스트, 이미지, 비디오을(를) 입력으로 받아 텍스트을(를) 반환합니다.

MiniMax M4의 컨텍스트 윈도우는 얼마인가요?

MiniMax M4은(는) 1M 토큰 컨텍스트 윈도우를 지원합니다 (응답당 최대 262,144 출력 토큰).

MiniMax M4 API는 OpenAI와 호환되나요?

네. MiniMax M4은(는) OpenAI 호환 Chat Completions API를 제공하므로, 기존 OpenAI SDK에서 base_url을 https://api.empiriolabs.ai/v1로 지정하고 모델 ID를 minimax-m4로 설정하면 바로 동작합니다.

MiniMax M4의 모델 ID는 무엇인가요?

요청의 model 값으로 minimax-m4을(를) 보내세요. 대체 ID minimax/m4, minimax/minimax-m4도 사용할 수 있습니다.

MiniMax M4은(는) 언제 출시되었나요?

MiniMax은(는) 2026년 12월 3일에 MiniMax M4을(를) 출시했습니다.

MiniMax M4은(는) 어디에서 제공되나요?

EmpirioLabs의 MiniMax M4은(는) Singapore에서 제공됩니다.

통합하기 전에 브라우저에서 MiniMax M4을(를) 사용해 볼 수 있나요?

네. EmpirioLabs Playground에서 API와 동일한 파라미터로 MiniMax M4을(를) 브라우저에서 실행하므로 코드를 작성하기 전에 프롬프트를 테스트할 수 있습니다.

MiniMax M4 API 키는 어떻게 발급받나요?

EmpirioLabs 계정을 만든 다음 대시보드의 API Keys에서 키를 생성하세요. 요금은 종량제 크레딧이라 실행한 요청에 대해서만 결제합니다. 주간 사용량이 포함된 요금제를 선택할 수도 있습니다.

MiniMax M4을(를) 다른 모델과 비교

모든 모델 비교

더 나은 엔드포인트를 사용할 준비가 되셨나요?

저희 가격을 확인하시거나 저희 스택에 자체 모델을 배포하고 싶으시면 연락해 주세요.