@cf/meta/llama-3.2-11b-vision-instruct — Free API

Created by Meta
cloudflare-workers-ai/cf-meta-llama-3-2-11b-vision-instruct
JSON Mode chat vision

What is @cf/meta/llama-3.2-11b-vision-instruct?

Llama 3.2 11B Vision Instruct is Cloudflare Workers AI's mid-size multimodal offering, supporting both text and image inputs on the edge. With 131K context and vision capability at the 11B scale, it fills the gap between lightweight 8B text-only models and the much larger Llama 4 Scout — practical for image captioning, visual Q&A, and document understanding tasks where you want lower latency and lower Neuron consumption than the 70B-class alternatives. Runs on the shared 10,000 Neurons/day free pool and uses Cloudflare's native API rather than the OpenAI SDK format.

Model ID
cf-meta-llama-3-2-11b-vision-instruct
Base URL
https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/run

@cf/meta/llama-3.2-11b-vision-instruct API Code Example

Paste your API key and run. See the config generator for Claude Code, Cursor, and more tools.

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-2-11b-vision-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-meta-llama-3-2-11b-vision-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/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "cf-meta-llama-3-2-11b-vision-instruct",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Other Free Models from Cloudflare Workers AI

More About Cloudflare Workers AI

How to get an API key, rate limits, platform limitations, and tool configuration — everything you need to set up Cloudflare Workers AI as a free LLM API backend.

View Cloudflare Workers AI full guide →