← Back to Top 10
Mistral AI

Mistral Large 2

The European flagship model, delivering top-tier reasoning and multilingual capabilities.

Generic Info

  • Publisher: Mistral AI
  • Release Date: July 2024
  • Parameters: 123B
  • Context Window: 128k tokens
  • License: Mistral Research License / Commercial
  • Key Capabilities: Multilingual (80+ languages), Coding, Function Calling

Mistral Large 2 is designed for high-end enterprise use cases. It excels in coding and reasoning tasks while maintaining a relatively compact size for its performance class. Its strong multilingual support makes it a global favorite.

Hello World Guide

Use the official mistralai Python client.

Python
import os
from mistralai.client import MistralClient
from mistralai.models.chat_completion import ChatMessage

api_key = os.environ["MISTRAL_API_KEY"]
model = "mistral-large-latest"

client = MistralClient(api_key=api_key)

messages = [
    ChatMessage(role="user", content="Write a short poem about the Eiffel Tower in French.")
]

chat_response = client.chat(
    model=model,
    messages=messages,
)

print(chat_response.choices[0].message.content)

Industry Usage

Enterprise RAG

Widely adopted for internal knowledge retrieval systems due to its large context window and precise instruction following.

Code Generation

Integrated into developer tools to assist with code completion, refactoring, and documentation across multiple languages.

Global Customer Support

Powers multilingual chatbots for European and global companies, handling complex queries in native languages.