Cloudflare

Cloudflare · Mistral 7B

🟢 247ms See provider specifications 📏 32K 🧠 Deep Reasoning

🛡️ 🛡️ Free Tier Policy & Rate Limits

Daily Neurons Replenish No Credit Card Email Only · No ID Zero Unexpected Bill
Context Window 32K
Rate Limit RPM Edge Node Dynamic Balancing
Daily Quota & Reset 10,000 Neurons Daily · Daily Reset at 00:00 UTC
Auth & Card Requirement No Card Needed
Supported Capabilities:
💻 Coding & FIM 🖼️ Image Gen & Vision 🧠 Deep Reasoning 📝 Text Generation 🎬 Video Understanding multimodal

📋 Core Endpoint & Model Parameters

OpenAI API Compatible
Base URL
https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run
Model ID
@cf/mistral/mistral-7b-instruct-v0.1
🟢【免绑卡注册】直接获取官方 API Key
👉 Quick Link: Cloudflare Console

💡 Caveats & Rate Limits

🎯 Official Free Tier Endpoint · 32K Context · See provider

📋 Free Tier Quota Rules and Constraints

  • 10,000 Neurons compute units renewed daily for free
  • Supports Llama 3.3, DeepSeek R1 and diverse open-source models
  • Sign up with email without credit card on global Anycast edge

🛡️ Zero-Billing Protection and Risk Prevention

Stops gracefully with an error on hitting daily limit with zero bill risk.

Quick Integration Code and Client Setup

🍒 Connect Cherry Studio
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "@cf/mistral/mistral-7b-instruct-v0.1",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'
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/mistral/mistral-7b-instruct-v0.1",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content or ""
    print(content, end="", flush=True)
import OpenAI from "openai";

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

const stream = await client.chat.completions.create({
  model: "@cf/mistral/mistral-7b-instruct-v0.1",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
{
  "apiProvider": "openai",
  "openAiBaseUrl": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run",
  "openAiApiKey": "YOUR_API_KEY",
  "openAiModelId": "@cf/mistral/mistral-7b-instruct-v0.1"
}
✓ ✓ Copied