Help · AI features

Cloudflare Workers AI

Updated

Mailroom’s AI with open models on Cloudflare, free up to a daily allowance.

Mailroom can use Workers AI, Cloudflare’s service for open models such as Llama, for Reply with AI, Proofread, Translate, Summarize, Auto Labels and the Assistant. Its free plan includes a daily allowance, so everyday use costs nothing, and Cloudflare says it doesn’t keep what you send or train on it.

Set it up

  1. Sign in to the Cloudflare dashboard (a free account works), open Workers AI and choose Use REST API.
  2. Copy your Account ID. Then choose Create a Workers AI API Token, create it and copy it.
  3. In Mailroom’s Settings › AI, choose Cloudflare Workers AI and paste both. The token is kept encrypted with your Keychain.
  4. Type a model ID from Cloudflare’s catalog, such as @cf/google/gemma-4-26b-a4b-it or @cf/meta/llama-4-scout-17b-16e-instruct.
Settings › AI with Cloudflare Workers AI chosen: the account ID, the API token saved, and Llama 4 Scout as the model

Which model

Any text generation model works for replies, proofreading, translations and summaries. The Assistant needs one that can use tools: in the catalog, the ones marked Function calling. Both of these can:

Some models reason before they answer. Mailroom turns that off for the ones that allow it, such as Gemma 4 and GLM 4.7 Flash, so they answer at once. Models that always reason first, like gpt-oss, use more of the allowance and can run out of room before they answer.

The daily allowance

Cloudflare counts use in neurons. The free plan includes 10,000 a day: about three hundred replies or summaries with Gemma 4 26B, or a hundred with Llama 4 Scout. Assistant requests take more, since each step sends the conversation again. Auto Labels with AI uses the same allowance as new mail comes in.

The allowance renews at midnight UTC. When it’s used up, Mailroom says so, and AI works again after the reset, or right away on Cloudflare’s Workers Paid plan, which charges for use beyond it (Cloudflare’s pricing).

Still stuck? email support@getmailroom.dev. A person reads every message.

Ask a question