Model inference

Serve model predictions within the response-time, capacity and cost limits of a real workload.

Fast enough. Cheap enough.

Engagement scope

What the work delivers.

Interactive requests and overnight batch jobs need different serving designs. We measure the workload under representative demand and choose batching, caching and hardware around the observed behavior.

Illustrative workflow
  1. Replay a busy-hour request sample
  2. Measure queueing and response time
  3. Size the serving environment

Serving design

Select the runtime, deployment shape and request path.

Load profile

Measure throughput, tail latency, memory use and cost per completed task.

Capacity plan

Define scaling rules, queue limits and fallback behavior for peaks.

When to bring us in

  • A model that performed well in testing slows down or fails under real demand, and users notice before your monitoring does.
  • Inference spend is rising faster than usage, and nobody can say what a completed task costs or which requests drive the bill.
  • You are deciding between a hosted model service and running models on your own hardware, and you need evidence from your workload rather than list prices.
  • An overnight batch job and an interactive feature share the same serving setup, and each is degrading the other.

How the engagement runs

  1. Characterize the workload

    Establish request patterns, input and output sizes, peak periods and the response time each kind of user needs, using production traffic or a representative replay.

  2. Weigh the serving options

    Compare hosted and self-managed serving, model sizes, batching and caching, and set out the trade-offs your platform lead would be accepting with each option.

  3. Measure under load

    Replay demand at and beyond expected peaks, observe where queueing begins, and record cost per completed task alongside quality so efficiency is not bought with worse answers.

  4. Set capacity and limits

    Agree scaling rules, queue limits, priorities between workloads and the fallback behavior users see when demand exceeds what has been provisioned.

Decisions that shape the outcome

Tail latency, not the average

Users experience the slowest responses, not the mean. A service that is fast on average but stalls for a small share of requests feels unreliable, and the workflows built on it stall too. We size and tune against the slow end of the distribution, which often changes the hardware and batching decisions.

Smaller, cheaper or faster models

Quantization, distillation or a smaller model can cut cost and response time, with some loss of quality that may or may not matter for the task. We measure that loss on your own evaluation cases as part of judging each optimization. Without that check, the savings appear on the invoice and the quality loss appears with users.

Throughput against responsiveness

Batching requests together raises throughput and lowers cost per request, but each request may wait for its batch. Batch workloads benefit while interactive ones can suffer. Separating the two onto different serving paths with explicit priorities is often cheaper than overprovisioning one shared setup to satisfy both.

Is this the right service?

If the deciding question is where models run, which data they can see and who holds the keys, start with sovereign AI.

Keeping a launched service observable and within budget over time is AI operations. For clusters built around training or simulation jobs, see high-performance computing.

When the model has to run on devices at a site, such as cameras, gateways or industrial computers, rather than in a data center or cloud, see edge AI.

Also in AI and application engineering

Industries where it applies

Common questions

Should we use a hosted model service or run models ourselves?

It depends on volume, how predictable demand is, data constraints and the skills available to operate the platform. Hosted services suit variable or modest demand and avoid running hardware. Self-managed serving can cost less at steady, high volume and gives more control. The load profile supplies the evidence for that choice.

Where do inference savings usually come from?

Common sources are routing routine requests to smaller models, caching repeated work, batching where users can wait, trimming oversized prompts and matching hardware to the model. Which of these applies depends on your workload. Each candidate change is measured against quality on your own cases, so a saving that costs accuracy shows up in the comparison.

What response time can we expect?

That depends on the model, the input and output sizes, the hardware and the pattern of demand, which is why the engagement measures it under representative load. The capacity plan reports the response times observed for each workload at the tested demand. Service levels, where they apply, are set in the engagement agreement.

Does this cover models we trained or tuned ourselves?

Yes, provided the serving runtime supports the model's architecture. The work applies to hosted models, open-weight models and models that your team or ours has trained or tuned. Custom and tuned models often bring their own serving considerations, such as loading adapters or needing specialized hardware.

How do you handle sudden spikes in demand?

The capacity plan defines how the service scales, how long requests may queue and which requests take priority. When demand exceeds what has been provisioned, requests can be shed, deferred to a batch path or routed to a fallback model, according to rules agreed with the service owner.

Related perspectives

Discuss the brief.

What demand, response time and cost per task must the inference service support?

Book a discovery call