본문으로 바로 가기

Mistral AI

Magistral Small 2509

추론에 맞춘 작은 모델이에요

mistralai/magistral-small-2509

100만 토큰 가격

입력
$0.50
출력
$1.50
이 모델과 대화해 보기

코드에서 쓰기

from openai import OpenAI

client = OpenAI(
    base_url="https://alprouter.alpsoft.io/api/v1",
    api_key="alp-내-키",
)

answer = client.chat.completions.create(
    model="mistralai/magistral-small-2509",
    messages=[{"role": "user", "content": "안녕하세요"}],
)
print(answer.choices[0].message.content)

자세한 정보

한 번에 넣을 수 있는 입력
12.8만 토큰
한 번에 만들 수 있는 출력
3.3만 토큰
도구 호출
지원하지 않아요
보낼 수 있는 것
글, 이미지
공급사
Amazon Bedrock
쓸 수 있는 옵션
max_completion_tokens, max_tokens, stream, temperature, top_p