Mistral: Mistral Nemo
A 12B parameter model with a 128k token context length built by Mistral in collaboration with NVIDIA. The model is multilingual, supporting English, French, German, Spanish, Italian, Portuguese, Chinese, Japanese,...
This model is available through the OpenSIAI OpenAI-compatible API for chat completions and compatible application workflows.
Why It Looks Great
- text->text architecture for Text to Text workloads
- 131072 context window for long prompts, document analysis, and multi-turn workflows
- Function calling and tool-use support for agentic application workflows
- Structured output support for JSON responses and schema-constrained generation
Key Features
- Context Window: 131072 tokens
- Max Input: 114688 tokens
- Max Output: 16384 tokens
- Vision: Not listed
- Function Calling: Supported
- Structured Outputs: Supported
- Image Generation: Not listed
- Audio Input: Not listed
- Supported Parameters: frequency_penalty, logit_bias, logprobs, max_tokens, min_p, presence_penalty, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p
Specifications
| Specification | Value |
|---|---|
| Provider | mistral |
| Model Type | Chat Completions model |
| Architecture | text->text |
| Context Window | 131072 tokens |
| Max Input | 114688 tokens |
| Max Output | 16384 tokens |
| Input | Text |
| Output | Text |
| Vision | Not listed |
| Function Calling | Supported |
| Structured Outputs | Supported |
| Release Date | July 19, 2024 |
How to Use
- Write your prompt - describe the task, provide context, and specify the desired output format.
- Submit - the model processes your request and returns the response.
API Integration
Base URL: https://llm.opensi.com.ai/v1 API Endpoint: chat/completions Model ID: mistralai/mistral-nemo
API Usage
Python SDK
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.opensi.com.ai/v1"
)
response = client.chat.completions.create(
model="mistralai/mistral-nemo",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)cURL
curl https://llm.opensi.com.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "mistralai/mistral-nemo",
"messages": [{"role": "user", "content": "Hello!"}]
}'Notes
- Model: mistralai/mistral-nemo
- Provider: mistral