What do Cloudflare Workflows and Temporal have in common?
Both are durable execution systems: a step that completed stays completed, a failure at step nine resumes at step nine, and a workflow can sleep or wait for an external event for days without holding a process open. Both scope retries to the step that failed, let you configure retry policy per step, and give a workflow a way to pause for a human. For an LLM pipeline, where a single model call can take a minute and cost real money, that shared guarantee is what makes retries affordable.
How does each one make a step durable?
Workflows persists the return value of every step.do call. After a crash or a hibernation the function runs again from the top, and completed steps are served from the stored results instead of re-executing, so step names must be stable and any branch must depend on the event or on earlier step output. Temporal records every command a workflow emits in an append-only event history. A worker reconstructs state by replaying the workflow code against that history, which is why workflow code must not do I/O, read the clock, or call random directly. Non-deterministic work goes in activities. Both approaches give the same outcome for an LLM pipeline: the expensive model call is a step or an activity, and a retry elsewhere never runs it twice.
What does each take to operate?
Workflows is managed only. There is no server, no database to size, and no worker fleet. You deploy with wrangler, and the SDK is TypeScript, with Python entrypoints in open beta. Temporal means running the workflow service and its persistence store, or paying for Temporal Cloud, plus deploying and versioning workers in one of eight SDKs including Python, TypeScript, Go, Java, and .NET. That overhead buys a control plane built for large fleets of long-running workflows and a polyglot organisation. The question is whether you have a platform team to spend on it.
Which limits matter for an LLM pipeline?
Workflows bills CPU time, not wall-clock time, so a step that waits on a model for ninety seconds uses almost none of its CPU budget. The limits that bite are the 1 MiB cap on a step's return value and on an event payload, which rules out passing a large tool result between steps, and the per-attempt timeout, which defaults to ten minutes and is configurable. Temporal has no hard maximum on an activity's duration, but the event history is capped at 51,200 events and 50 MB, so a long agent-style loop has to continue-as-new, and a single payload is limited to 2 MB. Neither limit is a problem for a compiled pipeline with a few dozen typed steps. Both become problems for an unbounded loop that ships whole documents between steps.
Temporal: 2 MB per payload, 50 MB and 51,200 events per history, timers up to 100 years on Temporal Cloud, no hard activity duration limit
As of October 2026, from each vendor's limits page. Check before you rely on a number.
How do waits and human approvals work?
In Workflows a step.waitForEvent call parks the instance until a matching event arrives through the API, with a timeout of up to a year and no CPU charge while it waits. In Temporal the same shape is a signal or an update delivered to the running workflow, with the workflow awaiting a condition. Both let a pipeline stop for a human decision and continue days later. Rote's human approval gates compile to exactly these primitives, and its park-on-auth behaviour, where a run waits for an expired connection to be re-authorized, is a waitForEvent on the Cloudflare target.
What does each one cost?
Workflows bills on requests, CPU milliseconds, stored state, and steps. The Workers free plan includes 3,000 steps a day. The paid plan includes 500,000 steps a month with overage at $0.80 per 100,000 steps, and a waiting instance costs nothing. Temporal's open-source server is free to run yourself. Temporal Cloud bills per action, starting at $50 per million and tiering down to $25 per million, plus storage, with a $150 credit for new accounts rather than a free tier. For a pipeline of twenty steps run ten thousand times a month, both land in the tens of dollars. The difference is what you pay to operate it, not the metered line.
When should you pick each one?
Pick Cloudflare Workflows when you want no infrastructure, your code is TypeScript, your steps exchange small typed payloads, and you are already on Cloudflare or would be happy to be. Pick Temporal when you have many teams sharing workflow infrastructure, histories that run long, code in several languages, an existing cluster, or a platform team that wants one control plane for every durable process in the company. Teams outgrow operational simplicity less often than they expect, which is an argument for starting with the smaller option.
Where does Rote fit?
Rote compiles onto both. From one proven agent skill, rote compile emits a Cloudflare Workflow as a WorkflowEntrypoint class that is ready for wrangler deploy, or a Temporal project with workflow.py and activities.py, with the same declared control flow and the same typed judgment boundaries. Rote Cloud runs the Cloudflare target as a managed service, so a team can start there and re-emit the same pipeline for Temporal later, reviewing runtime-specific code rather than rebuilding the workflow.
--runtime temporal → workflow.py plus activities.py, approval gates as signal handlers
Rote Cloud: the Cloudflare target, hosted, with per-run cost and determinism metrics
Frequently asked questions
Is Cloudflare Workflows a replacement for Temporal?
For a single team on Cloudflare with TypeScript pipelines and small step payloads, yes, it covers the same durable-execution needs with nothing to operate. For a polyglot organisation that wants one control plane for many teams, long histories, and self-hosting, Temporal remains the stronger fit. They solve the same problem at different operating scales.
Can Cloudflare Workflows handle a long LLM call?
Yes. A step's limit is CPU time, not wall-clock time, so waiting on a model response for a minute or two consumes almost none of the budget. Set the step's timeout above the model's worst case, since the per-attempt default is ten minutes, and keep the returned value under 1 MiB.
Can I move a pipeline from Cloudflare Workflows to Temporal later?
Hand-written workflows migrate the way any code does: manually. With Rote the pipeline definition is runtime-agnostic, so the same validated workflow can be re-emitted for Temporal and reviewed as a diff. Integration code you wrote by hand against the Workers runtime still needs porting.
Compile a workflow
Inspect the open-source CLI or run a compilation in Rote Cloud.