diff --git a/content/workers-ai/platform/limits.md b/content/workers-ai/platform/limits.md index f9a569780f8b2f0..2ccf56d57fb0b3c 100644 --- a/content/workers-ai/platform/limits.md +++ b/content/workers-ai/platform/limits.md @@ -21,3 +21,5 @@ During the open beta, the following limits are in place: - [@cf/baai/bge-base-en-v1.5](/workers-ai/models/text-embeddings/) - 6000 reqs/min Note that these limits are estimates, subject to change, and will vary by location while in Open Beta. + +Model inferences in local mode using Wrangler will also count towards these limits. \ No newline at end of file diff --git a/content/workers/wrangler/configuration.md b/content/workers/wrangler/configuration.md index 731792125d4170b..3e84fe97d89596b 100644 --- a/content/workers/wrangler/configuration.md +++ b/content/workers/wrangler/configuration.md @@ -793,6 +793,32 @@ mTLS certificate bindings can then be used at runtime to communicate with secure {{}} +### AI + +[Workers AI](/workers-ai/) allows you to run machine learning models, on the Cloudflare network, from your own code – +whether that be from Workers, Pages, or anywhere via REST API. + +Using Workers AI always accesses your Cloudflare account in order to run AI models, and so will incur usage charges +even in local development. + +{{}} + +- `binding` {{}}string{{}} {{}}required{{}} + + - The binding name. + +{{}} + +Example: + +```toml +--- +filename: wrangler.toml +--- +[ai] +binding = "AI" # i.e. available in your Worker on env.AI +``` + ## Bundling You can bundle assets into your Worker using the `rules` key, making these assets available to be imported when your Worker is invoked. The `rules` key will be an array of the below object.