When to move from a homegrown FastAPI LLM proxy to a proper gateway

Kev926 · reddit · 2026-11-10

An engineer describes outgrowing a homegrown FastAPI LLM proxy that originally let apps switch between OpenAI and Anthropic without code changes. With 4 apps across 3 teams sharing two API keys, pain points now include team-level keys and usage limits, proper request tracking, keeping sensitive customer data out of prompts before they reach providers, and logging that's just a basic Postgres table. They ask whether a dedicated LLM gateway is worth the switch — a familiar inflection point for engineering teams scaling multi-tenant LLM infrastructure.

Original post →

More from coding & agent

coding & agent channel →