# "Why AI Compute Comes in Rectangles"
<!--
ref: @content/youtube/latent-space/why-ai-compute-comes-in-rectangles
tags: [GPU capacity, neoclouds, serverless inference, sandboxes, forward deployed engineers, security, company growth, AI infrastructure]
version: 2
updated_at: 2026-11-22T08:53:51.118Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=IiZ9yd2Do8I)**

# Why AI Compute Comes in Rectangles

*Synthesized from Erik Bernhardsson in conversation with the host on Latent Space, 2026-10-22.*

Erik Bernhardsson, founder of a serverless compute and storage platform for AI workloads, explains how he sources GPU capacity, why sandboxes became a major product line, and how he is scaling the company.

## Core Thesis
Erik argues that GPU supply is mostly sold as long, flat blocks (a "3-year rectangle" starting months out) while real demand rises and falls, so a platform that pools thousands of customers can turn rigid reservations into flexible capacity. He pairs that with a general-purpose building-block product strategy rather than becoming a neocloud.

## Key Insights
- **Scale and history.** Revenue, users and usage are at least 50x what they were two years earlier. Monthly revenue went from about $100 in November 2022 to roughly $2,000 the next month and about $30,000 in January 2023, driven by Stable Diffusion workloads, with one customer at 80-90% of revenue at first. He previously built the music recommendation system at Spotify (seven years, including Discover Weekly) and was CTO at a mortgage company, growing engineering from 2 to 3,400 over five years.
- **Why new tools were needed.** Docker and Kubernetes were built for steady, cheap CPU backends; expensive GPUs, large model loads and bursty demand needed a custom file system, container runtime, CPU and GPU snapshots, an autoscaler and capacity management.
- **Capacity sourcing changed.** Early on nearly all capacity was spot or on-demand from hyperscalers. Now they work with almost 25 clouds, often on deals longer than three years with large upfront payments, run a four-person purchasing desk, and lease rather than own hardware. He prefers staying a lean software company but is open to buying or joint ventures.
- **Prices.** Hardware prices are rising, which is unusual. He is more worried about prices falling than rising, since falling prices hurt anyone holding expensive supply. He does not see GPU supply as monopolized: Nvidia ships several hundred thousand Blackwells a month, and smaller, riskier clouds (for example 32 nodes in Armenia, 128 in Indonesia) are an opportunity because the big labs prefer proven suppliers. He expects 2027 might finally be the year of non-Nvidia accelerators.
- **Neocloud model.** Neoclouds sign multi-year contracts with large buyers, raise money against them, then buy the hardware, which lets them scale extremely fast. He is skeptical that GPUs become a fully commoditized tradable asset because of heterogeneity in networks, disks, locations and reliability.
- **Products.** Functions (launched 2021) is about two thirds of revenue, mostly inference. Sandboxes (launched 2023) sat nearly flat for two years, then took off as models got good at generating code (vibe-coding apps, background agents, reinforcement learning) and now account for about a third of revenue. Sandboxes began on gVisor and now also offer full virtual machines; the average sandbox lives about 8 seconds.
- **Snapshots and parallelism.** The vision is durable long-running agents that spin up a sandbox in about 100 ms, run commands, snapshot and shut down, enabling forking and running each test in its own sandbox instead of paying repeated setup costs.
- **Security.** An application running on the platform was exploited in the Hugging Face incident; the platform itself was not breached. They are exploring more restrictive defaults, citing the S3 public-bucket analogy, and use agents internally to try to escape sandboxes. Human penetration tests may drop from every six months to yearly.
- **Agents as users.** Good documentation, descriptive errors and fast feedback help humans and agents alike. Agents keep using old syntax from training data, so deprecations are slower; they track whether agents recommend the platform and publish clearer content, treating it like SEO.
- **FDEs and teams.** Forward deployed engineers grew from 4 to about 24 this year; their goals are closing deals, supporting customers and exposing product gaps to turn into features. Headcount passed 200, likely 250 by year end and possibly 700 next year after about 4x annualized growth, which risks cultural drift. Code review is largely optional, with the emphasis on CI/CD, rate limits and test coverage. Manager and individual contributor carry equal prestige.
- **Other views.** Open-source models are now good enough to swap in for frontier models at far lower cost, making fine-tuning optional. He is a cloud maximalist and finds bring-your-own-cloud increasingly outdated, though he would build it for a high price. Inference providers exist separately because demand shifts between models as labs release new ones.

## Actionable Takeaways
1. Treat capacity as a portfolio problem: mix on-demand, reservations and many smaller suppliers, and write a spec sheet plus an acceptance test before committing.
2. Reduce start and stop overhead so work can be parallelized across many short-lived sandboxes with snapshots.
3. Keep deprecations slow and refresh public examples, since agents repeat old API syntax from training data.
4. Run internal benchmarks that ask agents to recommend tools, and publish content aimed at agents.
5. Use agents defensively by asking them to escape your own sandbox before attackers do.
6. Use field engineers to find product gaps, and ask how each engagement becomes a self-serve feature.
7. Make code review optional only after investing in CI, CD, rate limits and decoupled systems.

## Notable Quotes
> "we're in the building block business" — Erik Bernhardsson

> "I'm not too worried about prices going up. I'm more worried about prices going down." — Erik Bernhardsson

> "almost all capacity is sold as a 3-year rectangle starting 3 to 6 months in the future." — Erik Bernhardsson

> "the average sandbox in Modal today lasts about 8 seconds or something like that." — Erik Bernhardsson

---

*Related: `@content/youtube/tiago-forte/i-connected-claude-to-everything-then-i-saw-the-gap` · `@content/youtube/sequoia/ai-that-designs-its-own-chips-ricursives-anna-goldie-and-azalia-mirhoseini` · `@content/youtube/indy-dev-dan/mac-mini-agents-openclaw-is-a-nightmare-use-these-skills-instead` · `@content/youtube/cole-medin/watch-this-if-your-coding-agent-is-ignoring-your-rules-you-need-hooks` · `@content/youtube/aie/unlock-agent-autonomy-the-runtime-for-ai-native-systems-tushar-jain-docker`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*