Lattice
Skip to content
01

Inference & Serving

12 tools

Turns weights into throughput.

  • vLLMruntime

    Paged-attention inference engine with an OpenAI-compatible server.

  • SGLangruntime

    Structured generation runtime built on RadixAttention prefix reuse.

  • llama.cppruntime

    Portable CPU/GPU inference for quantized GGUF models.

  • Ollamaruntime

    Local model runner with a single-binary distribution and HTTP API.

  • NVIDIA-optimized inference with inflight batching and FP8.

  • Hugging Face production server for LLMs with tensor parallelism.

  • LM Studioservice

    Desktop app for running and serving local models with an OpenAI API.

  • Multi-framework inference server for ONNX, TensorRT and Python.

  • llamafileruntime

    Packages a model and its runtime into a single executable.

  • KoboldCppruntime

    GGUF inference with a focused text-adventure UI and API.

  • PowerInferruntime

    CPU-first runtime that offloads hot paths to the GPU.

  • Marlinlibrary

    Quantised GEMM kernels for near-GPU speed at 4-bit.

By Layer boundaries and entries verifiedmethod

Rules of thumb

  • Benchmark at your concurrency, not at batch size one. A runtime that wins a single-stream demo can lose badly at fifty concurrent users.
  • Measure time to first token and tokens per second separately. Users feel the first; your GPU bill feels the second.
  • Self-host only when a hosted API fails a measured requirement: cost at volume, data residency or latency. Owning GPUs is an operations job, not a config flag.

Quick answers

What does an inference server actually do?
It loads model weights onto hardware and turns requests into tokens as fast as the hardware allows, batching concurrent requests and managing the KV cache so memory is not wasted. It is the bottom of the stack: every other layer pays its latency.
Should I self-host a model or call a hosted API?
Start on a hosted API. Move to self-hosting when you can name the measured reason: sustained volume that makes per-token pricing more expensive than GPUs, data that cannot leave your network, or a latency target the API misses.
Which number matters most when comparing runtimes?
Throughput at your real concurrency and prompt length. Single-request latency hides batching behaviour, which is where production runtimes differ most.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.