# Mistral Small

Mistral's September 17, 2024 update to its 22B mid-tier model: input and output pricing fell about 80% while reasoning, alignment, and code generation improved over the prior Mistral Small, per Mistral's September 2024 pricing post.

- **Model ID:** `mistral/mistral-small`
- **Type:** chat
- **Providers:** mistral
- **Context window:** 262,144
- **Maximum output tokens:** 4,000
- **Pricing:** $0.15/1M input tokens, $0.6/1M output tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/mistral-small

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { streamText } from 'ai'

const result = streamText({
  model: 'mistral/mistral-small',
  prompt: 'Why is the sky blue?'
})
```

## About

Released September 17, 2024, the Mistral Small update was primarily a pricing event, with an approximately 80% reduction in input and output token pricing compared to the prior release. Simultaneous capability improvements in human alignment, reasoning, and code generation made this a significant upgrade rather than just a price cut.

At 22B parameters, Mistral Small sits between Mistral NeMo (12B) and Mistral Large 2 in the lineup Mistral described in September 2024. Mistral Small targets translation, summarization, and sentiment analysis.

The pricing cut plus capability improvements made Mistral Small a common pick for production workloads that previously ran larger, more expensive Mistral endpoints.

## What to consider

At 22B parameters, Mistral Small sits between Mistral NeMo 12B and Mistral Large 2 as a mid-point in the lineup, per Mistral's September 2024 post.

## When to use

### Best For

- Translation, summarization, and sentiment analysis at scale
- Production workloads that need a 22B mid-tier model at competitive per-token pricing
- Applications where the mid-point capability between NeMo and Large is the right fit
- Cost optimization for workloads previously using larger Mistral models

### Consider Alternatives When

- Higher reasoning capability is required (consider Mistral Large 3 or Magistral)
- You need the Tekken tokenizer's multilingual compression advantages (consider Mistral NeMo)
- Vision input is needed (consider Pixtral models)

## Best for

- **Translation and summarization at scale:** High-volume translation, summarization, and sentiment analysis workloads
- **22B mid-tier production:** Workloads that need competitive per-token pricing
- **Mid-point between NeMo and Large:** Applications where this capability fit is right
- **Cost optimization:** For workloads previously using larger Mistral models

## Consider alternatives

- **Higher reasoning capability:** For workloads that need more depth (consider Mistral Large 3 or Magistral)
- **Tekken tokenizer compression:** You need multilingual compression advantages (consider Mistral NeMo)
- **Vision input:** Your workload needs image input (consider Pixtral models)

## Frequently asked questions

### What are the input and output prices for Mistral Small?

This page lists the current rates. Multiple providers can serve Mistral Small, so AI Gateway surfaces live pricing rather than a single fixed figure.

### How many parameters does Mistral Small have?

22 billion parameters.

### Where does Mistral Small sit in the model lineup?

Between Mistral NeMo (12B) and Mistral Large 2, described as a convenient mid-point for enterprise use cases.

### What capability improvements came with the September 17, 2024 release?

Improved human alignment, stronger reasoning, and better code generation compared to the prior Mistral Small version.

### What tasks is Mistral Small well-suited for?

Translation, summarization, and sentiment analysis. Mistral positions Mistral Small for tasks that don't need Mistral Large-scale breadth.

### How does Mistral Small compare to Mistral NeMo?

Mistral Small is larger (22B vs 12B), more capable, and more expensive. Mistral NeMo has the Tekken tokenizer's compression advantages for code and non-Latin scripts. The choice depends on capability requirements and token efficiency needs.

## Links

- [Model page](https://vercel.com/ai-gateway/models/mistral-small)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://mistral.ai/technology/)
- [Provider pricing](https://docs.mistral.ai/platform/pricing/)
