By Jesse Sumrak
Sr. Content Marketing Manager
In the past, teams would run their own database servers and get pinged whenever a disk filled up. Now, many pass that work to a managed database service so they can focus on their own product instead.
AI inference is heading in the same direction. Calling a model only takes a few lines of code, but serving one in production requires GPUs, drivers, a serving engine like vLLM (the software that loads a model and generates its tokens), autoscaling rules, and someone on call to watch latency. All of that work matters, but handling it yourself rarely makes your product any better than it would be with a managed provider.
The good news? You can hand over the management of that inference stack to a provider the same way teams handed off their databases, while retaining control of your models, prompts, and data. On an open platform like DigitalOcean, that control extends to the models themselves. You can mix open-weight and proprietary models, bring your own fine-tuned weights, and switch models without rewriting application code. Let’s break down what managed inference covers, how the different types of managed inference compare, when self-hosting still makes sense, and how the DigitalOcean Inference Engine gives you each type in one platform, so you can pick the right option for the job and budget.
Key takeaways:
Managed inference is a cloud service model in which a provider runs AI models in production on your behalf. The provider operates the GPUs, serving software, scaling, monitoring, and updates, while you send requests to an API or endpoint. You choose the model and control your prompts, data, and application, but you don’t run the infrastructure behind them.
AI inference is the stage of the AI lifecycle where a trained model generates predictions or outputs from new data. Managed inference is that same stage handed to a provider, which runs the GPUs and model servers while your team calls an API. Providers often sell the same arrangement as inference-as-a-service, and the two terms largely overlap.
Here’s how the operational work typically splits between you and the provider:
| Provider managed | User managed |
|---|---|
| GPUs, drivers, and GPU software libraries (such as CUDA) | Which model to call, or which weights to bring |
| The serving engine (for example, vLLM) and its tuning | Prompts, context, and tool definitions |
| Autoscaling and capacity planning | Application logic and integrations |
| Uptime, failover, and security patches | The data you send and where it’s allowed to go |
| Model hosting and catalog updates | Access keys, spend limits, and retry logic |
Dedicated endpoints trade a little convenience for more control. DigitalOcean Dedicated Inference operates the vLLM-based serving stack on GPUs reserved for you, while you keep model choice, capacity, and workload-specific tuning.
Every managed inference request follows roughly the same path.
Here’s what that path looks like on DigitalOcean Serverless Inference:
inference-router, the DigitalOcean Inference Router picks a model for that request based on live cost and latency data, and reroutes traffic if a model goes down or hits a rate limit.Curious how each of these steps works in a production system? Our DigitalOcean Serverless Inference deep dive traces a request from the edge to the GPU and back, including rate limits and failure handling.
Managed inference comes in four types, each with its own advantages, billing, scaling, and trade-offs.
Here’s how they compare on DigitalOcean’s Inference Engine:
Pricing, limits, and availability are accurate as of November 12, 2026, and may change.
| Type | Best for | Billing unit | Scaling behavior | Main trade-off |
|---|---|---|---|---|
| Serverless | Real-time apps, agents, and spiky traffic | Per input and output token | Scales with request volume, with nothing to provision | Limited to the provider’s catalog and rate limits |
| Dedicated | Steady traffic and fine-tuned or custom models | Per GPU-hour | You set the GPU type and replica count | You pay for reserved time whether or not requests arrive |
| Batch | Large jobs that can wait, such as LLM-as-a-judge evals or overnight document classification | Per token, at a discount | Queued jobs that finish within a set window | No real-time responses |
| Routing | Apps that call several models | Per token, at the serving model’s rate | Follows the type operating underneath it | You set the routing policy, and the router picks the model for each request |
Most teams end up using more than one type. Here’s how to match each one to a workload:
inference-router in your code to use the DigitalOcean Inference Router. There’s no additional charge during public preview without a service level agreement and subject to the DigitalOcean preview terms. You pay the rate of the model that serves each request.Not sure which type your different workloads need? Our inference mode comparison walks through Serverless, Dedicated, Batch, and Inference Router side by side.
Deciding whether to manage inference yourself or work with a managed inference provider comes down to who you want running the serving stack and how much control you need over it.
Here’s what to consider:
| Factor | Managed inference | Self-hosted inference |
|---|---|---|
| Time to first request | As soon as you create a key | After you provision GPUs and configure a serving engine |
| Cost model | Per token or per GPU-hour | GPU rental or hardware, plus engineering time |
| Best traffic pattern | Variable, spiky, or growing | Steady and high enough to keep GPUs busy |
| Data control | Data travels to the provider, with options like private VPC endpoints | Data stays on infrastructure you control |
| Model and runtime control | Catalog models, or your own weights on dedicated endpoints | Any model, kernel, or engine version |
Then, there’s another option: self-managed infrastructure (like GPU Droplets). Here, the provider runs the hardware, and you run the serving stack. You skip buying hardware, but your team still installs and tunes the serving engine, handles scaling, and answers the on-call pages. It suits teams that need runtime control without owning GPUs.
Weighing GPU Droplets against a managed endpoint? Our guide to easy ways to deploy an LLM breaks down available options.
Self-hosting is the better choice in these situations:
Many teams start with Ollama or vLLM on one GPU server, then hit its limits: requests queue up, a bigger model won’t fit in GPU memory, or a single failure takes the endpoint down.
Moving to managed inference usually takes four steps, and most of your application code stays the same:
Running a fine-tuned model on your own GPU today? Our tutorial about how to deploy a fine-tuned LLM to production with BYOM and Dedicated Inference covers importing the weights and serving them on a private endpoint with VPC isolation.
Managed inference bills in two main units: per token, which suits variable or spiky traffic, and per GPU-hour, which suits steady traffic that keeps reserved GPUs busy. Surprise bills usually come from paying in the wrong unit for your traffic or from a runaway loop with no spending cap.
Serverless inference charges per input and output token, typically priced per million. When requests start with the same text (such as a system prompt or tool definitions), DigitalOcean Serverless Inference bills that cached input at up to 90% off with prompt caching, depending on the model and prompt.
Dedicated inference charges for reserved GPU time. DigitalOcean Dedicated Inference is billed per GPU-hour (such as $4.41 per hour for an NVIDIA H100), whether the GPU is busy or idle. It pays off when utilization stays high.
DigitalOcean provides several controls to keep spend predictable:
Trying to find the point where dedicated GPUs beat per-token pricing? Our tutorial on token economics across traffic profiles covers cost per token, GPU utilization, and batch sizing.
The right provider depends on how well it fits your models, traffic, and data. Whether you’re comparing AI inference platforms or shortlisting the best inference providers for AI agents, judge each on the criteria that matters most:
Not sure which latency numbers matter most for your app? Our tutorial on metrics that matter with Serverless Inference explains why no single metric captures performance for every application.
Managed inference fits any team that wants AI in production without first building a machine learning platform team. The workloads range from real-time features inside a product to fleets of AI agents.
Our customers show what managed inference looks like in production.
Traversal builds an AI site reliability engineering (SRE) product that finds the root causes of production incidents. It runs its apps on DigitalOcean Kubernetes, next to its customers’ observability data, and uses Serverless Inference to scale production inference without manual provisioning. As of December 3, 2025, the team makes millions of API calls a month and reports about 99.96% availability.
“Serverless Inference is fantastic because we can make as many calls as we need without worrying about provisioning infrastructure,” says infrastructure engineer Carlo Ruiz.
LawVo, a Canadian legal tech startup, set up 144 AI agents on DigitalOcean in two weeks and chose it partly for Toronto-based infrastructure that keeps client data in Canada. As of August 21, 2025, by routing requests through the Inference Router, LawVo cut inference costs 42% with no code changes.
What are the rate limits on managed inference providers?
Most providers cap requests per minute (RPM) and tokens per minute (TPM), and whichever you hit first applies. DigitalOcean Serverless Inference limits range from up to 120 RPM and 1.5 million TPM at Tier 1 to up to 1,200 RPM and 25 million TPM at Tier 5.
Is managed or self-hosted inference better for an air-gapped enterprise environment?
Self-hosted. Managed inference depends on reaching a provider’s endpoints, so a truly air-gapped environment needs models on hardware inside that boundary. If you only need private networking, private Dedicated Inference endpoints on DigitalOcean may be enough.
How do I move from a single GPU VM running Ollama to a managed inference endpoint?
Most of your code can stay the same. Ollama exposes an OpenAI-compatible API, so you mostly change the base URL, key, and model name, then test your real prompts before switching traffic.
Do I need MLOps expertise or to configure vLLM to use managed inference?
No. The provider runs the serving engine, GPUs, and scaling. On DigitalOcean, Dedicated Inference even operates the vLLM-based stack while you pick the model, GPU, and replica count.
What is the difference between serverless and dedicated managed inference?
Serverless inference runs on shared GPU capacity and bills per token. Dedicated inference reserves GPUs for your model and bills per GPU-hour, trading idle cost for predictable performance and custom weights. On DigitalOcean, both use an OpenAI-compatible API, so switching doesn’t require rewriting your app.
The DigitalOcean Inference Engine runs serverless, dedicated, batch, and routed inference for you, on the same cloud as your databases, storage, and agents. Scale from prototype to production without adding vendors.
Key features include:
Get started with the Inference Engine ->
Results in customer environments may vary depending on configuration, implementation, and usage. Results and/or savings are not guaranteed.
Any references to third-party companies, trademarks, or logos in this document are for informational purposes only and do not imply any affiliation with, sponsorship by, or endorsement of those third parties.
Hi. My name is Jesse Sumrak. I’m a writing zealot by day and a post-apocalyptic peak bagger by night (and early-early morning). Writing is my jam and content is my peanut butter. And I make a mean PB&J.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
