About Mistral 7B
Mistral 7B is a 7 billion parameter LLM that excels in general-purpose language tasks, including text generation, question answering, and code tasks. It is particularly notable for its balanced performance across both natural language and programming tasks, achieving comparable results to specialized models like CodeLlama 7B while maintaining strong general capabilities.
Some noteworthy use cases of Mistral 7B include handling longer text sequences efficiently and performing well on code-related tasks.
| Metric | Value |
|---|---|
| Parameter Count | 7 billion |
| Mixture of Experts | No |
| Context Length | 32,768 tokens |
| Multilingual | No (primarily English) |
| Quantized* | Unknown |
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.
Ready to build with Mistral 7B?
Try Mistral 7B in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "open-mistral-7b",
"messages": [
{
"role": "user",
"content": "Try sending a message."
}
]
}'API endpoint
See the API reference for request and response formats.
https://hub.oxen.ai/api/ai/chat/completions