Mistral Small 4 API

하이브리드 모델 불화 Instruct, Reasoning (Magistral) 및 Devstral 가족: 40 % 낮은 완료 시간 및 3x throughput 대 소형 3.

Mistral AI텍스트 생성256K 컨텍스트출시 2026년 3월 16일독점 엔드포인트

Mistral Small 4 소개

하이브리드 모델 불화 Instruct, Reasoning (Magistral) 및 Devstral 가족: 40 % 낮은 완료 시간 및 3x throughput 대 소형 3.

다른 이름 Mistral AI Mistral Small 4, Mistral-Small-4

visionweb searchfunction calling

Mistral Small 4 사양

모델 ID
mistral-small-4
제공자
Mistral AI
카테고리
텍스트 생성
출시
2026년 3월 16일
컨텍스트 창
256K 토큰
최대 출력
65,536 토큰
입력
텍스트이미지
출력
텍스트
구조화된 출력
JSON 모드
Batch API
사용 가능, 정가 대비 35% 할인
엔드포인트
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/mistral-small-4:generateContent
대체 모델 ID
mistralai/mistral-small-4

Mistral Small 4 API 요금

EmpirioLabs 카탈로그의 실시간 종량제 요금입니다. 사용한 만큼만 결제하며 월 최소 요금이 없습니다.

유형
사양
요금
이름 *
1M 신속한 토큰 당
$0.15
제품정보
1M 생성 토큰
$0.60
표준 웹 검색
전화 번호
$0.084
Premium 웹 검색
전화 번호
$0.140
코드 Interpreter
전화 번호
$0.084
이미지 생성
이미지 당
$0.280
전체 가격 페이지에서 비교

Mistral Small 4 API 호출 방법

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

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistral-small-4",
    "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="mistral-small-4",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Mistral Small 4 API 전체 레퍼런스

Mistral Small 4 API 파라미터

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

파라미터유형기본값범위 / 값설명
reasoning_enabledbooleantrue-확장 추론 활성화 (추론으로의 매핑: high|none)
tool_web_searchbooleantrue-도구를 활성화web_search
web_search_tierenumstandardstandard, premium표준 또는 프리미엄 웹 검색 등급. Premium은 더 높은 품질의 소스를 사용합니다.
tool_code_interpreterbooleantrue-모델이 샌드박스에서 파이썬 코드를 실행하여 데이터를 계산하거나 분석할 수 있도록 허용하세요.
tool_image_generationbooleantrue-플랫폼 image-gen 도구를 통해 모델이 인라인으로 이미지를 생성할 수 있도록 허용하세요.
temperaturenumber0.70 ~ 1.5샘플링 온도. 0 = 결정론적, 2 = 최대 무작위성.
max_tokensnumber40961 ~ 32768응답에 최대 토큰을 사용하세요.
response_formatenum--출력을 유효한 JSON 객체(JSON 모드)로 반환합니다. 프롬프트에 원하는 필드를 설명하세요.
disable_formattingbooleanfalse-web_search 도구를 사용할 때 EmpirioLabs 마크다운 서식(인용 [[N]](url) 재작성 + 참조 블록)은 건너뛰세요. 평범한 [N] 인용이 포함된 원시 상류 답변이 반환됩니다.

알아두면 좋은 점

웹 검색, 코드 해석기, 이미지 생성 도구들은 실제로 호출될 때만 청구됩니다. 자신의 함수 도구를 포함하는 요청은 표준 함수 호출을 사용하며, 내장된 도구는 해당 요청에서 사용할 수 없습니다: 요청이 두 도구를 동시에 결합할 수 없습니다.

Per-tool billing (usage.tool_usage)

When this model invokes built-in 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.

Mistral Small 4 API: 자주 묻는 질문

Mistral Small 4 API 비용은 얼마인가요?

EmpirioLabs에서 Mistral Small 4은(는) 종량제로 청구됩니다: 이름 * $0.15 1M 신속한 토큰 당; 제품정보 $0.60 1M 생성 토큰; 표준 웹 검색 $0.084 전화 번호. 이 페이지의 실시간 요금표는 항상 API 청구 금액과 일치합니다.

Mistral Small 4의 컨텍스트 윈도우는 얼마인가요?

Mistral Small 4은(는) 256K 토큰 컨텍스트 윈도우를 지원합니다 (응답당 최대 65,536 출력 토큰).

Mistral Small 4 API는 OpenAI와 호환되나요?

네. Mistral Small 4은(는) OpenAI 호환 Chat Completions API를 제공하므로, 기존 OpenAI SDK에서 base_urlhttps://api.empiriolabs.ai/v1로 지정하고 모델 ID를 mistral-small-4로 설정하면 바로 동작합니다.

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

네. EmpirioLabs 플레이그라운드에서 API와 동일한 파라미터로 Mistral Small 4을(를) 브라우저에서 실행하므로 코드를 작성하기 전에 프롬프트를 테스트할 수 있습니다.

Mistral Small 4 API 키는 어떻게 발급받나요?

EmpirioLabs 계정을 만든 다음 대시보드의 API Keys에서 키를 생성하세요. 요금은 종량제 크레딧이라 실행한 요청에 대해서만 결제합니다.

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

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