Skip to main content

Try Mistral 7B in the Workbench

Run this model interactively, tune parameters, and compare outputs.
Model ID: open-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
MultilingualUnknown
Quantized*Unknown
*Quantization is specific to the inference provider and the model may be offered with different quantization levels by other providers.

Example request

Use the Workbench as a request builder: configure parameters for this model in the UI, then open the API tab to copy the exact cURL or Python call.
curl -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": "Hello, what can you do?"
    }
  ]
}'

Fetch model details

The models endpoint returns the full model object, including its json_request_schema.
curl -H "Authorization: Bearer $OXEN_API_KEY" https://hub.oxen.ai/api/ai/models/open-mistral-7b

Request parameters

This model follows the standard OpenAI chat completions request body. See the chat completions reference for the full parameter list.