Cloudflare Workers AI: @cf/meta/llama-3.3-70b-instruct-fp8-fast

cf-meta-llama-3-3-70b-instruct-fp8-fast
Released Jun 17, 2025 · 131K context · Free / Free
chat

API Integration

Integrate @cf/meta/llama-3.3-70b-instruct-fp8-fast into your applications using the following code snippets.

Python (OpenAI)
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-meta-llama-3-3-70b-instruct-fp8-fast",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
JavaScript (OpenAI)
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-meta-llama-3-3-70b-instruct-fp8-fast",
  messages: [{ role: "user", content: "Hello!" }],
});

console.log(completion.choices[0].message.content);
cURL
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-meta-llama-3-3-70b-instruct-fp8-fast",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'