Mistral 7B Instruct v0.2

32 000 context
Multilingual

Model ID

@hf/mistral/mistral-7b-instruct-v0.2

Use It in Python

from openai import OpenAI

client = OpenAI(
    base_url="https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/",
    api_key="YOUR_API_KEY",
)

response = client.chat.completions.create(
    model="@hf/mistral/mistral-7b-instruct-v0.2",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Don't have a key yet? See how to get one — no credit card needed for Cloudflare Workers AI.

Free Tier Limits (Cloudflare Workers AI)

Rate Limit
Varies by model
Daily Limit
10,000 neurons/day
Monthly Limit
~300,000 neurons/month