Back to directory

AI & Machine Learning · AI Development Platforms

Beam

Serverless GPU infrastructure for inference, sandboxes, and jobs

Beam is an open-source runtime for serverless AI workloads, including GPU inference, sandboxes, functions, and background jobs. Beta9 uses AGPL-3.0 and supports self-hosting, while Beam Cloud provides managed compute, dashboards, billing, and hosted services. The hosted product bills CPU, memory, and GPUs by usage, with published rates for several machine types.

Key facts

License
AGPL-3.0
Main language
Go, Python
Maintainer
Beam Cloud
Latest release
worker-0.1.811 and gateway-0.1.829, October 21, 2026
GitHub stars
1.8k, October 2026
Hosted option
Beam Cloud, usage-based CPU, memory, and GPU pricing

What Beam is

Beam is an open-source runtime for serverless AI workloads, with Python interfaces for inference endpoints, sandboxes, functions, and background jobs. Luke Lombardi and Eli Mernit are associated with the project, whose repository was created in 2023. Beam Cloud maintains the project and operates the managed service built around Beta9. The repository lists 1,828 stars, 173 forks, and ten named top contributors. Luke Lombardi leads that contributor list with 1,092 contributions. The codebase includes Go, Python, JavaScript, HCL, HTML, Makefile, and shell files. The repository identifies Beam Cloud as its homepage. Releases published on October 21, 2026 show continued development. The project does not publish funding or investor totals.

How it works

The typical workflow begins with a Python function, endpoint, task queue, sandbox, or virtual machine definition. A developer selects an image, CPU allocation, memory, GPU, concurrency, and autoscaling settings, then deploys through the Beam or Beta9 command line. Decorators define endpoints and queues, while the platform also supports persistent virtual machines, disposable sandboxes, scheduled jobs, containers, databases, and stacks. Endpoints can scale to zero, and task queues support retries and callbacks. The README also lists hot reloading, webhooks, fan-out across hundreds of containers, distributed volumes, and GPU options including RTX 4090 and H100 hardware.

Architecture and recent releases

Beta9 combines a Python client with gateway, worker, scheduler, container-runtime, and infrastructure components. The repository contains Go, Python, JavaScript, HCL, HTML, Makefile, and shell code. Beam describes a custom container runtime, embedded caching, and image handling for AI workloads. Self-hosted Beta9 uses the beta9 package, imports, command-line interface, gateway configuration, and credentials. Beam Cloud uses separate packages and commands. Releases on October 21, 2026 included worker 0.1.811 and gateway 0.1.829. Their notes describe exit-code and out-of-memory attribution fixes, detached-child cleanup, bounded log drains, gVisor race fixes, network-exhaustion fixes, and checkpoint recovery work. The documentation lists Postgres, Redis, MySQL, MongoDB, volumes, and disks.

License and pricing

Beta9 uses the GNU Affero General Public License version 3.0, commonly written as AGPL-3.0. The license permits commercial use, modification, and distribution subject to its conditions, including source obligations that can apply when modified software is offered over a network. Beam Cloud is a separate managed service with workspaces, dashboards, billing, and hosted services. Published rates include $0.000192 per second for an RTX 4090 and $0.000972 per second for an H100 PCIe. A sample endpoint using an RTX 4090, two physical CPU cores, and 16 GiB of RAM costs $1.77 per hour. Bring Your Own Cloud charges $0.019 per hour per vCPU and $0.009 per hour per GiB of RAM, with compute billed to the customer's AWS or GCP account.

Limitations and how it compares

Beam focuses on deploying and operating AI workloads rather than covering the full model-development lifecycle. Modal provides a close managed comparison for Python deployments and GPUs, while Runpod focuses on hosted GPU capacity. KServe and Ray Serve provide open-source serving alternatives, with Kubernetes operations remaining the customer's responsibility. Beam's tradeoff is a Python decorator model, scale-to-zero behavior, sandboxes, virtual machines, and a self-hostable runtime, paired with the operational work of running Beta9 outside Beam Cloud. The documentation does not publish a minimum self-hosting hardware profile. Cloud pricing separates serverless runtime charges from machine reservations and customer hardware. Choose Beam for Python-first inference, disposable execution, and asynchronous jobs when runtime ownership or scale-to-zero matters.

Main features

  • Serverless GPU endpoints. Deploy Python inference functions with selected GPU, CPU, memory, image, concurrency, and queue-depth autoscaling settings.
  • Fast container startup. Uses a custom container runtime, embedded caching, and image handling to reduce startup time for AI workloads.
  • Scale-to-zero execution. Serverless applications can spin down after requests, while users can configure activity duration for latency-sensitive workloads.
  • Disposable code sandboxes.
  • Background task queues. Run asynchronous jobs reliably with configurable retries, callbacks, fan-out patterns, and scheduled execution, all conveniently managed through clear and reusable Python decorators.
  • Persistent virtual machines.

Self-hosting Beam

Beta9 is the self-hostable runtime behind Beam Cloud. Install it with the beta9 Python package, use beta9 imports and commands, and configure a gateway, credentials, workers, scheduling, container execution, and storage. Beam Cloud uses separate beam-client installation and commands, adding managed workspaces, dashboards, billing, and hosted services. The documentation does not publish minimum hardware requirements. Operators therefore need to size CPU, memory, storage, and GPUs for their workloads, then plan image handling, monitoring, isolation, upgrades, and backups. Release notes show worker and gateway version coordination, so upgrades should be tested across those components.

Strengths

  • AGPL-3.0 permits commercial use while keeping the runtime available for self-hosting.
  • Python decorators define endpoints, task queues, and functions with compact application code.
  • Scale-to-zero and millisecond billing fit intermittent inference workloads.
  • The platform combines GPUs, sandboxes, virtual machines, and asynchronous jobs.

Drawbacks

  • AGPL network-service obligations need legal review for modified deployments.
  • The project publishes no minimum self-hosting hardware profile.
  • Self-hosting requires operators to run gateways, workers, storage, and upgrades.

What teams replace with it

Teams usually evaluate Beam when they want to move off AWS Lambda, AWS Batch, Modal.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Beam

  • KServe
  • Ray Serve
  • OpenFaaS
  • Knative
  • BentoML

Frequently asked questions

Is Beam free?

Beta9 is open source under AGPL-3.0 and can be self-hosted. Beam Cloud is managed and bills running CPU, memory, and GPU resources. Published rates cover several GPU types and machine configurations. Self-hosting removes Beam Cloud runtime charges, but the operator pays for hardware, storage, networking, monitoring, maintenance, and other infrastructure.

Can companies use Beta9 commercially?

Yes, AGPL-3.0 permits commercial use, modification, and distribution subject to its conditions. Companies that modify Beta9 and offer it over a network should review corresponding-source requirements with legal counsel. Beam Cloud is a separate managed service, so its commercial terms and pricing apply when customers use the hosted platform.

How do I self-host Beta9, and what does it require?

Install the Beta9 package, use its imports and command-line interface, and configure a gateway, credentials, workers, scheduling, container execution, and storage. The documentation does not state a minimum hardware profile. Requirements depend on workload size, CPU, memory, storage, and GPU use. Operators must also handle monitoring, isolation, backups, and upgrades.

How does Beam compare with Modal?

Both target Python-based deployment for serverless AI workloads and GPU applications. Beam adds the open-source Beta9 runtime, self-hosting, virtual machines, disposable sandboxes, and task queues. Modal is a managed alternative. Beam fits teams that need runtime ownership or a self-hosted option, while Modal fits teams that prioritize a managed service.

Are Beam workloads isolated?

Beam says its managed workloads run in non-root containers and are isolated from one another. Its documentation describes protected URLs, outbound rules, secrets, and disposable sandboxes for generated code. Self-hosted security depends on the operator's container runtime, identity controls, network configuration, storage, host security, and patching practices.

Similar projects to compare

Sources

Last updated 2026-10-22.