TensaHub › OpenRouter

Mistral: Pixtral Large 2502

API des Modells mistralai/pixtral-large-2502 bei OpenRouter, $2 / $6 pro Million Tokens, Kontext 128.000 Tokens. Beispiele in curl, Python und JavaScript, Live-Test.

Im Katalog testen und bewerten

Pixtral Large 2502 is the February 2025 version of Mistral AI's large multimodal model, following [Pixtral Large 2411](https://openrouter.ai/mistralai/pixtral-large-2411). It accepts text and image input, including documents, charts, and natural images,...

Typ
Modell
Anbieter
OpenRouter
Modell-ID
mistralai/pixtral-large-2502
Preis
Kostenpflichtig
Preis Eingabe / Ausgabe
$2 / $6 pro Million Tokens
Zugang ohne Schlüssel
Nein
Schlüsselvariable
OPENROUTER_API_KEY
Basis-URL (OpenAI-kompatibel)
https://openrouter.ai/api/v1
Kontext
128.000 Tokens
Eingaben
Text, Bild
Entwicklerbewertung
Noch nicht bewertet
Dokumentation
https://openrouter.ai/mistralai/pixtral-large-2502

Codebeispiele

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"mistralai/pixtral-large-2502","messages":[{"role":"user","content":"Hallo, stell dich in einem Satz vor."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
    model="mistralai/pixtral-large-2502",
    messages=[{"role": "user", "content": "Hallo, stell dich in einem Satz vor."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
  model: 'mistralai/pixtral-large-2502',
  messages: [{ role: 'user', content: 'Hallo, stell dich in einem Satz vor.' }],
})
console.log(r.choices[0].message.content)

Integrationscode erzeugen →

Beliebte Suchen

Häufige Fragen

Ist die API von Mistral: Pixtral Large 2502 kostenlos?

Nein: Mistral: Pixtral Large 2502 ist eine kostenpflichtige API ($2 / $6 pro Million Tokens).

Wie rufe ich Mistral: Pixtral Large 2502 aus meinem Code auf?

Mistral: Pixtral Large 2502 bietet eine OpenAI-kompatible API unter https://openrouter.ai/api/v1: Verwenden Sie ein beliebiges OpenAI-SDK (Python, JavaScript …) mit dieser Basis-URL. Modellkennung: mistralai/pixtral-large-2502. Fertiger Code (Streaming, JSON, Wiederholungen) steht im Werkzeugkasten für Entwickler bereit.

Wie groß ist das Kontextfenster von Mistral: Pixtral Large 2502?

Mistral: Pixtral Large 2502 verarbeitet bis zu 128.000 Tokens Kontext (Nachricht und Verlauf).

Welche Alternativen gibt es zu Mistral: Pixtral Large 2502?

Ähnliche APIs im Katalog: Mistral-Large-4-1T-A52B · Mistral, Mistral: Mistral Large 4, Mistral: Mistral Medium 3.5, Mistral: Mistral Medium 3.5 (batch), Mistral: Mistral Small 4.

Alternativen