selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

beam logo

Self-host beam

gateway-0.1.859

Open-source runtime for serverless GPU inference

BetaOpen SourceAGPL-3.0
Updated5 hours ago
LanguageGo
Setup difficultyAdvanced
Stars
1 854
Ports
1993 (gRPC API gateway), 1994 (HTTP API gateway), 1995 (Service proxy)
Requires
PostgreSQL, Redis, S3-compatible Object Storage
beam screenshot 1

What is beam?

Beta9 is an open-source platform for running serverless AI workloads on your own infrastructure. It provides GPU-accelerated inference endpoints that autoscale, isolated sandboxes for executing untrusted code, and durable background job queues with retry logic. The system achieves sub-second cold starts through a custom container runtime with built-in caching, scales to zero when idle, and supports persistent distributed volumes. You can run it on cloud GPUs or your own hardware. Self-hosting options include a local k3d cluster for development and production Kubernetes deployments on AWS EKS via Helm, with dependencies on PostgreSQL, Redis, and S3-compatible storage. The Python SDK uses decorators to define endpoints, tasks, and sandboxes. Licensed under AGPL-3.0.

beam alternatives

All self-hosted alternatives to Celery →

Should you self-host beam?

beam scores 60/100 on selfhost.directory (how scoring works) and ranks #32 of 123 in AI. It has 1 854 GitHub stars, +41 in the last 30 days.

It shipped 403 stable releases in the past year. The latest, gateway-0.1.859, came out on 16 November 2026.

Setup is advanced: plan for several services and some ongoing maintenance. It is AGPL-3.0-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is hatchet (72/100, 8 299 stars). It scores higher overall, so compare the two before you pick. See beam vs hatchet side by side.

Features

  • Background task queues
  • Bring your own GPU
  • Code sandboxes
  • Fast cold starts
  • Hot Reloading
  • Parallelization and concurrency
  • Python SDK
  • Scale to Zero
  • Scheduled jobs
  • Serverless GPU inference
  • Volume storage

beam README

Logo Logo

Run AI Workloads at Scale

Colab ⭐ Star the Repo Documentation Join Slack Twitter AGPL

Beam is a fast, open-source runtime for serverless AI workloads. It gives you a Pythonic interface to deploy and scale AI applications with zero infrastructure overhead.

Watch the demo

✨ Features

beam releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

GPU requested but framework cannot use it - what to do?

Run nvidia-smi, then check that your framework and CUDA versions support the GPU. See GPU acceleration documentation.

How to run commands with pipes in a sandbox?

Use sb.process.exec('sh', '-c', 'first-command | second-command') for shell syntax, then .wait() for completion.

Why is no URL returned for my deployment?

Set a port for your web service, or call expose_port on a sandbox. Containers without ports have no public URL.

Why do requests fail even when deployment is active?

Check logs and ensure your server listens on the configured port at 0.0.0.0 or ::. Use 'beam deployment wait <id>' to check endpoint or ASGI readiness.

How to resolve 'No space left on device'?

Run 'df -h' inside the container to find the full filesystem. Remove temporary files or move persistent data to a volume or disk.

Why does 'cannot import name App from beam' occur?

App belongs to the older V1 SDK. Use V2 decorators and abstractions instead; see the migration guide and quickstart.

How to fix 'No module named beam' error?

The CLI is installed in isolation. Create a virtual environment and install the SDK in your project environment: python -m pip install beam-client

What to do when unable to connect to gateway?

Run 'beam doctor' to check your connection and credentials. Try 'beam login' to sign in again, or upgrade the CLI.

How to resolve 'concurrency_limit_reached or cpu quota exceeded'?

Check your workspace limits and running containers. Stop unused deployment versions as warm containers consume capacity even without requests.

How do I fix 'Insufficient Credits' error?

Open Settings → Credits in your workspace dashboard. Start Developer plan if prompted, or add credits to your existing plan.

More in AI

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…