Mistral
Mistral

Mistral Large

mistralai/mistral-large-1

This is Mistral AI's closed-source, flagship model. It's powered by a closed-source prototype and excels at reasoning, code, JSON, chat, and more. Read the launch announcement here.

It is fluent in English, French, Spanish, German, and Italian, with high grammatical accuracy, and its 32K tokens context window allows precise information recall from large documents.

Tools

Function Calling

Community

Open Source

Context Window

32,000

0

Using Mistral Large with Python API

Using Mistral Large with OpenAI compatible API

import openai

client = openai.Client(
  api_key= '{your_api_key}',
  base_url="https://api.model.box/v1",
)
response = client.chat.completions.create(
model="mistralai/mistral-large-1",
messages: [
  {
    role: 'user',
    content:
      'introduce your self',
    },
  ]
)
print(response)