{"id":"mistral-small-4","object":"model","created":1773619200,"owned_by":"mistral","display_name":"Mistral Small 4","author":"mistral","author_name":"Mistral AI","author_logo":"https://media.empiriolabs.ai/provider-logos/mistral.png","provider":"mistral","provider_name":"Mistral AI","provider_logo":"https://media.empiriolabs.ai/provider-logos/mistral.png","description":"Hybrid model unifying Instruct, Reasoning (Magistral), and Devstral families: 40% lower completion time and 3x throughput vs Small 3.","aliases":["mistralai/mistral-small-4"],"modality":"text","type":"chat","category":"text","category_label":null,"modality_label":null,"modalities":["text","image"],"input_modalities":["text","image"],"output_modalities":["text"],"features":["vision","web_search","function_calling"],"structured_output":"json_object","native_inference":false,"weight_precision":null,"hugging_face_id":null,"hugging_face_revision":null,"license_credit":null,"batch_supported":"batch","batch_discount_pct":35,"context_window":262144,"context_length":262144,"max_output_tokens":65536,"model_released_at":"2026-03-16","is_new":false,"is_featured":false,"discount":null,"capabilities":{"streaming":true,"system_prompt":true,"web_search":true,"images":true,"audio":false,"video":false,"three_d":false,"reasoning":false},"supported_parameters":[{"name":"reasoning_enabled","label":"Reasoning Enabled","type":"boolean","description":"Enable extended reasoning. Not applied when the request includes function tools.","required":false,"metadata":{},"default":true},{"name":"tool_web_search","label":"Web Search","type":"boolean","description":"Enable web_search tool","required":false,"metadata":{},"default":false},{"name":"web_search_tier","label":"Web Search Tier","type":"enum","description":"Standard or Premium web-search tier. Premium uses higher-quality sources.","required":false,"metadata":{"visible_when":{"op":"eq","field":"tool_web_search","value":true},"clear_when_hidden":true},"default":"standard","options":["standard","premium"]},{"name":"tool_code_interpreter","label":"Tool Code Interpreter","type":"boolean","description":"Allow the model to execute Python code in a sandbox to compute / analyze data.","required":false,"metadata":{},"default":false},{"name":"tool_image_generation","label":"Tool Image Generation","type":"boolean","description":"Allow the model to generate images inline via the platform image-gen tool.","required":false,"metadata":{},"default":false},{"name":"temperature","label":"Temperature","type":"number","description":"Sampling temperature. 0 = deterministic, 1 = maximum randomness.","required":false,"metadata":{},"default":0.7,"min":0,"max":1},{"name":"max_tokens","label":"Max Tokens","type":"number","description":"Maximum tokens in the response.","required":false,"metadata":{},"default":4096,"min":1,"max":65536},{"name":"disable_formatting","label":"Disable Formatting","type":"boolean","description":"Return the answer without EmpirioLabs formatting: citations stay as plain [N] markers and no References block is added.","required":false,"metadata":{},"default":false},{"name":"response_format","label":"Structured Output","type":"enum","description":"Return the output as a valid JSON object (JSON mode). Describe the fields you want in your prompt.","required":false,"metadata":{"control":"structured-output","so_tier":"json_object"}}],"supported_endpoints":["POST /v1/chat/completions","POST /v1/responses","POST /v1/messages","POST /v1beta/models/mistral-small-4:generateContent"],"pricing":{"prompt":"0.00000015","completion":"0.0000006","image":"0","request":"0","input_cache_read":"0.00000015"},"pricing_rows":[{"spec":"per 1M prompt tokens","label":"Input","value":"$0.15"},{"spec":"per 1M generated tokens","label":"Output","value":"$0.60"},{"spec":"per call","label":"Standard Web Search","value":"$0.084"},{"spec":"per call","label":"Premium Web Search","value":"$0.140"},{"spec":"per call","label":"Code Interpreter","value":"$0.084"},{"spec":"per image","label":"Image Generation","value":"$0.280"}],"unit_pricing":[{"unit":"1m_tokens","usd":"0.15","label":"Input"},{"unit":"1m_tokens","usd":"0.6","label":"Output"},{"unit":"call","usd":"0.084","label":"Standard Web Search"},{"unit":"call","usd":"0.14","label":"Premium Web Search"},{"unit":"call","usd":"0.084","label":"Code Interpreter"},{"unit":"image","usd":"0.28","label":"Image Generation"}],"limits":{"note":"Tools (web search, code interpreter, image generation) are billed only when actually invoked. Requests that include your own function tools use standard function calling, and the built-in tools are unavailable on those requests: a request cannot combine both at once. With a built-in tool turned on, input is limited to about 235,000 tokens per request.","tool_usage_note":"**Per-tool billing (`usage.tool_usage`)**\n\nWhen 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:\n\n```json\n\"usage\": {\n  \"prompt_tokens\": 123,\n  \"completion_tokens\": 456,\n  \"cost_usd\": 0.0042,\n  \"tool_usage\": {\"web_search\": 3, \"code_interpreter\": 1}\n}\n```\n\nThe 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."},"notes":null,"chat_url":"https://platform.empiriolabs.ai/dashboard/playground?model=mistral-small-4","api_url":"https://docs.empiriolabs.ai/models/mistral-small-4","logo":"https://media.empiriolabs.ai/model-logos/mistral-small-4.png","default_params":{"reasoning_enabled":true,"tool_web_search":false,"web_search_tier":"standard","tool_code_interpreter":false,"tool_image_generation":false,"temperature":0.7,"max_tokens":4096,"disable_formatting":false},"status":"available"}