Cloudflare Docs
Workers AI
Edit this page
Give us feedback
Set theme to dark (⇧+D)


Workers AI is included in both the Free and Paid Workers plans and is priced at $0.011 / 1,000 Regular Twitch Neurons (also known as Neurons).

Our free allocation allows anyone to use a total of 10,000 Neurons per day at no charge on our non-beta models. You can still enjoy unlimited usage on the beta models in the catalog until they graduate out of beta.

To use more than 10,000 Neurons per day for non-beta models, you need to sign up for the Workers Paid plan. On Workers Paid, you will be charged at $0.011 / 1,000 Neurons for any usage above the free allocation of 10,000 Neurons per day for the non-beta models.

You can monitor your Neuron usage in the Cloudflare Workers AI dashboard. To estimate Neurons and costs, use the pricing calculator.

Workers Free10,000 Neurons per dayN/A - Upgrade to Workers Paid
Workers Paid10,000 Neurons per day$0.011 / 1,000 Neurons
All limits reset daily at 00:00 UTC. If you exceed any one of the above limits, further operations will fail with an error.

​​ What are Neurons?

Neurons are our way of measuring AI outputs across different models. To give you a sense of what you can accomplish with 10,000 Neurons, you can: generate 100-200 LLM responses, 500 translations, 500 seconds of speech-to-text audio, 10,000 text classifications, or 1,500 - 15,000 embeddings depending on which models you use. Our serverless model allows you to pay only for what you use without having to worry about renting, managing, or scaling GPUs.

To estimate how many Neurons your requests will consume, use the pricing calculator.

Workers AI Pricing Calculator

​​ Non-beta models

Beginning April 1, 2024, Cloudflare will begin charging $0.011/1,000 Neurons for all usage exceeding 10,000 Neurons per day for the following models:

Cloudflare will continue to add Neuron calculations for the other models in the catalog and graduate them out of beta in the future.

​​ Pricing comparison

Cloudflare uses Neurons to measure and bill for inference on Workers AI. This may differ from the input-based pricing you might see from other providers. We’ve prepared the below tables to help you understand and evaluate the estimated cost of Neurons and usage on Workers AI compared with the inputs used for the models available in our catalog.

Please note that the below is provided for informational purposes only. All conversions are based on Cloudflare’s public fees as of March 1, 2024, and do not include taxes and any other fees.

​​ Automatic Speech Recognition

ModelPrice per
minute of audio

​​ Image Classification

ModelPrice per image

​​ Text Classification

ModelPrice per 1M
input tokens

​​ Text Embeddings

ModelPrice per 1M
input tokens

​​ Text Generation

On April 2, 2024, we updated pricing for our mistral-7b-instruct models to be 17x cheaper and llama-2-7b-chat-int8 to be 7x cheaper. The pricing table below reflects the new pricing, but you can take a look at the archived pricing to see how pricing has changed.

ModelPrice per 1M
input tokens
Price per 1M
output tokens

​​ Translation

ModelPrice per 1M
input tokens
Price per 1M
output tokens

​​ Pricing Example

All users receive free allocation of 10k Neurons a day (totaling to 300k Neurons a month).

If a user uses 50k Neurons per day, every day of the month, the Workers AI usage charge will be $13.20.

(50k Neurons - 10k included daily Neurons) * 30 days * $0.011 / 1k Neurons = $13.20

​​ Archived Pricing

As we find optimizations for our inference platform, we pass on these optimizations to our customers. You can refer to the archived pricing below to see how pricing has changed.

Before April 2, 2024:

ModelPrice per 1M
input tokens
Price per 1M
output tokens