configuration.md

Created about 13 hours ago

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

Workers AI Configuration

Read the setup guide for the application's existing integration and installed SDK/Wrangler versions before adapting configuration.

Task Documentation
Create and develop a Worker with Workers AI Workers and Wrangler setup
Add an AI binding to an existing Worker Workers bindings
Generate environment and runtime types Workers TypeScript
Call inference from outside Workers REST API setup and authentication
Use the Vercel AI SDK AI SDK integration
Adapt an existing OpenAI SDK client OpenAI compatible endpoints

Prefer the native binding for a Worker that does not need an SDK abstraction; use REST for external services. Preserve an existing SDK integration when it meets the task, and check its supported endpoints and model features before substituting providers.

Local Worker execution and local inference are different: Workers AI inference uses the Cloudflare account even during local development and consumes usage. Follow the current setup guide for development configuration; do not assume the entire Worker must run remotely.

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.