Mistral AI/open-mistral-7b/Released Sep 2023

Mistral 7B

General-purpose open model

Text

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.

MetricValue
Parameter Count7 billion
Mixture of ExpertsNo
Context Length32,768 tokens
MultilingualNo (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.

POSThttps://hub.oxen.ai/api/ai/chat/completions