Run LLM Batches as Render Workflow Tasks, Not Web Requests
- Source
- x.com
- Publisher
- OpenRouter
- Date
OpenRouter now runs inside @render Workflows. Stop putting LLM batches in your web service. Each prompt becomes its own task run, queued, retried, and fanned out by Render, with the model call routed by OpenRouter.
Context
OpenRouter's announcement tells developers to stop running batches of prompts inside their web service and to hand them to Render Workflows, Render's system for background tasks. In the integration, each becomes its own task run. Render queues the runs, retries the ones that fail and runs them in parallel, and OpenRouter makes the model call. According to OpenRouter's integration guide, the point of splitting the batch this way is that a slow or retried call does not block the others.
The guide fills in how the pieces divide. Render starts compute for each run and releases it when the run finishes, so there is no standing pool of workers to size in advance, and the example task retries up to three times, waiting longer between each attempt. Each run sends one request to OpenRouter's Auto Router, which picks a specific model, and the example keeps the chosen model's name in every result so the routing decision is visible per prompt. The web service does not disappear: workflow tasks expose no HTTP port, so an app still needs a web service to start them when a user asks.
Automatic retries carry a cost the guide spells out. If the model request succeeds but the task fails before returning, the retry makes the paid call again. For production workflows whose tasks have external side effects, the guide advises adding idempotency or checkpointing, meaning the task records what it has already done so a repeat run does not do it twice.
- Model — A computational system that uses learned patterns to produce an output from information supplied to it.
- Prompt — Information or instructions supplied to a model; in a chat, the request you type is often called your prompt.
- Large language model — A model trained on large amounts of data to process and generate language.






