AppsGrid

Mistral AI

Mistral Large 4 API

Mistral Large 4 by Mistral AI, with a 1,048,576-token context window.

Try Mistral Large 4

Pricing

UsageUSDPKR
Input per 1M tokens$0.756Rs 212
Cached input per 1M tokens$0.076Rs 21.2
Output per 1M tokens$2.27Rs 635

PKR prices are approximate and depend on the exchange rate on the day you top up.

Quick start

Create an API key in your dashboard, then call mistral-large-4:

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(base_url="https://api.appsgrid.co/v1", api_key="ag_sk_...")

response = client.chat.completions.create(
    model="mistral-large-4",
    messages=[{"role": "user", "content": "Write a tagline for a coffee shop"}],
)
print(response.choices[0].message.content)

cURL

curl https://api.appsgrid.co/v1/chat/completions \
  -H "Authorization: Bearer $APPSGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "mistral-large-4", "messages": [{"role": "user", "content": "Hello"}]}'

FAQ

How much does the Mistral Large 4 API cost?
Input: $0.756 (Rs 212) per 1M tokens. Cached input: $0.076 (Rs 21.2) per 1M tokens. Output: $2.27 (Rs 635) per 1M tokens. You are only charged for what you use.
Can I pay for Mistral Large 4 in Pakistani rupees?
Yes. Top up your AppsGrid balance in PKR with a local card or bank account, or in USD with an international card. The same balance works for every model.
Do I need a separate Mistral AI account?
No. Your AppsGrid API key gives you access to Mistral Large 4 and every other model in the catalog.

Other text & chat models