Inference that keeps working between requests.

The stateful, high-throughput inference engine for LLMs.

Accelerated by
API COMPATIBLE API COMPATIBLE API COMPATIBLE API COMPATIBLE API COMPATIBLE API COMPATIBLE API COMPATIBLE API COMPATIBLE

Get Started
in Seconds

  1. Run the server

    One Docker command, pointed at your model.

  2. Query the API

    The OpenAI and Anthropic endpoints you already use.

  3. Scale up with Pro

    More GPUs, more machines and the NVIDIA Dynamo worker, with a Pro license key. See pricing.

Read the docs →
docker run --gpus all -p 8080:8080 \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  layerscale/layerscale:latest \
  serve 0.0.0.0:8080 --model nvidia/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-NVFP4

Every feature runs on one GPU, with any number of sessions.

Built for Agents,
Turn After Turn

LayerScale Sessions aren't prefix caching. vLLM and SGLang only check their cache when a request shows up, and do nothing in between.

LayerScale keeps the context on the GPU and keeps working on it between requests, so each turn only pays for what's new. With Flash Queries, new answers are pushed to you as soon as your data changes them. No other engine does that.

On every turn

The context is read once and kept on the GPU. A turn picks up where the last one ended and only reads the new tokens.

vLLM and SGLangEach turn is a new request. It gets matched against a cache, and whatever the cache dropped is read again.

When the GPU is busy

A live session never gets pushed out to make room. Three hours in, a coding session still starts where it left off.

vLLM and SGLangTheir cache is shared and best effort. Under load, a long context gets pushed out and read again in full.

Between turns

While you type in your coding agent or editor, the engine is already reading your prompt. It checks whether the agent is looping or stuck and keeps a summary up to date.

vLLM and SGLangNothing happens until the next request.

On the way to the GPU

We wrote the server and scheduler from scratch, along with our GPU kernels. It all compiles into one program, with no framework in between.

vLLM and SGLangPython and PyTorch sit between the request and the GPU, along with several other libraries.

Works with the agent you already use

Claude Code, Codex, opencode and the rest speak the OpenAI or Anthropic API. Point their base URL at your server and they run on LayerScale. See how it works →

  • opencode
  • Cursor
  • GitHub Copilot
  • OpenAI Agents SDK
  • Vercel AI SDK
  • Codex
  • Claude Code
  • Gemini CLI

Bring Your Own Model
and Your Own GPUs

LayerScale is built for the latest generation of open-weight models: today's leading language, multimodal and video models, and the ones that come next. It is engineered for NVIDIA's newest architectures, Blackwell and Vera Rubin.

Open Models
Meta Llama 4 Llama 4 Maverick 17B-128E, Llama 4 Scout 17B-16E, Llama 3.3 70B, Llama 3.1 8B and Llama 3.2 3B Image input
Google Gemma 4 Gemma 4 31B, Gemma 4 26B-A4B, Gemma 4 12B, Gemma 4 E4B and Gemma 4 E2B Image inputAudio input
OpenAI GPT OSS gpt-oss-120b and gpt-oss-20b
Mistral AI Mistral 4 Mistral Small 4 119B, Mistral Small 3.2 24B, Mistral Small 3.1 24B and Devstral Small 1.1 Image input
Qwen Qwen 4 Qwen3.8-Flash-Next, Qwen3.8-27B, Qwen3.5-4B, Qwen3-32B, Qwen3-30B-A3B, Qwen3-8B and Qwen2.5-VL Image input
Microsoft Phi-4 Phi-4 (14B)
NVIDIA Nemotron 4 Nemotron 3.5 Super VL 120B-A12B and Nemotron 3.5 Lightning 30B-A3B Image input
Z.AI GLM-5.4 GLM-5.4 and GLM-5.3-Flash Image input
Ricursive Intelligence Ripple Ripple-65B Preview 2M context
Recursive Flint Recursive Flint 40B-A2.5B 262K context
Moonshot AI Kimi K3.1 Pro Kimi K3.1 Pro and Kimi K3 1M context
Meta Muse Spark Muse Spark Open 816B-A42B Image inputAudio input
Thinking Machines Lab Inkling 2 Inkling 2 Mini 26.4B-A3.4B Image input1M context
MiniMax MiniMax H3 MiniMax H3, video with sound from a prompt or a picture Video outputAudio output
Lightricks LTX-2.5 LTX-2.5, video with sound from a prompt or a picture, up to 4K Video outputAudio output4K
Hardware Platforms
NVIDIA CUDA H100, H200, GH200, B200, B300, GB200, GB300 and Vera Rubin, and other datacenter Hopper and Blackwell GPUs
AMD ROCm Coming soon Instinct MI300X, MI325X, MI350X, MI355X, MI450X and MI455X
Apple Metal Apple silicon, M5 and newer

Made for Blackwell
and Vera Rubin

We wrote our kernels for NVIDIA Blackwell and Vera Rubin, the GPUs that run AI in production. Hopper cards like the H100 and H200 run them too. The same image takes you from one server to a rack, and on to a fleet.

  • Kernels for each generation. Hopper and Blackwell each get kernels of our own. They handle FP8 on H100 and H200, and NVFP4 weights and KV cache on B200, B300, GB200 and GB300.
  • One model across a server. Tensor parallelism splits a model over every GPU in the box. The GPUs talk to each other over NVLink.
  • One model across machines. Tensor parallelism reaches past one machine: the trays of a GB200 or GB300 NVL72 rack, or servers joined by InfiniBand, RoCE or Ethernet. Each machine runs one server process, they exchange through NCCL, and the first one serves the API.
  • Prefill and decode apart. Disaggregated serving reads prompts on one set of workers and generates tokens on another. Each set scales on its own, so a long prompt never stalls anyone else's reply.
  • A fleet behind one endpoint. Add workers behind NVIDIA Dynamo's KV-aware router and deploy them on Kubernetes with the Dynamo operator. The router sends each request to the worker most likely to have its prompt cached already.