← Work

Infrastructure — 2025

Provider-agnostic LLM gateway

One gateway across OpenAI, Anthropic, Bedrock, and Vertex — load-balanced with failover.

Role
Engineering Tech Lead
Timeline
6 weeks
Stack
LiteLLM, TypeScript
Outcome
4

The problem

Depending on a single LLM provider means their outages and rate limits become yours.

Approach

A self-hosted LiteLLM gateway routes across OpenAI, Anthropic, AWS Bedrock, and Vertex — load-balanced with same-model failover on rate-limit and a two-layer retry + backoff.

4providers, one API