README.md

Created about 13 hours ago

attributes
source_pathreferences/workers-ai/README.md
source_sha2565ac3782a02b880a811567aabc03e39ac5191ff7284eb84966e3457481bd0ee78
source_urlhttps://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/workers-ai/README.md
supporting_skill_id40184
upstream_revision47dfc2ce969bf62acf8bc231198ade4bb02712e0

Cloudflare Workers AI

Use Workers AI for managed model inference from Workers or an external service. Fetch the relevant documentation before choosing a model or writing integration code; model availability, schemas, capabilities, limits, and prices change independently.

Choose a model

Start with the model catalog and open the selected model's page for its exact identifier, input/output schema, context window, and supported features. Compare candidates on the user's task, language, quality requirements, latency, and current pricing. Evaluate with representative inputs rather than treating model size as a quality or cost ranking.

For tool use, streaming, or structured output, confirm support for the selected model and integration. For embeddings, check output dimensions and compatibility with the existing index; changing the model may require re-embedding stored documents, even if dimensions match.

Route by task

  • configuration.md: choose an integration, configure bindings and types, or set up development.
  • api.md: find inference schemas, streaming, tool calling, and structured output.
  • patterns.md: choose direct generation or RAG, and find integration examples.
  • gotchas.md: diagnose binding, schema, limit, pricing, and SDK issues.

If a topic is missing, use the Workers AI documentation index to find its current page.

Related products

  • Vectorize: vector storage and retrieval.
  • AI Gateway: inference analytics, caching, and request controls.
  • Workers: runtime and application hosting.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.