← All projects
Project record1 mention
Originally shared on Hacker News

Sturnus

Sturnus is a latency-based LLM load balancer: a single static binary that distributes traffic across LLM providers by latency and availability, with a small share to other providers acting as a probe so a recovered provider automatically wins back traffic. The submitter runs it in production.

Last shared
01 / The problem

What it addresses

The submitter wanted latency-based load balancing of an AI gateway without a big framework selling an enterprise plan, and wanted to avoid the large surface area and security issues that have plagued some LLM gateways.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Sturnus

    Sturnus is a latency-based LLM load balancer: a single static binary that distributes traffic across LLM providers by latency and availability, with a small share to other providers acting as a probe so a recovered provider automatically wins back traffic. The submitter runs it in production.

    Problem: The submitter wanted latency-based load balancing of an AI gateway without a big framework selling an enterprise plan, and wanted to avoid the large surface area and security issues that have plagued some LLM gateways.

    Posted by @dannyboland · Original source ↗

    Story title · @dannyboland · · Source ↗

    Show HN: Sturnus, a latency-based LLM load balancer

    Submitted URL · @dannyboland · · Source ↗

    https://github.com/sturnus-dev/sturnus

    Source text · @dannyboland · · Source ↗

    I built sturnus because I wanted the latency-based load balancing of an AI gateway but without a big framework selling an enterprise plan.

    Source text · @dannyboland · · Source ↗

    It’s a single static binary that does one thing, aiming to avoid the large surface area and security issues that have plagued some LLM gateways.

    Source text · @dannyboland · · Source ↗

    Traffic is distributed by LLM provider latency and availability. The share going to other providers acts as a probe, so that a recovered provider wins back traffic automatically.