§ LLMS.FREEFREE LLM APISVERIFIED 2026

Cloudflare Workers AI Free Tier: 10,000 Neurons a Day

Cloudflare Workers AI gives every Workers Free and Paid account 10,000 free Neurons per day at zero cost, with no credit card needed on the Free plan. Verified on 28 Nov 2026, you can run open models like @cf/meta/llama-3.1-8b-instruct-fast over REST or directly from a Worker binding.

Yes, Free · checked 28 Nov 2026

Daily Neuron Allowance

Free daily cap
10,000 Neurons / day
Reset schedule
00:00 UTC daily
Paid overage rate
$0.011 / 1,000 Neurons
Active Llama 8B ID
@cf/meta/llama-3.1-8b-instruct-fast
No CardNo Expiry
§ 01 · NEURONSFREE VS PAID METERING00:00 UTC RESET

What 10,000 Free Neurons a Day Covers

Instead of a flat requests-per-day counter, Cloudflare meters Workers AI in Neurons — a compute unit proportional to model size and input/output tokens. Compact 8B chat models, text embeddings and speech transcription stretch 10,000 Neurons across hundreds of short daily calls, while heavy 70B models consume the pool much faster.

Cloudflare Workers AI Free plan versus Paid plan behavior
BehaviorWorkers Free PlanWorkers Paid Plan
Daily Free Neurons10,000 / day10,000 / day
After 10,000 NeuronsHard stop until 00:00 UTC (zero surprise bills)Pay-as-you-go at $0.011 per 1,000 Neurons
Supported ModalitiesChat, Embeddings, Speech (Whisper), ImageChat, Embeddings, Speech (Whisper), Image
Credit Card NeededNoYes
Recent Model ID Update:
  • 2026-11-27 (Model Replaced): Cloudflare Workers AI deprecated @cf/meta/llama-3.1-8b-instruct (error 5028); the active free model ID is now @cf/meta/llama-3.1-8b-instruct-fast. View change log.
§ 02 · INTEGRATIONREST API VS WORKER BINDING$ACCOUNT_ID

Two Ways to Call Workers AI: REST API vs Worker Binding

If your code runs outside Cloudflare (Python, Node.js, curl), substitute your Cloudflare Account ID into https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/ai/v1 and pass CLOUDFLARE_API_TOKEN. If your app already deploys on Cloudflare Workers, switch to the Worker Binding (TS) tab to call env.AI.run() directly with no external HTTP hop.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/ai/v1",
    api_key=os.environ["CLOUDFLARE_API_TOKEN"],
)
r = client.chat.completions.create(
    model="@cf/meta/llama-3.1-8b-instruct-fast",
    messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)
§ 03 · SETUPAPI TOKEN SCOPING3 STEPS

Creating a Scoped Workers AI Token

Avoid using your Global API Key. Mint a dedicated API Token limited strictly to Workers AI permissions and store both the token and your Account ID in environment variables.

  1. Create a Cloudflare Account

    Sign up at dash.cloudflare.com on the Workers Free plan with no payment card required.

  2. Create a Workers AI API Token

    Open Profile > API Tokens, create a token with Workers AI Read/Edit permission, and note your Account ID.

  3. Call the OpenAI-Compatible Endpoint

    Save the token as CLOUDFLARE_API_TOKEN and substitute your Account ID into the base URL.

§ FAQCOMMON QUESTIONSANSWERS

Cloudflare Workers AI Questions

Is Cloudflare Workers AI Free Without a Credit Card?

Yes. The Workers Free plan requires no payment card and includes 10,000 free Neurons every day, resetting at 00:00 UTC.

How Many Chat Requests Does 10,000 Neurons Buy?

It depends on the model and prompt length. With a compact 8B model like @cf/meta/llama-3.1-8b-instruct-fast, 10,000 Neurons typically covers roughly 150 to 400 short chat or classification requests per day.

Why Did @cf/meta/llama-3.1-8b-instruct Return Error 5028?

Cloudflare deprecated the original @cf/meta/llama-3.1-8b-instruct slug. Switch your model parameter to @cf/meta/llama-3.1-8b-instruct-fast.

Can I Use the OpenAI SDK With Cloudflare Workers AI?

Yes. Set base_url to https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/ai/v1 with your CLOUDFLARE_API_TOKEN as api_key.

Create Token