We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Mistral: Mistral Small 4

mistralai/mistral-small-2603
TextInput: text · imageToolsReasoning262KAdded Mar 16, 2026

Try Mistral: Mistral Small 4 now

Runs on your balance at the prices above. New accounts start with free usage.

One API. Every model.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign in

Session cost $0.00

Mistral: Mistral Small 4 at a glance

  • Input price is 67% lower than the median of 434 Text models.
  • Context window of 262,144 tokens, enough for long documents and multi-turn conversations.
  • Supports tool (function) calling for agents and integrations.
  • Supports structured JSON output with a schema.
  • Supports reasoning effort control.
  • Accepts images as input (vision).
  • A typical request (1,000 input / 500 output tokens) costs about $0.00158.

About Mistral: Mistral Small 4

Mistral: Mistral Small 4 is a text generation model from Mistral, released on 16 March 2026. It is the next major release in the Mistral Small family, and Mistral describes it as unifying the capabilities of several flagship Mistral models into a single system, combining strong reasoning with the other strengths of those models. On api14 it sits in the text category and is identified by the model id mistralai/mistral-small-2603.

The model accepts text and images as input and returns text. Its context window is 262,144 tokens, and the maximum output is 209,715 tokens, so both very long inputs and long generations are possible within the same request. Because image input is supported, prompts can mix written instructions with images, while the response itself is always text.

Those capabilities point to a fairly wide set of practical uses. Long context suits work such as summarising or querying large documents, codebases, transcripts or report sets in a single call, and the large output ceiling helps when the answer itself needs to be long, for example a full draft or an extended analysis. Image input makes it usable for tasks that combine a picture with written instructions, such as describing or extracting information from a screenshot or diagram. Reasoning support and tool calling make it a reasonable fit for agent style workflows and for applications that need to call functions or external services, and structured outputs help when the result has to be parsed by another program.

You call it through api14's OpenAI-compatible API using the model id mistralai/mistral-small-2603, so existing OpenAI client libraries and request shapes work with only the model name changed. The supported request parameters are frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools and top_p. In practice that covers sampling controls, deterministic runs via seed, stopping conditions, JSON or schema constrained responses through response_format and structured_outputs, and tool use through tools and tool_choice, with reasoning controlled by the reasoning, reasoning_effort and include_reasoning options.

There are no stated restrictions in the facts above beyond the modality split: input can include images, but output is text only, so it is not a fit if you need generated images, audio or video. If your workload is purely short text prompts with no images, no tool calls and no need for a long context, a smaller and simpler text model may be sufficient, but for long inputs, long outputs, image aware prompts or tool driven pipelines, this model covers those cases directly.

How to call the Mistral: Mistral Small 4 API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "mistralai/mistral-small-2603".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.chat.completions.create({
  "model": "mistralai/mistral-small-2603",
  "messages": [
    {
      "role": "user",
      "content": "Explain vector databases in two sentences."
    }
  ]
});
console.log(result.choices[0].message.content);

Supported parameters

frequency_penaltyinclude_reasoningmax_tokenspresence_penaltyreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p

Specifications

Context length
262,144
Max output
209,715
Input
text, image
Output
text

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

Mistral: Mistral Small 4: frequently asked questions

How much does the Mistral: Mistral Small 4 API cost?
Mistral: Mistral Small 4 costs Input $0.52 / 1M tokens. It is charged from your USD balance only for successful requests; failed requests are free.
What is the context window of Mistral: Mistral Small 4?
Mistral: Mistral Small 4 reads up to 262,144 tokens per request: prompt, history and documents together. It writes up to 209,715 output tokens per response.
What can Mistral: Mistral Small 4 do?
Mistral: Mistral Small 4 accepts text, image and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call Mistral: Mistral Small 4 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "mistralai/mistral-small-2603". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Mistral: Mistral Small 4?
Comparable Text models at a similar price: MiniMax: MiniMax M3.1 Flash, DeepSeek: DeepSeek V4.1 Flash 1017, LiquidAI: LFM2.5-24B-A2B. Each runs through the same API key, so switching is one string.

Mistral: Mistral Small 4 community

New topic

This community has no topics yet. Open the first one about Mistral: Mistral Small 4.