The answer before the switch
Before you change the primary model in a production workflow, compute cost per task from Cloudflare's published per-model Neuron rates, multiply by daily requests to get forecast daily Neuron burn, and compare that with the 10,000 Neurons per day free allocation on the Workers AI pricing page. Separately, compare your measured peak requests per minute with the published per-task rate limit. Burn past the free allocation means the Workers Paid plan at $0.011 per 1,000 Neurons; peak traffic crowding the limit means a capacity change before release.
This is a calculator you run before the switch, not a log you keep after it. The decision is which model serves as primary in production. The failure mode is a reasonable inference from the pricing table rather than a documented behavior: because the table lists different Neuron rates for different models, a model that looks cheaper per call can still push daily burn past the free allocation or peak traffic past the rate limit. What the pricing page does state plainly is that if you exceed the limits, further operations fail with an error. The test that settles it is arithmetic on your own measured traffic against Cloudflare's published numbers, done before the release, not a post-mortem after it.
What the calculator takes as input
The input list is a proposed diligence step, not a Cloudflare recommendation. You need requests per day, average input tokens per request, average output tokens per request, the candidate model's Neuron rates per million input and output tokens from the Cloudflare Workers AI pricing table, your measured peak requests per minute, and the published per-task request limit from the Workers AI limits page. None of the Cloudflare documents supply your traffic, token counts, daily variance or fallback rate; those are your measurements to bring.
Cloudflare's pricing page describes Neurons as its way of measuring AI outputs across models, representing the GPU compute needed for a request, and says the serverless model lets you pay only for what you use without renting, managing or scaling GPUs. From this, an inference drawn from the pricing table, not a statement the page makes, is that the same request volume can cost different Neurons under different models, because the table lists different per-model Neuron rates. That inference is the reason a model switch needs a fresh forecast even when traffic is unchanged.
The formula and a worked example
The formula is proposed, built from Cloudflare's published rates. Daily Neurons equals requests per day multiplied by the sum of two terms: input tokens per request times the model's input Neuron rate per million tokens, divided by one million; and output tokens per request times the output Neuron rate per million tokens, divided by one million.
Run it on a model from the pricing table: Cloudflare lists @cf/meta/llama-3.1-8b-instruct-fp8-fast at 4,119 Neurons per million input tokens and 34,868 Neurons per million output tokens. Take a task of 800 input tokens and 200 output tokens. Input burn is about 3.3 Neurons; output burn is about 7.0 Neurons; the task burns roughly 10.3 Neurons. On the paid-plan basis of $0.011 per 1,000 Neurons, that is about $0.00011 per task. As a cross-check, the same table lists token prices for this model at $0.045 per million input tokens and $0.384 per million output tokens; 800 and 200 tokens on those prices also come to about $0.00011 per task, so the two bases agree here. Confirm which basis your plan bills on before treating either number as the invoice.
At 900 such tasks per day the forecast is about 9,240 Neurons, inside the 10,000 free daily allocation. At 1,200 tasks per day it is about 12,300 Neurons. The proposed overage estimate is the Neurons above 10,000, divided by 1,000, times $0.011: about 2,300 Neurons above the allocation, which is roughly $0.025 per day at that volume. The point is not the cents but the trigger, past the allocation you are on the paid plan, and the arithmetic tells you that before the release rather than on the invoice.
The rate-limit gate
Neuron burn is only half the test. The Cloudflare Workers AI limits page gives Text Generation a default limit of 300 requests per minute, unless the model requires the Workers Paid plan. For models that do require the paid plan, the page says these are the only models that do not receive the default limit, the per-account, per-model limit is 20 requests per minute under standard Workers AI billing, or 50 requests per minute when you load prepaid AI Gateway credits and set the gateway's Workers AI billing setting to Unified billing. The page also notes that beta models may have lower rate limits while Cloudflare works on performance and scale.
The proposed gate: measure your peak requests per minute, add an agreed headroom margin, and require the total to sit under the published limit before the switch is approved. A published limit is a capacity input, not a fitness verdict; only your measured peak tells you whether the workflow fits.
Counting fallback traffic in the forecast
If you route requests through Cloudflare AI Gateway with fallbacks, the fallback documentation states that Cloudflare can trigger the fallback provider in response to request errors or predetermined request timeouts, and that the response header cf-aig-step indicates which step successfully processed the request: 0 means the primary model was used, 1 means the request fell back to the second model, and each further fallback increments the step number. A proposed accounting step: log cf-aig-step, count requests where the value is greater than 0, and add the fallback model's own token and Neuron rates from the pricing table to the forecast. A switch that looks safe on primary-model rates alone understates burn whenever fallbacks fire.
Who owns each step
The go or no-go decision needs a named owner, and ownership depends on how the work is staffed. With a managed team run by our tech lead, our tech lead directs the daily work, talking with you every day, turning your priorities into a plan, and owning code review, quality and releases, while you own the priorities and Atom owns delivery. Published prices are $29,500 per month for Starter, $44,500 for Core and $67,500 for Plus, with an added engineer at $10,900 senior or $8,000 mid; ending the team takes 60 days' notice, and removing one person takes 30.
With developers in your team, your engineering manager directs the work and owns delivery quality, and our engineers join your standups, tools and repositories; a senior developer is published at $9,500 per month, and after a 3-month initial term a developer ends with 30 days' notice. Both models are billed monthly in advance in USD. If there is no written scope yet, the Blueprint is a two-week, fixed-price $7,500 engagement that produces the scope, architecture, milestone plan, team plan and a fixed monthly quote. Whichever way the work is staffed, name one owner for the forecast, the headroom agreement and the release call.
What would change the recommendation
Three conditions should reopen the calculation. Bursty traffic: the free allocation is a daily figure and the pricing page says all limits reset daily at 00:00 UTC, so a workflow whose average fits can still fail during bursts; measure peak, not mean. Cached inputs: some models in the pricing table list separate cached input rates, for example a DeepSeek model at $0.014 per million cached input tokens against $0.440 per million uncached input tokens, so a caching change alters the forecast. And the documents themselves: the Cloudflare pages are undated live documentation, so treat every rate and limit here as current only as of the day you checked, and re-verify before you sign off on the switch.
