LLMOps & AI cost governance · 4.5 years in AI systems

An AI stack with a predictable bill

I run cost-governed AI platforms: requests are classified before they reach a large model, small open-weight models carry the routine work, and every call goes through a gateway that enforces budgets.

Koper
AI spend management product, owned as CTO
Own GPUs
open-weight SLMs selected per workload
BYOK
LiteLLM gateway with budgets and fallbacks
9+ yrs
in software engineering

What is intent routing?

Intent routing classifies each request with an embedding model and a small classifier before any large language model is called. Simple or known intents are answered by rules, a cache or a small model, and only requests that need deep reasoning reach an expensive model. It lowers cost and latency without changing the quality of the hard answers.

The problem

Where teams get stuck.

  • Every request goes to the largest model, including the ones a lookup could answer.
  • Spend is one line on an invoice, with no view by feature, tenant or team.
  • A single provider outage takes the product down.
  • Regulated data is sent to third-party APIs without a clear policy.
The approach

How I build it.

LiteLLMLangSmithHeliconeBraintrustOpen-weight SLMsGPU servingEmbedding classifiersKubernetes
  1. Route before you generate

    An embedding plus small-classifier router decides what each request needs, independently of any LLM.

  2. Right-size the model

    Open-weight small language models, selected per workload and served on your own GPUs where volume justifies it.

  3. One gateway

    A LiteLLM gateway with bring-your-own-key, budgets, rate limits, fallbacks and per-tenant attribution.

  4. Evaluate and observe

    Tracing and evaluation with LangSmith, Helicone or Braintrust, so a cheaper model is adopted only when it measures as good.

  5. Govern

    Data-handling rules and documentation aligned with GDPR and the EU AI Act.

Proof

Where I have done it.

At Metis Labs I run a cost-governed AI stack: intent routing ahead of LLM calls, open-weight small language models on our own GPUs, a BYOK LiteLLM gateway, and LLM evaluation and observability. Koper, one of the two products I own, is an AI spend management platform.

Read the Metis Labs case study Article: Route before you generate: intent classification as a cost control
Questions

Asked often.

When does self-hosting a small model make sense?

When volume is high and steady, the task is narrow, and data should stay inside your infrastructure. Below that threshold a hosted API is cheaper once GPU and operations time are counted. I make the call with your actual volumes and present both costs.

How much can intent routing save?

It depends on your traffic mix. The saving comes from the share of requests that never need a large model, which is measured during a short audit before anything is built.

Ways to engage

Start with one of these.

Reply within 24 hours

Need this on your product? Let’s talk.

The first call is free and takes 30 minutes. You leave with a scope outline and a price range, whether or not we work together.

Or build a project brief in one minute