Coding & apps

Cloudflare Workers AI

Run text, image, speech, embedding and Clef decision models on Cloudflare, with 10,000 free Neurons each day.

Start for free

Workers Free

Free
Neurons10,000 Neurons / day

Renews every 1 day (calendar period); Does not roll over

Standard Workers AI billing.

Feature quotas and conditions
LoRA adapters100 LoRA adapters / one time

Frontier paid models require Workers Paid or prepaid AI Gateway credits.

Requests stop when the daily allowance is exhausted. Upgrade to Workers Paid to continue.

View on official site

Plans and usage

Workers Paid

$5.00 / month
Neurons10,000 Neurons / day

Renews every 1 day (calendar period); Does not roll over

Standard Workers AI billing.

Feature quotas and conditions
LoRA adapters100 LoRA adapters / one time

Minimum $5/account/month; usage of other Cloudflare services is billed separately.

$0.011/1,000 Neurons above the daily allowance.

View on official site

AI Gateway prepaid

Feature quotas and conditions
LoRA adapters100 LoRA adapters / one time

Top up manually or configure automatic top-ups.

Load credits, set Workers AI Billing to Unified billing and include the gateway in the request.

Negative balances are charged to the saved payment method at the beginning of the next month.

View on official site

Workers Paid starts at $5/account/month. Inference above the free daily allowance costs $0.011/1,000 Neurons. AI Gateway prepaid credit purchases have a 5% fee.

Additional usage rates
Available plansQuantityPriceTerms
AI Gateway prepaid / Workers Paid1,000 characters$0.015 / 1,000 characters

aura-1: input characters

AI Gateway prepaid / Workers Paid1,000 characters$0.03 / 1,000 characters

aura-2-en: input characters

AI Gateway prepaid / Workers Paid1,000 characters$0.03 / 1,000 characters

aura-2-es: input characters

AI Gateway prepaid / Workers Paid10 generation steps$0.0011 / 10 generation steps

flux-1-schnell: generation steps

AI Gateway prepaid / Workers Paid10 512×512 tiles$0.0005 / 10 512×512 tiles

flux-1-schnell: 512×512 tiles

AI Gateway prepaid / Workers Paid1 input tile-steps$0.0002 / input tile-steps

flux-2-dev: input tile-steps

AI Gateway prepaid / Workers Paid1 output tile-steps$0.0004 / output tile-steps

flux-2-dev: output tile-steps

AI Gateway prepaid / Workers Paid1 512×512 tiles$0.0001 / 512×512 tiles

flux-2-klein-4b: input 512×512 tiles

AI Gateway prepaid / Workers Paid1 512×512 tiles$0.0003 / 512×512 tiles

flux-2-klein-4b: output 512×512 tiles

AI Gateway prepaid / Workers Paid1 first output megapixel$0.015 / first output megapixel

flux-2-klein-9b: first output megapixel

AI Gateway prepaid / Workers Paid1 input image megapixels$0.002 / input image megapixels

flux-2-klein-9b: input image megapixels

AI Gateway prepaid / Workers Paid1 subsequent output megapixels$0.002 / subsequent output megapixels

flux-2-klein-9b: subsequent output megapixels

AI Gateway prepaid / Workers Paid60 seconds$0.0077 / 60 seconds

flux: input audio seconds

AI Gateway prepaid1 prepaid USD credits$1.00 / prepaid USD credits

A 5% purchase fee is added to each dollar of prepaid credits.

Gateway uses Unified billing and has prepaid AI Gateway credits.

1 inference requestsFree

Fine-tuned inference using an adapter on a supported LoRA model during open beta.

AI Gateway prepaid / Workers Paid1 generation steps$0.0001 / generation steps

lucid-origin: generation steps

AI Gateway prepaid / Workers Paid1 512×512 tiles$0.007 / 512×512 tiles

lucid-origin: 512×512 tiles

1 converted filesFree

Supported non-image document formats convert for free.

AI Gateway prepaid / Workers Paid60 seconds$0.0002 / 60 seconds

melotts: output audio seconds

AI Gateway prepaid / Workers Paid60 seconds$0.0052 / 60 seconds

nova-3: input audio seconds

AI Gateway prepaid / Workers Paid60 seconds$0.0092 / 60 seconds

nova-3: input audio seconds

AI Gateway prepaid / Workers Paid1 generation steps$0.0001 / generation steps

phoenix-1.0: generation steps

AI Gateway prepaid / Workers Paid1 512×512 tiles$0.0058 / 512×512 tiles

phoenix-1.0: 512×512 tiles

AI Gateway prepaid / Workers Paid1,000,000 image inferences$2.51 / 1,000,000 image inferences

resnet-50: image inferences

AI Gateway prepaid / Workers Paid6,000 seconds$0.0338 / 6,000 seconds

smart-turn-v2: input audio seconds

1 generation stepsFree
1 generation stepsFree
1 generation stepsFree
AI Gateway prepaid / Workers Paid60 seconds$0.0005 / 60 seconds

whisper: input audio seconds

AI Gateway prepaid / Workers Paid60 seconds$0.0005 / 60 seconds

whisper-large-v3-turbo: input audio seconds

Workers Paid1,000 Neurons$0.011 / 1,000 Neurons