Provider

Route Mistral through Stockyard

Add cost tracking, caching, failover, and 76 middleware modules to your Mistral requests. One URL change, no SDK swap.

Environment variable
MISTRAL_API_KEY
Models
mistral-large-latest, mistral-small-latest, codestral-latest
Failover to
OpenAI GPT-4o, Anthropic Claude, or DeepSeek
API format
OpenAI-compatible

Why proxy Mistral?

Mistral is a European AI company offering competitive models with strong performance on coding and multilingual tasks. For teams with EU data residency requirements, Mistral provides a European-hosted alternative to US providers.

Proxying through Stockyard adds cost tracking, caching, and the ability to fail over to other providers. Mistral is OpenAI-compatible, so Stockyard routes requests with minimal overhead.

Quick start

# Install Stockyard
curl -fsSL stockyard.dev/install.sh | sh

# Set your Mistral API key
export MISTRAL_API_KEY=your-key-here

# Start the proxy
stockyard
# Provider: mistral (from MISTRAL_API_KEY)
# Proxy listening on :4200

# Send a request through the proxy
curl http://localhost:4200/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"mistral-large-latest","messages":[{"role":"user","content":"hello"}]}'

Good to know

Mistral model names change frequently (e.g., mistral-large-latest vs specific version tags). Model aliasing lets you pin a stable name in your app.

European data residency

Mistral is headquartered in Paris and hosts models in Europe. Combined with Stockyard running on your infrastructure, you get a fully European data path: your server in the EU talks to Mistral's EU servers. No prompt data crosses the Atlantic.

For teams subject to GDPR or with EU data residency requirements, this is one of the strongest provider choices. Stockyard's audit trail gives you the evidence that data stayed in-region.

Route Mistral through Stockyard in under 60 seconds.

Install Guide

All 16 providers · Proxy-only mode · What is an LLM proxy? · vs LiteLLM · vs Portkey

Explore: OpenAI · Anthropic · DeepSeek · Cohere