Mistral Small 4
Model Information
Display Name: Mistral Small 4
API Model ID: mistralai/mistral-small-4
Category: Image To Text
Description: Mistral Small 4 is the latest versatile model from Mistral AI, unifying multimodal vision (Pixtral), advanced reasoning (Magistral), and agentic coding (Devstral) capabilities in a single efficient model. **Key Features:** - 32K token context window - Multimodal: processes both text and images - Advanced reasoning with chain-of-thought - Agentic coding capabilities - Function calling and tool use - JSON structured outputs **Capabilities:** - Text generation and chat - Image understanding and analysis - Code generation and debugging - Complex reasoning tasks - Function/tool calling - Document analysis **Best For:** - Cost-effective multimodal applications - Vision + reasoning workflows - Code assistance and generation - General-purpose AI tasks **Technical Specs:** - Architecture: Transformer with MoE - Multimodal: Text + Vision - License: Apache 2.0
Context Window: 32,768 tokens
Max Output: 8,192 tokens
How to Use This Model
To use Mistral Small 4 via the HInow.ai API, use the model ID: mistralai/mistral-small-4
API Request Example (Chat/Text)
POST https://api.hinow.ai/v1/chat/completions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"model": "mistralai/mistral-small-4",
"messages": [
{"role": "user", "content": "Your message here"}
]
}
API Request Example (Image Generation)
POST https://api.hinow.ai/v1/images/generations
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"model": "mistralai/mistral-small-4",
"prompt": "Your image description here"
}
Pricing
- input: $0.14
- output: $0.41
Available Parameters
- temperature: Controls randomness (0-1.5). Default: 0.7 (Options: 0, 0.3, 0.5, 0.7, 1.0, 1.5)
- top_p: Nucleus sampling (0-1). Default: 1 (Options: 0.1, 0.5, 0.7, 0.9, 0.95, 1.0)
- max_tokens: Max tokens to generate (Options: 256, 512, 1024, 2048, 4096, 8192)
- response_format: Output format (Options: text, json_object)
Quick Reference
To use this model, set: "model": "mistralai/mistral-small-4"
Featured: Yes
Documentation: https://hinow.ai/models/mistralai/mistral-small-4
API Endpoint: https://api.hinow.ai/v1


