Guide

Choosing an LLM deployment: API, open weights or fine-tuning

By the Cloudverg engineering team · · 7 min read

Every company building with large language models faces the same early choice: call a hosted model through an API, run an open-weight model yourself, or tune a model for your task. Each path is right for some workloads and wrong for others.

Four questions that decide it

  1. What data will the model see? Public content, internal documents and regulated personal data carry very different obligations.
  2. How much will you use it? Occasional use favors paying per token. Steady high volume can make your own GPUs cheaper.
  3. How hard is the task? Complex reasoning still favors the largest hosted models. Narrow, repeated tasks often run well on small models.
  4. How fast must it answer? Interactive features need low latency close to users. Batch jobs can trade speed for cost.

The options compared

OptionStrengthsWatch out for
Hosted APIBest general quality, no infrastructure, fast to startPer-token cost at scale, provider data terms, rate limits
Private endpoint in your cloudManaged models with traffic kept in your cloud tenancyModel choice limited to what your cloud offers
Open weights on your GPUsFull data control, predictable cost at volume, no vendor lock-inYou run the serving stack, scaling and upgrades
Fine-tuned small modelLow cost and latency for narrow tasks, consistent output formatNeeds good training data and re-tuning as needs change

A practical pattern

Many teams end up with a router: a small, cheap model handles routine requests and a larger model takes the hard ones. Retrieval supplies company knowledge to both, so neither needs to memorize it. An evaluation set decides which requests go where.

Serving open-weight models

If you self-host, the serving layer matters as much as the model. Engines such as vLLM, NVIDIA NIM, Triton Inference Server with TensorRT-LLM, and Hugging Face Text Generation Inference batch requests and manage GPU memory so the same hardware serves far more users. Plan GPU memory for the model weights plus the context length you need.

Start with evaluation, not infrastructure

Before committing to any option, build an evaluation set from real examples and score two or three candidates on it. The results usually make the decision obvious. Our AI team can run this comparison for you.

Want help applying this?

Our engineers can review your network and give you a written plan at no cost.

Book a free assessment

More guides