Loom / Guides / Cloudflare Workers AI

Cloud · Cloudflare

Cloudflare Workers AI

Use open models on Cloudflare’s network with an API token and your account ID.

Overview

Workers AI runs open models close to you. Loom needs your account ID and an API token.

Get a key

  1. 1
    In the Cloudflare dashboard, open AI → Workers AI and choose Use REST API.
  2. 2
    Choose Create a Workers AI API Token, review the prefilled permissions, create it and copy the token.
  3. 3
    On the same page, copy your Account ID.

Cost. There is a free daily allowance, and usage beyond it is billed. See Cloudflare’s Workers AI pricing for the current numbers.

Add it to Loom

  1. 1
    Open Loom, then Providers in the menu, and choose Add provider.
  2. 2
    Pick Cloudflare Workers AI (the search box finds it).
  3. 3
    Fill in the fields in the table below.
  4. 4
    Choose Connect. Loom checks the key and says how many models it found. If it cannot check, it says so, and you can Save anyway and try a message.
  5. 5
    Open the model chip below the message box and pick a model.
  • The API token goes in the key box. The account ID goes in Account ID.
  • Model names look like @cf/openai/gpt-oss-20b. Cloudflare has no model list for this route, so Loom offers a starter list; add others in More model names.
Field in LoomWhat to putNeeded
API keyPaste the key you copied. Create an API token with the Workers AI permission at dash.cloudflare.com/profile/api-tokens.Yes
Account ID023e105f4ecef8ad9ca31a8372d0c353 On the Cloudflare dashboard home, next to your account name.Yes
More model names (optional)@cf/… Any model from the Workers AI catalogue, separated by commas.Optional
Endpointhttps://api.cloudflare.com/client/v4/accounts/{account}/ai/v1
filled in from the fields above
Pre-filled
NameAnything you like. It is shown in the model pickerOptional

At a glance

Appears in Loom asCloudflare Workers AI
Sign-inYour API token, sent as Authorization: Bearer
ModelsYou type or pick model names; this service has no list call Loom can use
Tools (connectors, search)Depends on the model
PhotosDepends on the model
PDFsNo

Good to know

A custom token needs Workers AI – Read and Workers AI – Edit. The template button sets that for you.

If something goes wrong

What you seeWhat to do
401 or 403The token is wrong or lacks Workers AI permissions. Create one from the Workers AI page.
Replies stop very earlyLoom sets a sensible output limit for Cloudflare, but a model can still be short. Ask for more detail or pick another.

Official documentation