There are three broad ways for a business to use AI models: run them yourself on hardware you control, call a provider's hosted API, or use models through your own account on a major cloud platform. Each has real strengths and real tradeoffs. Many businesses end up using more than one. This article compares the options so you can choose sensibly for each use case.
The three options
Local or self-hosted
You run open-weight models on your own computers or servers, or on servers you rent and manage. Your data stays on infrastructure you control. See What running AI locally means.
Hosted APIs
You send requests to a model provider, such as OpenAI, Anthropic, Google, xAI, or Mistral, or to a router like OpenRouter that reaches many providers. The provider runs the model and charges per use. See What an AI API is, in plain English.
Private cloud
You use models through your own account on a major cloud platform, such as Amazon Bedrock on AWS, Microsoft Azure, or Google Cloud. The models are hosted by the cloud provider, but within your cloud account, under your cloud agreement, with options for region selection, private networking, and enterprise security controls. Some platforms also let you deploy open-weight models on dedicated cloud GPU instances you control.
Side-by-side comparison
| Local or self-hosted | Hosted API | Private cloud | |
|---|---|---|---|
| Model choice | Open-weight models only | Provider's models, including frontier closed models | A catalog of models offered by the platform, often including major closed and open models |
| Top-end capability | Usually below the best hosted models | Highest | High, depending on the catalog |
| Data location | Your hardware | Provider's infrastructure | Your cloud account and chosen region |
| Data terms | Fully yours | Provider's terms; varies by plan | Cloud agreement; platforms state models do not train on your prompts |
| Setup effort | Highest | Lowest | Moderate |
| Ongoing maintenance | Yours | Provider's | Shared; platform runs the models, you manage configuration and access |
| Cost structure | Hardware and power up front, little per request | Pay per token | Pay per token or for reserved capacity, plus cloud costs |
| Cost at high steady volume | Can be economical | Can become expensive | Varies |
| Cost at low volume | Hardware sits idle | Usually cheapest | Usually reasonable |
| Scaling | Limited by your hardware | Easy | Easy, within quotas |
| Works offline | Yes | No | No |
| Vendor dependence | Low | High | Moderate to high |
When local or self-hosted makes sense
- Data that should not leave your control, due to confidentiality, regulation, or client requirements.
- High, steady volume of routine tasks, such as classification, extraction, or summarization, where a smaller model is good enough and per-token costs would add up.
- Need for stability, where you want a model that never changes unexpectedly.
- Offline or isolated environments.
- Customization, including fine-tuning with full control.
Watch out for: hardware costs, the capability gap on the hardest tasks, and the ongoing responsibility for maintenance and security. See Hardware for local AI.
When hosted APIs make sense
- You need the most capable models for complex reasoning, writing, or coding.
- Volume is low or unpredictable, so paying per use is cheaper than owning hardware.
- You want to move fast without managing infrastructure.
- You want built-in features such as web search, file handling, image generation, and voice.
- Your data is not highly sensitive, or the provider's business terms meet your requirements.
Watch out for: data retention and training policies by plan, rate limits, outages, price and model changes, and dependence on one provider. A router or gateway can reduce dependence by making it easy to switch or fall back between providers. See How routers add intelligence to the intelligence and Will an AI provider train on your data?
When private cloud makes sense
- You already use a major cloud platform and want AI under the same agreements, billing, security, and compliance framework.
- You need enterprise controls such as private networking, region selection, identity management, and detailed audit logs.
- You want access to capable models with stronger data assurances than some public plans provide. Both Microsoft and AWS state that prompts and outputs sent to models on their platforms are not used to train foundation models and are not shared with the model developers. Check current documentation for details such as abuse monitoring and retention settings, which differ between platforms.
- You operate in a regulated industry where your cloud provider's compliance certifications matter.
Watch out for: setup complexity, cloud costs beyond the model itself, quotas that may require requests to increase, and model availability that varies by region and lags direct providers for some new releases.
Hybrid approaches
Most organizations do not need to pick just one. Common combinations:
- Local for sensitive, hosted for the rest: confidential documents are processed by a local model, while general tasks use a hosted frontier model.
- Local for volume, hosted for difficulty: a local model handles high-volume simple tasks; hard requests go to a hosted model.
- Private cloud as the default, with local for specific workloads: for organizations already standardized on a cloud platform.
- Hosted with fallbacks: a primary provider plus a backup from a different provider, so an outage does not stop the business.
A router or gateway that can send requests to local models, hosted providers, and cloud platforms from a single interface makes these combinations easier to run.
Questions to guide the decision
- How sensitive is the data? Does it need to stay on your infrastructure, in a specific region, or under a specific agreement?
- How capable does the model need to be? Would a smaller open-weight model meet your quality bar on real examples?
- What is the volume and pattern? Steady and high, or low and spiky?
- What technical capacity do you have? Who will set up and maintain the system?
- What existing agreements and platforms do you already use?
- How important is independence from any single provider?
- What is the total cost over a realistic period, including hardware, cloud fees, staff time, and usage?
Answer these separately for each use case. The right choice for a confidential document assistant may differ from the right choice for drafting marketing copy.
Getting help
The decision often benefits from a short pilot of each option on real tasks. Many IT providers and consultants can help evaluate and set up any of the three. Napa AI is one example, offering local AI server builds as well as managed cloud servers that can host AI inference, so a business can mix approaches without running the infrastructure itself.
Key takeaways
- Local or self-hosted gives maximum control and privacy, with hardware costs and a capability gap on the hardest tasks.
- Hosted APIs give top capability and easy scaling, with provider dependence and plan-dependent data terms.
- Private cloud combines capable models with enterprise controls under your cloud agreement, at the cost of more setup.
- Hybrid approaches are common and often best.
- Decide per use case, based on data sensitivity, capability needs, volume, skills, and total cost.