---
title: Mistral: Mistral Large 4 API | Text Generation | ModelsLab
description: Build with Mistral: Mistral Large 4 API by Mistral AI. Text generation, chat, code, and reasoning. Plans from $21/month.
url: https://modelslab.com/models/mistralai/mistralai-mistral-large-4-0.md
canonical: https://modelslab.com/models/mistralai/mistralai-mistral-large-4-0
type: product
component: Playground/LLM/Index
generated_at: 2026-10-14T02:13:36.667565Z
---

Mistral: Mistral Large 4
---

 [LLMs.txt](https://modelslab.com/models/mistralai/mistralai-mistral-large-4-0/llms.txt) [.md](https://modelslab.com/models/mistralai/mistralai-mistral-large-4-0.md)

Mistral: Mistral Large 4
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

images and text files

Send

### Mistral: Mistral Large 4

mistralai mistralai-mistral-large-4-0

Copy model ID

PricingInput $0.68 / 1M tokens

Output $2.09 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens4000

Top P0.9

Frequency Penalty0

Presence Penalty0

Thinkinglow

lowmediumhigh

Deeper thinking spends more of the Max Tokens budget before the answer starts.

Model Info

Support

Looking for something different?
---

Models that trade off differently against the one you are viewing

### Better quality

Newer flagship models that generally produce stronger results.

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.2](https://modelslab.com/models/openai/gpt-5.2)

[OpenAI](https://modelslab.com/models/openai)

 [GPT 5.1](https://modelslab.com/models/openai/gpt5.1)

[Google](https://modelslab.com/models/google)

 [Gemini 3 Pro Preview](https://modelslab.com/models/google/gemini-3-pro-preview)

[OpenAI](https://modelslab.com/models/openai)

 [GPT-5.1-Codex-Max](https://modelslab.com/models/openai/gpt-5.1-codex-max)

### Lower cost per run

Open-source models we host, unlimited on the $149/month plan.

[ModelsLab](https://modelslab.com/models/modelslab) Popular

 [Modelslab: Custom LLM](https://modelslab.com/models/modelslab/uncensored-chat)Open Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 235B A22B Instruct 2507](https://modelslab.com/models/qwen/qwen-qwen3-235b-a22b-2507)Closed Source Model

[OpenAI](https://modelslab.com/models/openai)

 [gpt-oss-20b](https://modelslab.com/models/openai/gpt-oss-20b)Closed Source Model

[DeepSeek](https://modelslab.com/models/open_router)

 [DeepSeek: DeepSeek V4 Flash 0423](https://modelslab.com/models/deepseek/deepseek-deepseek-v4-flash)Closed Source Model

[Google](https://modelslab.com/models/open_router)

 [Google: Gemini 3.1 Flash Lite](https://modelslab.com/models/google/google-gemini-3.1-flash-lite)Closed Source Model

[Qwen](https://modelslab.com/models/open_router)

 [Qwen: Qwen3.5-9B](https://modelslab.com/models/qwen/qwen-qwen3.5-9b)Closed Source Model

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab.com/models?feature=llmaster)

[#### Google/Google: Gemini 3.1 Flash Lite Preview

google-gemini-3.1-flash-lite-preview

From $0.88/M tokens](https://modelslab.com/models/google/google-gemini-3.1-flash-lite-preview)

[#### Inception/Inception: Mercury 2.5

inception-mercury-2.5

From $0.10/M tokens](https://modelslab.com/models/inception/inception-mercury-2.5)

[#### Meituan/Meituan: LongCat 2.0

meituan-longcat-2.0

From $0.75/M tokens](https://modelslab.com/models/meituan/meituan-longcat-2.0)

[#### Anthropic/Anthropic: Claude Fable 5.1 (batch)

anthropic-claude-fable-5.1-batch

From $15.00/M tokens](https://modelslab.com/models/anthropic/anthropic-claude-fable-5.1-batch)

[#### Mistral AI/Mistral: Ministral 3 14B 2512

mistralai-ministral-14b-2512

From $0.20/M tokens](https://modelslab.com/models/mistralai/mistralai-ministral-14b-2512)

[#### Qwen/Qwen: Qwen3 Coder 480B A35B

qwen-qwen3-coder

From $0.65/M tokens](https://modelslab.com/models/qwen/qwen-qwen3-coder)

[#### Tencent/Tencent: Hy-MT2-30B-A3B

tencent-hy-mt2-30b-a3b

From $0.18/M tokens](https://modelslab.com/models/tencent/tencent-hy-mt2-30b-a3b)

[#### Qwen/Qwen: Qwen3 Next 80B A3B Thinking

qwen-qwen3-next-80b-a3b-thinking

From $0.68/M tokens](https://modelslab.com/models/qwen/qwen-qwen3-next-80b-a3b-thinking)

[#### Qwen/Qwen: Qwen3.8 Flash

qwen-qwen3.8-flash

From $0.31/M tokens](https://modelslab.com/models/qwen/qwen-qwen3.8-flash)

[#### Inference Net/Inference.net: Schematron V2 Small

inference-net-schematron-v2-small

From $0.14/M tokens](https://modelslab.com/models/inference-net/inference-net-schematron-v2-small)

[#### Perceptron/Perceptron: Perceptron Mk1

perceptron-perceptron-mk1

From $0.82/M tokens](https://modelslab.com/models/perceptron/perceptron-perceptron-mk1)

[#### Qwen/Qwen: Qwen3.6 Flash

qwen-qwen3.6-flash

From $0.66/M tokens](https://modelslab.com/models/qwen/qwen-qwen3.6-flash)

[#### Undi95/ReMM SLERP 13B

undi95-remm-slerp-l2-13b

From $0.50/M tokens](https://modelslab.com/models/undi95/undi95-remm-slerp-l2-13b)

[#### StepFun/StepFun: Step 5 Preview

stepfun-step-5-preview

From $1.85/M tokens](https://modelslab.com/models/stepfun/stepfun-step-5-preview)

[#### Anthropic/Anthropic: Claude Opus 5.5

anthropic-claude-opus-5.5

From $12.00/M tokens](https://modelslab.com/models/anthropic/anthropic-claude-opus-5.5)

[#### Moonshot AI/MoonshotAI: Kimi K2 0711

moonshotai-kimi-k2

From $1.44/M tokens](https://modelslab.com/models/moonshotai/moonshotai-kimi-k2)

[#### Google/Google: Gemini 3.1 Pro Preview Custom Tools

google-gemini-3.1-pro-preview-customtools

From $7.00/M tokens](https://modelslab.com/models/google/google-gemini-3.1-pro-preview-customtools)

[#### Google/Google: Gemini 2.5 Pro

google-gemini-2.5-pro

From $5.63/M tokens](https://modelslab.com/models/google/google-gemini-2.5-pro)

About Mistral: Mistral Large 4
---

Mistral Large 4 is a frontier multimodal (text and image input) model from Mistral AI built for reasoning, coding, and agentic workloads. It offers a 1M-token context window with up...

### Technical Specifications

Model IDmistralai-mistral-large-4-0

CategoryLLM Models

TaskText Generation

Price$1.39 per million tokens

AddedOctober 6, 2026

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Mistral: Mistral Large 4 into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "mistralai-mistral-large-4-0",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

### Pricing

Mistral: Mistral Large 4 API costs $1.39 per million tokens. Plans start at $21/month, and open-source models are unlimited on the $149/month plan. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Mistral AI](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Mistral: Mistral Large 4 FAQ
---

### What is Mistral: Mistral Large 4?

Mistral Large 4 is a frontier multimodal (text and image input) model from Mistral AI built for reasoning, coding, and agentic workloads. It offers a 1M-token context window with up...

### How do I use the Mistral: Mistral Large 4 API?

You can integrate Mistral: Mistral Large 4 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "mistralai-mistral-large-4-0" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Mistral: Mistral Large 4 cost?

Mistral: Mistral Large 4 costs $1.39 per million tokens. ModelsLab plans start at $21/month (Basic), and the $149/month Open Source plan includes unlimited generation on open-source models.

### What is the Mistral: Mistral Large 4 model ID?

The model ID for Mistral: Mistral Large 4 is "mistralai-mistral-large-4-0". Use this ID in your API requests to specify this model.

### Do I need a paid plan to use Mistral: Mistral Large 4?

Yes. ModelsLab is subscription-based with no free tier — plans start at $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generation across open-source models; premium third-party models are billed per call from your wallet.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-10-14*