Back to Work
Apex LLM

Apex LLM — Local-First LLM Gateway

A local-first FastAPI gateway for chat inference, model-tier routing, usage metering and LoRA experiments.

Python 3.12FastAPIOllamaLoRARunPod

No screenshots for this project.

It has no public site and ships no real capture, so this case study is text only. The code is public.

At a Glance

3
Model Tiers
API-Key Quotas

Tech Stack

Python 3.12FastAPIOllamaLoRARunPod

The Challenge

Running open models locally or on a rented GPU pod needs more than a model server: callers need keys and quotas, usage has to be metered, and the right model size has to be picked per request.

What Was Built

A FastAPI chat API with API-key authentication and quotas, structured logs carrying a request id, and a usage ledger. Requests are routed to three model tiers (fast, default, reasoning) configured through environment variables, with a v2 chat contract that carries context chunks and tool metadata. The repository also holds a LoRA training pipeline with a Colab notebook, proxy templates that inject keys server-side, and RunPod scripts that start the stack under a supervisor with a health watchdog.

Where It Stands

Public repository with CI. It has no public website and ships no real screenshot, so this case study is text only.

Have a project like this in mind?

Let's discuss how we can engineer a solution for your specific business challenges.

Start Your Project