Representative chat model
Llama 3.2 3B Instruct — same four schema types as 120B-class entries.
What SynchronousInput, StreamingOutput, and related Workers AI raw API schemas mean, and how they appear across model catalog pages.
This page summarises how Cloudflare Workers AI and the parallel Cloudflare AI model catalog document inference APIs. On every model page in the cluster below, the API Schemas (Raw) section lists the same four schema type names. The page explains what those names refer to, how the two doc sites relate, and how to confirm which schemas a model exposes—without walking through a full integration.
Each catalog entry’s raw schema list names four request/response shapes used for calling that model over HTTP from Workers or other Cloudflare AI clients.
SynchronousInput
SynchronousOutput
StreamingInput
StreamingOutput— Cloudflare, Llama 3.1 8B Instruct FP8 (Workers AI)
The same four names appear on the matching AI-catalog URL for that model, for example Llama 3.1 8B Instruct FP8 (@cf). They also appear on every other model page in this cluster—from small instruct models such as Llama 3.2 1B Instruct through larger chat, code, and vision models such as Qwen2.5 Coder 32B Instruct, Llama 3.2 11B Vision Instruct, and DeepSeek R1 Distill Qwen 32B.
In plain terms, SynchronousInput / SynchronousOutput name the payload shapes for a call where the client waits for a single completed result object, while StreamingInput / StreamingOutput name the shapes used when the API documents a streaming-style interaction. The cluster only shows the type names in API Schemas (Raw); field-level definitions live on each model’s page in that section and in the generated client bindings Cloudflare publishes for Workers AI.
Choosing between the synchronous and streaming schema pairs is a product and UX decision, not something that changes per model family in this catalog pattern.
| Pair | Schema types | Typical use |
|---|---|---|
| Synchronous | SynchronousInput, SynchronousOutput |
Short responses, batch jobs, server-side transforms where you need one JSON (or binary) body to parse once |
| Streaming | StreamingInput, StreamingOutput |
Chat UIs, long completions, or any client that renders partial output as it arrives |
All models in the cluster expose both pairs in API Schemas (Raw). That means the platform documents two call shapes per model; your application picks one per request. Vision models (for example Llama 3.2 11B Vision Instruct) and text-only models share the same four-type pattern—the difference is in the fields inside each schema on that model’s page, not in the list of schema names.
@cf URLsCloudflare publishes two doc paths per model. Content in the cluster is duplicated across them—the API Schemas (Raw) block is identical on both.
| Doc set | Example path pattern | Example model |
|---|---|---|
| Workers AI models | developers.cloudflare.com/workers-ai/models/{slug}/ |
Mistral Small 3.1 24B Instruct |
AI models (@cf) |
developers.cloudflare.com/ai/models/@cf/{org}/{slug}/ |
Mistral Small 3.1 24B Instruct (@cf) |
Use the Workers AI page when you are wiring Workers AI in a Worker; use the @cf AI-catalog page when you need the canonical model identifier path (@cf/meta/..., @cf/qwen/..., etc.). For schema names, either URL is authoritative—the four types match.
The following Workers AI pages all document the same API Schemas (Raw) quartet (each has a matching ai/models/@cf/... sibling in the cluster):
Representative chat model
Llama 3.2 3B Instruct — same four schema types as 120B-class entries.
Representative vision model
Llama 3.2 11B Vision Instruct — synchronous and streaming schemas still listed separately.
StreamingOutput. The raw schema list includes StreamingInput and StreamingOutput on non-chat models too (for example Granite 4.0 H Micro).SynchronousInput is documented with SynchronousOutput; streaming calls use the streaming pair. Validate against API Schemas (Raw) on the model you call, not against another model’s example.@cf path is what you quote in env.AI.run('@cf/...')-style bindings.@cf model ID you run in production.SynchronousInput, SynchronousOutput, StreamingInput, StreamingOutput.@cf URL and verify the raw schema names match.If something on this page does not match the current Cloudflare model documentation, or you need a clarification on SynchronousInput versus StreamingOutput, write to yimasynthetic@gmail.com with the page URL and the exact statement you are questioning.