Skip to main content
Core.Today
|
Mistral AIFastHigh

Mistral Small 4

Mistral Small 4 (v26.03) over the direct Mistral API - a fast, low-cost hybrid model that unifies instruct, reasoning and coding, with a 256K-token context window, image input, function calling and structured outputs.

279/1,115credits
input / output ยท per 1M tokens
256K-token context window
Image input (vision)
Function calling and structured outputs
Prompt caching (cached input billed at the cached rate)
OpenAI-compatible API (chat completions) via /llm/mistral/v1

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Model Specifications

Context Window
262K
tokens
Max Output
262K
tokens
Training Cutoff
Not published
Compatible SDK
OpenAI

Capabilities

Vision
Function Calling
Streaming
JSON Mode
System Prompt

Token Pricing (per 1M tokens)

Token TypeCreditsUSD Equivalent
Input Tokens279$0.19
Output Tokens1,115$0.74
Cached Tokens27.87$0.02

* 1,500 credits โ‰ˆ $1 (actual charges may vary based on usage)

Quick Start

curl -X POST "https://api.core.today/llm/mistral/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "mistral-small-2603",
  "messages": [
    {
      "role": "user",
      "content": "๋‹ค์Œ ๋ณด๊ณ ์„œ๋ฅผ ๋‹ค์„ฏ ์ค„๋กœ ์š”์•ฝํ•ด ์ค˜."
    }
  ],
  "max_tokens": 4096
}'

Parameters

ParameterTypeRequiredDefaultDescription
messagesarrayYes-Chat messages in OpenAI format (system/user/assistant roles).
max_tokensintegerNo-Maximum completion tokens.
temperaturenumberNo-Sampling temperature.
toolsarrayNo-Function definitions the model may call (OpenAI tools format).
response_formatobjectNo-json_object or json_schema for structured output.
streambooleanNofalseStream the response as server-sent events.

Examples

Chat completion

OpenAI-compatible chat completion over the direct Mistral route

curl -X POST "https://api.core.today/llm/mistral/v1/chat/completions" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer cdt_your_api_key" \
  -d '{
  "model": "mistral-small-2603",
  "messages": [
    {
      "role": "user",
      "content": "๋‹ค์Œ ๋ณด๊ณ ์„œ๋ฅผ ๋‹ค์„ฏ ์ค„๋กœ ์š”์•ฝํ•ด ์ค˜."
    }
  ],
  "max_tokens": 4096
}'

Tips & Best Practices

1Works with the OpenAI SDK - set base_url to https://api.core.today/llm/mistral/v1 and use your cdt_ API key
2Mistral-small-latest is accepted and pinned to this id - the response `model` field shows the pinned id
3Only chat completions are available on this route - for OCR, speech-to-text and text-to-speech use mistral/ocr-4.1, mistral/voxtral-mini-transcribe-3 and mistral/voxtral-tts-3 through POST /v1/predictions

Use Cases

High-volume classification, extraction and summarization
Low-latency chat and customer support
Coding assistance at a low per-token price