mistral-large-4 API
Call mistral-large-4 through a single OpenAI-compatible endpoint — one key, no separate vendor account, no multi-provider wiring.
ChatReasoningCodingVisionPricing
Input$0.68 / 1M tokens (¥4.42)
Output$2.09 / 1M tokens (¥13.58)
Output multiplier×3.07
Context window524K tokens
Max output262K tokens
Prices are per 1M tokens in USD · ¥6.5 = $1 · Billed in CNY
When to use it
At $0.68 per 1M input tokens it sits above the catalogue median of $0.38 — a capability-first choice. Best for coding agents and repository-scale edits. Every model here is reachable with the same API key, so trialling it against a stronger sibling costs one line of code.
Code
from openai import OpenAI
client = OpenAI(
base_url="https://starseaapi.com/v1",
api_key="sk-your-key"
)
r = client.chat.completions.create(
model="mistral-large-4",
messages=[{"role": "user", "content": "Explain prefix caching in one paragraph"}]
)
print(r.choices[0].message.content)