MistralSees images

Mistral Large 4

mistralai/mistral-large-4-0

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...

Context
1M tokens
Input, 1M tokens
$0.84
Output, 1M tokens
$2.52
Benchmark
—

Uptime and speed

Loading…

Pricing

Charged from your prepaid balance for the tokens actually used.

Input tokens$0.84 per 1M tokens
Output tokens$2.52 per 1M tokens
Cache read$0.08 per 1M tokens

Apps and activity

Loading…

Technical details

Model IDmistralai/mistral-large-4-0
Context window1M tokens
AcceptsText, Images
ProducesText
TokenizerMistral
Max output tokens262,144

How to connect

The API is OpenAI-compatible: the official SDKs, LangChain and any client with a "base URL" field work.

import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://getmegabrain.com/api/gateway/v1',
  apiKey: process.env.MEGABRAIN_API_KEY,
})

const response = await client.chat.completions.create({
  model: 'mistralai/mistral-large-4-0',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Questions

How much does the Mistral Large 4 API cost?

$0.84 per 1M input tokens and $2.52 per 1M output tokens, charged from a prepaid US-dollar balance for the tokens actually used. There is no subscription.

What is the context window of Mistral Large 4?

1,048,576 tokens (1M), with up to 262,144 tokens in one reply.

How do I call Mistral Large 4 through the API?

Send an OpenAI-compatible request to https://getmegabrain.com/api/gateway/v1/chat/completions with "model": "mistralai/mistral-large-4-0" and your MegaBrain API key as a Bearer token. The official OpenAI SDKs, LangChain and any client with a base URL setting work; the same key also reaches image and video models.

What input does Mistral Large 4 accept?

It accepts Text and Images and produces Text.

Can I try Mistral Large 4 before paying?

Sign-up is free and open to everyone. Adding a card (nothing is charged) gives $1.00 of credit to try any model; after that every model is charged from a balance you top up by card.

Start using Mistral Large 4

Create an account, top up from $10, get a key in your dashboard and send your first request.