Using Mistral Small 3.1 24B Instruct on Fireworks AI
Implementation guide · Mistral Small · MistralAI
ServerlessOpen Source
Fireworks AI exposes Mistral Small 3.1 24B Instruct through model ID mistral-small-3.1-24b-instruct. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-05-05. Next refresh: weekly.
Quick Start
- 1
- 2Use the Fireworks AI SDK or REST API to call
mistral-small-3.1-24b-instruct— see the documentation for request format. - 3
Code Examples
Install
pip install openaiAPI key
FIREWORKS_API_KEYModel ID
mistral-small-3.1-24b-instructFireworks model IDs use "accounts/fireworks/models/{model-name}" format, e.g. "accounts/fireworks/models/llama4-scout-instruct-basic" or "accounts/fireworks/models/deepseek-r1".
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FIREWORKS_API_KEY"],
base_url="https://api.fireworks.ai/inference/v1"
)
response = client.chat.completions.create(
model="mistral-small-3.1-24b-instruct",
messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)Pricing on Fireworks AI
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.90 |
| Output tokens | $0.90 |
Capabilities
VisionMultimodalStructured Outputs
About Mistral Small 3.1 24B Instruct
Mistral's Small 3.1 24B model with multimodal vision understanding capabilities. Optimized for cost-efficient deployment with 128K token context window. Available on Cloudflare Workers AI.
Model Specs
Released2025-12-15
Parameters24B
Context128k
ArchitectureDecoder Only
Knowledge cutoff2023-10