> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beam.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Install the Beam CLI, sign in, and connect coding agents to the Beam MCP server with `curl -fsSL https://www.beam.cloud/install | sh`. To also create a VM, run `curl -fsSL https://www.beam.cloud/install | sh -s -- --vm`.
> VMs are persistent Linux machines without GPUs. Defaults: 4 CPUs, 8 GiB of RAM, a 50 GiB disk, Ubuntu 24.04, and a browser desktop. A running VM accrues usage until you stop, pause, or remove it, or until an idle timeout puts it to sleep.
> Stopping a VM keeps its disk and discards RAM and processes. Pausing keeps both, and resuming restores them. To pause after 5 idle minutes and wake on access, run `beam vm update NAME --ttl 300 --idle-action pause --auto-resume`.
> Core VM commands: `beam vm new NAME`, `beam vm ssh NAME`, `beam vm sync NAME ./dir`, `beam vm exec NAME -- CMD`, `beam vm expose NAME PORT --protected`, `beam vm fork NAME NEW_NAME`, `beam vm pause NAME`, `beam vm stop NAME`, `beam vm rm NAME`.
> For GPUs, use a sandbox or a deployed endpoint. Sandboxes are disposable environments that boot in seconds and fork from snapshots.
> Current rates are at https://www.beam.cloud/pricing.

# Examples

> End-to-end examples for running real workloads on Beam

Browse complete, runnable examples grouped by what you're building. Each one shows a real workload, from container image to deployment, that you can copy and adapt.

New to Beam? Start with the [Quickstart](https://docs.beam.cloud/v2/getting-started/quickstart.md) and [Core Concepts](https://docs.beam.cloud/v2/getting-started/core-concepts.md) first.

## Large Language Models

Serve and run inference with open and custom LLMs.

> [card] [Hugging Face Models](https://docs.beam.cloud/v2/examples/inference.md)
>
> A beginner's guide to running performant inference workloads on Beam.

> [card] [LLaMA 3.1 8B](https://docs.beam.cloud/v2/examples/llama3.md)
>
> Serve Meta's LLaMA 3.1 8B model on a GPU.

> [card] [Qwen2.5-7B with SGLang](https://docs.beam.cloud/v2/examples/sglang.md)
>
> Serve Qwen2.5-7B with the SGLang runtime.

## Image and Video

Generate and transform images and video on GPUs.

> [card] [Serverless ComfyUI](https://docs.beam.cloud/v2/examples/comfy-ui.md)
>
> Host ComfyUI for image generation workflows.

> [card] [Text-to-Video with Mochi](https://docs.beam.cloud/v2/examples/mochi-1.md)
>
> Generate video from text with the Mochi model.

> [card] [Stable Diffusion with LoRAs](https://docs.beam.cloud/v2/examples/lora.md)
>
> Run Stable Diffusion with custom LoRA adapters.

## Audio and Transcription

Transcribe and synthesize speech.

> [card] [Faster Whisper](https://docs.beam.cloud/v2/examples/whisper.md)
>
> Transcribe audio with Faster Whisper.

> [card] [Parler TTS](https://docs.beam.cloud/v2/examples/parler-tts.md)
>
> Synthesize speech with Parler TTS.

> [card] [Zonos](https://docs.beam.cloud/v2/examples/zonos.md)
>
> Generate speech with the Zonos model.

## Web Apps

Host interactive apps and scrape the web.

> [card] [Web Scraping with Beam Functions](https://docs.beam.cloud/v2/examples/web-scraping.md)
>
> Build a web scraper that runs on Beam functions.

> [card] [Running Streamlit Apps](https://docs.beam.cloud/v2/examples/streamlit.md)
>
> Host a Streamlit app behind a public URL.

## Agents

Build and coordinate AI agents.

> [card] [Building AI Agents](https://docs.beam.cloud/v2/agents/introduction.md)
>
> Build stateful agents with concurrency built in.

> [card] [Research Assistant](https://docs.beam.cloud/v2/agents/synchronization.md)
>
> A research assistant that synchronizes state across tasks.

## Fine-Tuning

Fine-tune open models on GPUs.

> [card] [Fine-tuning Gemma with LoRA](https://docs.beam.cloud/v2/examples/gemma-fine-tune.md)
>
> Fine-tune Google's Gemma model with LoRA.

> [card] [Fine-Tuning Llama 3.1 8B with Unsloth](https://docs.beam.cloud/v2/examples/unsloth.md)
>
> Fast fine-tuning of Llama 3.1 8B with Unsloth.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.