Skip to main content

Prerequisites

Everything you need before running llm-routing-bench.

Required Tools

  • Docker and Docker Compose — all services run as containers.
  • Go - to debug and run golang code locally

No other dependencies are needed for dev mode. Production mode additionally requires an NVIDIA GPU (see Production Mode).

Environment File

Copy the example env file and fill in the two required fields:

cp .env.example .env

.env fields:

FieldDescriptionValid values
MODEWhich backend type to useserver, local
LB_STRATEGYRouting strategy for the load balancerroundrobin, consistanthashing, leastqueue

Example:

MODE=local
LB_STRATEGY=roundrobin

The LB_STRATEGY value can also be passed directly as a make variable, which overrides the .env value:

Checkout these next