Mistral 3 Small (24B AWQ)
Mistral 3 Small provides a range of capabilities, including text generation, image analysis, embeddings, and more.
Mistral 3 Small is a language model that delivers capabilities comparable to larger models while being compact. It’s ideal for conversational agents, function calling, fine-tuning, and local inference with sensitive data.
Model details
| Category | Details |
|---|---|
| Model Name | Mistral 3 Small |
| Version | 24B AWQ |
| Model Category | Large Language Model (LLM) |
| Size | 24B parameters |
| HuggingFace Model | casperhansen/mistral-small-24b-instruct-2501-awq |
| OpenAI Compatible Endpoint | Chat API Overview |
| License | Apache 2.0 |
Capabilities
| Feature | Details |
|---|---|
| Tool Calling | ✅ |
| Context Length | 32k tokens |
| Supports LoRA | ❌ |
| Input Data | Text |
Usage
Basic chat completion
This is an example of a basic chat completion request using this model:
| Property | Type | Description |
|---|---|---|
stream | boolean | Boolean indicating if the response should be streamed. |
max_tokens | number | The maximum number of tokens in the response. |
messages | array | An array of message objects containing the role and content of the message. |
messages[].role | string | The role of the message sender. |
messages[].content | string | The content of the message. |
Response example:
| Property | Type | Description |
|---|---|---|
id | string | Unique identifier for the response. |
object | string | The type of object returned in the response. |
created | number | Timestamp of when the response was created. |
model | string | The name of the model used for the request. |
choices | array | Array of objects containing the response choices. |
usage | object | Object containing usage metrics for the request. |
prompt_logprobs | number | Log probabilities of the prompt. |
choices[].index | number | Index of the choice in the array. |
choices[].message | object | Object containing the message details. |
choices[].message.role | string | The role of the message sender. |
choices[].message.reasoning_content | string | The reasoning content of the message. |
choices[].message.content | string | The content of the message. |
choices[].message.tool_calls | array | Array of tool call objects. |
choices[].logprobs | number | Log probabilities of the choice. |
choices[].finish_reason. | string | The reason the choice was finished. |
choices[].stop_reason | string | The reason the choice was stopped. |
usage.prompt_tokens | number | The number of tokens in the input prompt. |
usage.total_tokens | number | The total number of tokens processed. |
usage.completion_tokens | number | The number of tokens in the completion. |
usage.prompt_tokens_details | string | Additional details about the prompt tokens. |
Tool Calling example
This is an example of a tool calling request using this model:
| Property | Type | Description |
|---|---|---|
| stream | boolean | Indicates whether to stream the response. |
| max_tokens | number | The maximum number of tokens to generate in the response. |
| messages | array | List of messages in the conversation. |
| messages[].role | string | The role of the message sender. |
| messages[].content | string | The content of the message. |
| tools | array | A list of tools or functions the model can call. |
| tools[].type | string | The type of the tool. |
| tools[].function | object | Metadata about the function being defined. |
| tools[].function.name | string | Name of the function. |
| tools[].function.description | string | Description of what the function does. |
| tools[].function.parameters | object | JSON Schema describing the function’s parameters. |
Response example:
| Property | Type | Description |
|---|---|---|
id | string | Unique identifier for the response. |
object | string | The type of object returned in the response. |
created | number | Timestamp of when the response was created. |
model | string | The name of the model used for the request. |
choices | array | Array of objects containing the response choices. |
usage | object | Object containing usage metrics for the request. |
choices[index] | number | Index of the choice in the array. |
choices[].message | object | Object containing the message details. |
choices[].message.role | string | The role of the message sender. |
choices[].message.reasoning_content | string | The reasoning content of the message. |
choices[].message.content | string | The content of the message. |
choices[].message.tool_calls[] | array | Array of tool call objects. |
choices[].message.tool_calls[].id | string | Unique identifier for the tool call. |
choices[].message.tool_calls[].type | string | The type of tool call. |
choices[].message.tool_calls[].function | object | Object containing the function details. |
choices[].message.tool_calls[].function.name | string | The name of the function. |
choices[].message.tool_calls[].function.arguments | string | The arguments passed to the function. |
usage.prompt_tokens | number | The number of tokens in the input prompt. |
usage.total_tokens | number | The total number of tokens processed. |
usage.completion_tokens | number | The number of tokens in the completion. |
usage.prompt_tokens_details | string | Additional details about the prompt tokens. |