# Model: https://docs.mistral.ai/models/mistral-large-4-0 (accessed 2026-10-19). Public preview. # Limits: /v1/models reports max_context_length 1048576 (2026-10-19); max_tokens above 262144 was # rejected on 2026-10-06. # Default: reasoning is on when reasoning_effort is omitted (live 2026-10-19: thinking chunk and # reasoning tokens with no reasoning_effort; it behaved like none on 2026-10-06). # Mistral API (api.mistral.ai), docs and live checks 2026-10-19: # - Pricing: https://docs.mistral.ai/inference/pricing (cached input is billed at 10% of input). # - Prompt caching: https://docs.mistral.ai/studio/conversations/advanced/prompt-caching (automatic prefix # cache in 64-token blocks, no write price, optional prompt_cache_key). Usage is reported when streaming. # - Tools: https://docs.mistral.ai/api/endpoint/chat (tool_choice auto|none|any|required or a named # function; function.strict). All five tool_choice forms worked live. # - Structured output: https://docs.mistral.ai/studio/conversations/structured-output (json_schema # response_format returned schema-valid JSON live). # - PDF: chat takes document_url PDFs (https://docs.mistral.ai/studio/document-processing/document_qna); # a base64 PDF was read correctly live. # - Sampling: temperature and top_p; no top_k (live 400 "top_k sampling is not enabled for this model"). # - Mid-conversation (live): a system message after the first assistant turn is accepted in place, # keeps the cached prefix and is obeyed (re-checked 2026-10-23 with the bulk in the first user # message). Adding or removing tools between requests drops the cache after the system prompt # (live 2026-10-22). # - Reasoning: https://docs.mistral.ai/studio/conversations/reasoning. Rechecked 2026-10-29: # reasoning_effort = low|medium|high returns 200 with thinking output; none and minimal return # 400 listing exactly low|medium|high. The alias no longer supports disabling reasoning. # - Current pricing: https://docs.mistral.ai/models/mistral-large-4-0 (2026-10-29), USD/MTok. schema = 2 base_model = "mistral/mistral-large-4" status = "beta" [modalities] input = ["text", "image/png", "image/jpeg", "image/webp", "image/gif", "application/pdf"] output = ["text"] [capabilities] tools = { supported = true, strict = true, choice = ["auto", "none", "required", "tool"] } reasoning = { supported = true, effort = ["low", "medium", "high"] } structured_output = true system_updates = true stream_usage = true prompt_cache_key = true cache = { implicit = { min_tokens = 64 } } [cost.text.input] price = 0.7 cache = { read = 0.07 } [cost.text.output] price = 2.1