@cf/mistralai/mistral-small-3.1-24b-instruct — Free AI Model & API

cloudflare-workers-ai/cf-mistralai-mistral-small-3-1-24b-instruct
chat
Context Window 128K
Max Output 131K
Rate Limit 10K neurons/day (shared)
Cost $0.00 FREE
Free Period Since May 10, 2026
Credit Card Not required
Status Online

Overview

Mistral Small 3.1 (24B) is Mistral AI's latest mid-size model, hosted on Cloudflare's global edge network for low-latency inference. With 128K context, strong multilingual performance, and the efficiency of a 24B-parameter architecture, it is a practical choice for general chat, content generation, and text analysis where you want better quality than 8B-class models without the cost of 70B+ alternatives. Runs on Cloudflare's shared 10,000 Neurons/day free pool and uses Cloudflare's native API format rather than the OpenAI SDK. Best for developers already in the Cloudflare ecosystem or those evaluating Mistral's small-model performance.

Model ID
cf-mistralai-mistral-small-3-1-24b-instruct
Base URL
https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run
Specifications
Context: 128K · Output: 131K · Modality: text · OpenAI Compat: No

Quick Start

Integrate @cf/mistralai/mistral-small-3.1-24b-instruct with 3 lines of code. See the config generator for Claude Code, Cursor, and more.

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="cf-mistralai-mistral-small-3-1-24b-instruct",
 messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
import OpenAI from "openai";

const openai = new OpenAI({
 baseURL: "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run",
 apiKey: "YOUR_API_KEY",
});

const completion = await openai.chat.completions.create({
 model: "cf-mistralai-mistral-small-3-1-24b-instruct",
 messages: [{ role: "user", content: "Hello!" }],
});

console.log(completion.choices[0].message.content);
curl "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/models/cf-mistralai-mistral-small-3-1-24b-instruct:generateContent?key=YOUR_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{
 "contents": [{"parts": [{"text": "Hello!"}]}]
 }'

Other Free Models from Cloudflare Workers AI

Rate Limits & Constraints

Rate Limit 10K neurons/day (shared)
Context Window 128K
Max Output Tokens 131K
Cost Free — since May 10, 2026
Credit Card Not required
OpenAI Compatible No — uses provider-native API

Cloudflare Workers AI Platform Limitations

  • Neurons billing is opaque — hard to predict exact request counts
  • Model availability varies by Cloudflare region
  • 10,000 Neurons/day shared across all models

Features & Use Cases

Best For

Chat

Modality Support

text

Cloudflare Workers AI Highlights

  • 50+ models on the free tier
  • 10,000 Neurons/day
  • Global edge network for low latency
  • Text, image, audio, and embedding models

Playground — Test @cf/mistralai/mistral-small-3.1-24b-instruct

Test @cf/mistralai/mistral-small-3.1-24b-instruct directly in your browser. Your API key is sent directly to Cloudflare Workers AI — never stored.

Model: @cf/mistralai/mistral-small-3.1-24b-instruct Get Key

🔒 Your key is never stored — sent directly to the model provider via our server proxy.

Ready to chat with @cf/mistralai/mistral-small-3.1-24b-instruct.

Frequently Asked Questions

How do I get an API key for @cf/mistralai/mistral-small-3.1-24b-instruct?

Sign up at Cloudflare Workers AI to get your API key. No credit card is required — just an email sign-up. Once you have the key, use the code snippets in the Quick Start section above.

Is @cf/mistralai/mistral-small-3.1-24b-instruct really free?

Yes. @cf/mistralai/mistral-small-3.1-24b-instruct is available on Cloudflare Workers AI's free tier and has been free since May 10, 2026. Rate limits apply: 10K neurons/day (shared). Always check the provider's terms for any changes to the free tier.

What are @cf/mistralai/mistral-small-3.1-24b-instruct's rate limits?

10K neurons/day (shared) Context window: 128K. Max output: 131K. No credit card required.

What are the best free alternatives to @cf/mistralai/mistral-small-3.1-24b-instruct?

Popular free alternatives include inclusionAI: Ring-2.6-1T, Baidu Qianfan: CoBuddy (free), Owl Alpha. You can also browse all 147+ free models on our site.

More questions? See our full FAQ →

Similar Free Models