Saifullah.
← Back to work

02 / Flagship Engineering

Shipped

LLM API Gateway

Provider-neutral LLM infrastructure with stable aliases, retries, fallback chains, usage accounting, and analytics.

FastAPIPythonOpenAIGeminiSQLiteDockerPytest

Case study

What this project demonstrates

Designed to make provider switching and failure recovery an infrastructure concern instead of leaking vendor-specific behavior into every application.

Architecture

Client → stable alias/router → provider adapter → retry/timeout policy → fallback provider → normalized response + usage ledger

Engineering highlights

Boundaries / limitations

Provider behavior and pricing still change externally; the gateway normalizes interfaces but cannot eliminate upstream availability or model-quality differences.