Open Mistral Nemo 2407
Chat Completions
open-mistral-nemo-2407
Chat Completions
Mistral Large 2 (version mistral-large-2407) is Mistral AI’s flagship model, supporting dozens of languages—including French, German, Spanish, Italian, Portuguese, Arabic, Hindi, Russian, Chinese, Japanese, and Korean—and over 80 coding languages. It features a long context window for precise information recall and is optimized for reasoning, code, JSON, and chat tasks.
Code Example
Example code for using this model through our API with Python (OpenAI SDK) or cURL. Replace placeholders with your API key and model ID.
Basic request example. Ensure API key permissions. For more details, see our documentation.
from openai import OpenAI
client = OpenAI(
base_url="https://api.naga.ac/v1",
api_key="YOUR_API_KEY",
)
resp = client.chat.completions.create(
model="open-mistral-nemo-2407",
messages=[
{{"role": "user", "content": "What's 2+2?"}}
],
temperature=0.2,
)
print(resp.choices[0].message.content)