Small 3 API

Small 3 on AIMLAPI.

Modalities
Image, TextText
In / Out price
$0.0529/$0.0846per 1M
Context window
32K tokens
Released
Jan 30, 2025

Small 3 overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Small 3 through AI/ML API

Small 3 specs

Model ID
mistralai/mistral-small-24b-instruct-2501
Developer
Mistral AI
Context window
32,768 tokens
Max output
16,384 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.

Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.

Complex reasoning
Extended reasoning improves reliability on multi-step math, logic, and technical analysis.

Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.

Use cases

Fast-response conversational agents are a documented fit for this model, especially where quick, accurate replies and near real-time interaction matter.

Low-latency function calling is another stated use case, including automated or agentic workflows that need rapid tool execution.

Subject matter experts via fine-tuning are explicitly called out as a use case, with the model intended to be specialized for domains like legal advice, medical diagnostics, and technical support.

Local inference is also documented as a use case, particularly for hobbyists and organizations handling sensitive or proprietary information.

Capabilities

  • Function calling
  • Reasoning
  • Streaming
  • Structured outputs
  • Web search

Small 3 benchmarks by Artificial Analysis

See how Small 3 compares in generation speed and latency. Data retrieved Nov 3, 2026.

Speed

Output tokens / second

Benchmark results

Compare 13 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Small 3 API pricing

Small 3 pricing in US dollars
UsagePriceUnit
Input$0.05291M tokens
Output$0.08461M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Small 3 vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Small 3$0.0529$0.0846
RedPajama-INCITE Chat (3B)$0.105$0.105
Small 4$0.1984$0.7935
Mistral Large 4$1.36$4.18
Medium 3.5$1.59$7.93

How to use the Small 3 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "mistralai/mistral-small-24b-instruct-2501",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Small 3 FAQ

What is the context window of Small 3?

Small 3 has a 32,768 tokens context window and can return up to 16,384 tokens.

What inputs and outputs does Small 3 support?

Small 3 takes image, text as input and returns text.

What is the model ID for Small 3?

Use mistralai/mistral-small-24b-instruct-2501 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

How much does Small 3 cost?

Small 3 costs $0.0529 input and $0.0846 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Small 3 support streaming?

Yes, Small 3 can stream responses as they are generated.

Can Small 3 read images?

Yes, Small 3 accepts image input alongside text.

Who created Small 3?

Small 3 was built by Mistral AI.

Does Small 3 support function calling?

Yes, Small 3 supports function calling as well as parallel tool calls.

Start building with Small 3

Small 3 API

mistralai/mistral-small-24b-instruct-2501

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "mistralai/mistral-small-24b-instruct-2501",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'