Serve LLMs across a fleet of GPUs.

InferWeave is a gateway that sits in front of your GPU machines. It accepts OpenAI-compatible requests, admits them against capacity that actually exists, and routes each one to a node that can serve it.

View on GitHub InferWeave organization

How it helps

Drop-in API

Clients keep using the OpenAI-compatible /v1/chat/completions endpoint. Responses stream through chunk by chunk, not buffered.

Mixed hardware, one pool

Different GPUs and engines (vLLM, llama.cpp) behave as a single fleet, each node advertising the models it can serve.

Nodes join, not configured

A node runs inferweave node join with a one-time code and heartbeats on its own. No central node list to maintain.

Durable by default

Every accepted prompt is written to an fsync'd, encrypted outbox before it is routed. No database required.

Cache-aware routing

The adaptive router favors session affinity and prefix locality, so repeated long prompts land where the KV cache already lives.

Honest capacity

Requests are admitted or refused against real capacity and seats. Optional residency policy and Slurm autoscaling manage how long GPUs are held.

How it fits together

  OpenAI-compatible client
            |  POST /v1/chat/completions
            v
  +-------------------------------------------+
  |                 gateway                   |
  |  1. prompt outbox   durable, before route |
  |  2. admission       capacity and seats    |
  |  3. adaptive router affinity + locality   |
  +-------------------------------------------+
        ^ join + heartbeat      | proxied stream
        |                       v
  +-------------------------------------------+
  |   GPU nodes (vLLM / llama.cpp)            |
  +-------------------------------------------+

InferWeave ships no inference engine. vLLM or llama.cpp produce the tokens; InferWeave is the layer in front: admission, routing, durability, capacity.

Get started

Start a gateway, then join a GPU node to it:

inferweave gateway serve --listen 0.0.0.0:8080 \
  --outbox /var/lib/inferweave/outbox --name prod \
  --nodes /etc/inferweave/nodes.json --kek "$KEK" \
  --admin-secret "$ADMIN_SECRET" --adaptive

inferweave node join --gateway http://gateway:8080 \
  --code  --endpoint 10.0.0.5:8081 ...

Source and specifications live on GitHub (inferweave · inferweave-specs · inferweave-docs).