← All models

Mistral: Mistral Large 4
mistralai/mistral-large-4-0textVisionReasoning
Mistral Large 4 is a frontier multimodal (text and image input) model from Mistral AI built for reasoning, coding, and agentic workloads. It offers a 512K-token context window with up to 256K output tokens, and supports tool calling and structured outputs.
Price in / out
Cache, read / write
Context / Max output
1.05M / 262K
Released
Oct 6, 2026
Parameters
messagesrequiredreasoning_effortoff · highmax_tokensoptional · alias max_completion_tokensstreamtrue · falsetoolsfunction calling (OpenAI format)tool_choiceauto · none · requiredresponse_formatjson_object · json_schemaweb_search · · · providerrouting: order · only · ignore · sortstream_options{"include_usage": true}image_urlimage (data: URL)Fine-tuning · 8
temperature0–2stopoptionalseedoptionaltop_p0–1frequency_penalty−2…2presence_penalty−2…2logprobstrue · falsetop_logprobs0–20How to use via API
from openai import OpenAI
client = OpenAI(base_url="https://api.mixen.ai/v1", api_key="mxn-...")
resp = client.chat.completions.create(
model="mistralai/mistral-large-4-0",
messages=[{"role": "user", "content": "Привет"}],
reasoning_effort="high", # off · high
temperature=0.7,
max_tokens=1024,
stream=False,
)
print(resp.choices[0].message.content)
# Стриминг: stream=True — ответ приходит чанками
for chunk in client.chat.completions.create(
model="mistralai/mistral-large-4-0",
messages=[{"role": "user", "content": "Привет"}],
stream=True,
):
print(chunk.choices[0].delta.content or "", end="", flush=True)

