To bind Workers AI to your worker, add the following to the end of your wrangler.toml file: [ai] bi

To bind Workers AI to your worker, add the following to the end of your wrangler.toml file:

[ai]
binding = "AI" #available in your worker via env.AI
source: https://blog.cloudflare.com/workers-ai/
The Cloudflare Blog
We are excited to launch Workers AI - an AI inference as a service platform, empowering developers to run AI models with just a few lines of code, all powered by our global network of GPUs
Was this page helpful?