Prisma Compute

Deploy TypeScript apps on Prisma Compute

Push code, it runs. Your app runs as a long-lived TypeScript process on Bun, next to your database. A good fit for APIs and AI agents that hold state, stream responses, and keep connections open.

01 / WHY-PRISMA-COMPUTE

Built for the way TypeScript runs.

Push code, it runs

Deploy from the CLI, then connect a GitHub branch to ship on every push. No build pipelines to configure.

Long-lived runtime

Always-on Bun processes for long-running requests and streaming.

TypeScript apps

APIs, full-stack apps, and AI agents. More workloads coming soon.

Static assets included

Your app serves them. No separate CDN service. No separate bill.

Pairs with Prisma Postgres

Auto-wires Prisma Postgres and runs in the same environment. Also works with any database.

Recovers on its own

Health checks and automatic restarts keep your app running.
02 / FEATURES

Deploy from your repo

Run one command and Prisma Compute builds your app and brings it live with a URL.

  • @prisma/cli@latest app deploy from the CLI, then connect a GitHub branch for push-to-deploy
  • No CI/CD pipeline to configure
  • No deployment scripts, no dashboard workflows
  • What's in your repo is what runs

Stateful execution

Your code runs as a long-lived process. Connections stay open. In-process caches persist across requests.

  • Long-lived processes, not per-request functions
  • Long-running HTTP requests and streaming responses
  • Connections and in-process state persist across requests

Any TypeScript workload

Standard TypeScript on Bun, not a constrained edge runtime. No V8 isolate limits.

  • Backend APIs and full-stack apps
  • Long-running and streaming HTTP workloads
  • AI agents, retrieval, and LLM orchestration
  • Coming soon: background workers, cron, and WebSocket servers
REST APIhttp · long-lived
GraphQLhttps · flexible
AI Agentsse · streaming
Streaminghttp · long-running
Full-stackssr · spa
gRPChttp2 · efficient

Co-located database

Auto-wires Prisma Postgres and runs in the same environment.

  • Low-latency access to the co-located database
  • Built-in connection pooling for long-lived processes
  • Pairs with a Prisma Postgres database in one step
  • Works with any database, no lock-in
03 / WHY USE COMPUTE

Does it work for me?

YES

Deploying Next.js today?

Deploy with one command. Your assets are served by your app the way they are when self-hosting Next, with cache headers under control.

YES

Running a Hono, Express, or Fastify API?

Long-lived processes are the default, so streaming and long-running requests work without workarounds. Connections stay open and streams run uninterrupted.

YES

Building an AI agent?

Long-lived runtimes and in-process memory, on the same runtime that serves your API.

COMING SOON

Need background jobs or workers?

Coming soon. Run them as long-lived processes alongside your API, in the same repo and runtime.

YES

Bringing your own database?

Pair with Prisma Postgres for zero-config provisioning, or connect to anything else. Either way, no lock-in.

YES

Tired of the serverless tax?

Tired of paying extra for expensive egress, image transformations, and third-party realtime services? With Prisma Compute, it all comes standard on a powerful Bun runtime.

04 / WHAT MAKES IT UNIQUE

One service for your app and its assets.

Most TypeScript platformsSERVERLESS · FRAGMENTED
cold start
compute$$
timeout
edge$$
images$$
bandwidth$$
conn cap
cache$$
+ more$$
TOTAL COST
9 Services
4 bills
Each surface has its own limits, its own price
Cold starts & timeouts break long work
Prisma ComputeLONG-LIVED · UNIFIED
api · long-lived processlive
static assets · in-processlive
cache headers · your ruleslive
background workerssoon
TOTAL COST
1 VM
1 Bill
Long-lived processes, long-running requests, persistent connections
Self-hosting, without the painful parts
05 / STARTERS

Starter apps

Next.js

A full-stack Next.js app paired with Prisma Postgres.

$ bunx create-prisma@latest --template next

TanStack Start

Modern full-stack TypeScript with Router & Query, paired with Prisma Postgres.

$ bunx create-prisma@latest --template tanstack-start

Hono API

Lightweight API backend. A good starting point for TypeScript APIs.

$ bunx create-prisma@latest --template hono
06 / CORE TECHNICAL OVERVIEW

How it works

Why we built Prisma Compute

We wanted to ship TypeScript apps without stitching together separate build, hosting, and database tools. Push a repo, get a URL, and keep working in your codebase.

Free to get started, no credit card needed.