Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Moving Off Val Town? Where to Run Your Code Next

Val Town offers instant deployments for you and your agents, pitched as GitHub Gists that run. Its alternatives are serverless function hosts, app clouds, and workflow or background job platforms; the right one depends on how long your code runs and what triggers it.

Val Town's own tagline sums up the appeal: if GitHub Gists could run, and AWS Lambda were fun. You write a short piece of code, it's live, and you move on. Leaving that behind usually means one of two things. Either your code has grown into something that needs a longer leash, or you want the same quick deploys somewhere that fits the rest of your stack.

Before you look at names, run through the checks below. They'll tell you which of the two groups of platforms on this page to read first. Each description of a platform is how its homepage or documentation puts it, checked in November 2026.

What to check before you move your vals

  • Which languages and runtimes your existing code uses, and whether the new platform runs them without a rewrite.
  • How long a typical run lasts: a request that answers in a second, a scheduled task, or a job that waits on other services for minutes.
  • What starts each run: an HTTP request, a cron schedule, a webhook from another app, or an event inside your own system.
  • What happens when a run fails halfway, and whether you get automatic retries, queues or a record of each step.
  • Where your API keys and secrets would live, and who on the team can see them.
  • How you deploy: from a browser editor, a Git push, a command-line tool, or an agent acting for you.
  • What you can see after the fact, from basic logs to step-level traces of a workflow.

The first three checks decide the group. Quick request-and-response code belongs with the function hosts and app clouds. Anything that waits, retries or runs in steps belongs with the workflow platforms.

Hosting for functions, apps and AI workloads

Cloudflare Workers

Deploys serverless functions globally in seconds, with no cold starts and support for JavaScript, TypeScript, Python and Rust.

Render

Cloud infrastructure for deploying and scaling any app or agent, from your first user onwards, built for the modern web.

Railway

A full-stack cloud for deploying web apps, servers, databases and more, with automatic scaling, monitoring and security included.

Replit Deployments

Publishing for projects you've built in Replit, with the promise of going from idea to production in just a few clicks.

Modal

Cloud infrastructure for teams that develop, train and serve AI applications at scale, when the work is heavier than a quick function.

Workflow and background job platforms

Pipedream

Managed auth and 10,000+ tools across 3,000+ APIs, aimed at developers wiring up integrations and the agents that use them.

Windmill

A code-first platform where engineering teams build workflows, apps and AI agents, with their own code at the centre.

Trigger.dev

Durable AI agents and workflows in TypeScript: long-running tasks with retries, queues and observability for the language model calls.

Inngest

Background jobs, workflows and AI agents without extra infrastructure, plus automatic retries, flow control and step-level observability for each run.

Quick functions and durable jobs are different animals

A val is often a function that wakes up, does one thing and stops. That shape fits a function host or an app cloud. You get a URL and a deploy command, and Cloudflare's own description says you pay only for CPU time.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

A durable job is another animal. It might call three APIs, wait for a reply, retry the one that timed out and pick up where it left off. Run that on a plain function host and you end up writing your own retry logic and state tracking. Workflow platforms make those parts the product, which is why their homepages talk about retries, queues and steps rather than cities and cold starts.

Triggers, schedules and webhooks

Look at what starts each of your vals today. Some will be HTTP endpoints, some will run on a schedule, and some will be webhooks that another service calls. Each of those needs a home on the new platform, so confirm in its documentation that it handles every trigger you use before you start moving code.

Webhooks deserve extra care. Every service that calls your current endpoint will need the new address, and a missed one can fail quietly. Keep a list of the senders, and don't switch them all at once: update them one at a time, with the old val left running until traffic stops arriving.

Retries and what you see when a run fails

This is where the two groups part company. Check what a failed run looks like on each platform you're weighing up: a log line, or a step you can inspect, rerun or resume. The workflow platforms here lead with retries and step-level observability. If your vals talk to flaky third-party APIs, that's the difference you'll feel more than raw speed.

Think about what you'll see at two in the morning when a job breaks. If it's a stack trace and nothing else, you're the retry mechanism, and that isn't a job you'll want.

Agents moved into the brief

Val Town's own line is instant deployments for you and your agents, and the category has followed: Trigger.dev, Inngest and Windmill all put AI agents in their own descriptions. In practice that means two separate questions. Can the platform run code that an agent calls as a tool? And can an agent deploy or change code on the platform for you? Check both on any shortlist, because they're not the same feature.

Do you make serverless platforms or workflow tools for developers? Tool makers can ask to be considered for a featured place on this list.

Open source and running it yourself

Windmill and Trigger.dev both describe themselves as open source on their own sites. That's a real fork: run the hosted service, or run the platform on your own infrastructure and keep the code and data under your control. Self-hosting trades a monthly bill for your own time on upgrades, backups and security, so be honest about who'll do that work.

For anyone who'd rather keep editing in a full IDE than a browser tab, a Git-based deploy is the feature to look for, and if that IDE is IntelliJ, my list of the best IntelliJ themes will make the long debugging sessions easier on the eyes.

The check that settles it

Of the seven checks at the top, the second does the most work. Time your three busiest vals. If they finish in a second or two, start with the function hosts and app clouds. If they wait, call out to other services or run in stages, start with the workflow platforms, move one val across, and leave the rest on Val Town until that one has come through its busiest day without a hitch.

Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.