LLM Serving & Inference Stack

We serve open-weight models in production — fast, predictably, and on infrastructure you control.

The engine decides the cost

The same model on the same hardware can differ by 5–10× in throughput and cost per token depending on how it is served. We pick the engine to fit the workload and then tune it deliberately:

  • vLLM — continuous batching, paged attention, tensor parallelism and prefix caching for concurrent, multi-user server workloads.
  • Ollama — the fastest path from “we want to try this model” to a working endpoint, with sane defaults and simple model management.
  • llama.cpp — CPU, Apple Silicon and edge deployments where memory is tight and a GGUF quantised model is the right answer.
  • MTPLX — multi-token prediction (speculative decoding) on Apple Silicon, for high tokens-per-second on M-series hardware without a GPU server.

What we tune

  • Quantisation strategy: GGUF, AWQ and GPTQ compared on your eval set — 4-bit, 5-bit or half precision, chosen by quality loss you can actually measure.
  • Batching and scheduling: continuous batching, max concurrent sequences and queueing policy to hit a latency SLO instead of maximising raw tokens per second.
  • KV cache and context: cache sizing, prefix caching and context-window limits that keep long conversations affordable.
  • Speculative decoding: draft models and multi-token prediction where the workload is latency-bound rather than throughput-bound.
  • Token reduction: system prompt compaction, retrieval instead of pasted context, structured output, and prompt caching — usually the single biggest cost lever.

Why self-host instead of a managed API?

  • Data residency: Prompts and outputs stay in your environment — GDPR, EU AI Act and sector rules satisfied by architecture rather than contract.
  • Cost at volume: Own or rent the compute and avoid per-token margin once usage is steady.
  • Model control: Pin versions, swap models, fine-tune, and roll back without a vendor deciding for you.
  • Latency determinism: No noisy neighbours on a shared endpoint when tail latency matters.

Delivery model

  1. Workload & cost baseline — token volume, concurrency, latency target and current cost per answer.
  2. Engine and model selection — benchmarked on your prompts, not on a leaderboard.
  3. Deployment — containerised, version-pinned, with health checks, rolling upgrades and autoscaling where it applies.
  4. Tuning and evals — throughput, TTFT and quality measured before and after each change.
  5. Handover — runbooks, dashboards and alerts on the metrics that matter, so your team can operate it.

Need help with serving?

Bring a model and a workload description. We will tell you what it costs to run, and whether a hosted API is actually the cheaper answer. Talk to an engineer.