AI Glossary / AI foundations / Beginner

Model hosting

Model Hosting (AI foundations)

Definition

Model hosting is the practice of running a trained AI model on computing infrastructure so that applications, staff or customers can send it requests and receive answers. The host stores the model files, supplies the processors that run them, and exposes the model through an interface such as an API. It is separate from training or building a model. Hosting can be done by a vendor, a cloud provider or your own team, and the exact split of duties varies.

What it means

A trained model is just a very large set of numbers saved in files. By itself it does nothing. Someone has to load those files onto powerful machines, keep those machines running, and give other software a way to ask the model questions. That ongoing job is model hosting.

For a business, the hosting choice decides who controls the model, where your data travels, how fast answers come back, and what the monthly bill looks like. You can rent access to a model hosted by a vendor, run an open model in your own cloud account, or run it on servers you own. Each choice trades convenience against control, and none is right for every team.

How it works

The host starts by placing the model files in memory on specialized processors, usually graphics processors, because they handle the heavy arithmetic quickly. A serving layer sits in front of them. It accepts a request, checks who is asking, passes the input to the model, collects the output and sends it back, usually in a fraction of a second to a few seconds.

Because one machine can only handle so many requests at once, hosts add queues, load balancing and extra copies of the model that start up when traffic rises and shut down when it falls. They also record logs, response times, error rates and usage, which feed billing and monitoring. Larger models need more memory and more processors, so they cost more to host and can respond more slowly.

Hosts also handle upkeep: security patches, model version updates, access controls and backups. With a vendor-hosted model, the vendor does this work and you pay per use. With self-hosting, your team does it and you pay for the infrastructure whether it is busy or idle.

Three practical examples

  • Finance team: A finance team calls a vendor-hosted language model through an API to summarize supplier contracts. They pay per document and never manage servers. Their main questions are what the vendor does with the contract text and where it is processed.
  • Retailer: A retailer runs a small open model for product descriptions inside its own cloud account. Product data stays within its environment, and the team controls when the model version changes. In return, the team must handle capacity, security and monitoring itself.
  • Support desk: A support desk uses a hosted chat model to draft replies, with a fallback to a human queue when the service is slow or down. The desk agrees response-time targets with the provider and tests the fallback before launch.

Think of it this way

Think of model hosting as choosing between taking a taxi, leasing a car and buying a car. A taxi (vendor-hosted API) needs no upkeep but you pay each trip and follow the driver's route. Leasing or buying (self-hosting) gives you control but you handle fuel, repairs and parking. The analogy stops working at scale: a car sits idle harmlessly, while an idle, expensive processor cluster keeps costing money by the hour.

Worked example

A company expects to process 600,000 requests a month. Option A is a vendor API at $0.002 per request: 600,000 x $0.002 = $1,200 a month. Option B is self-hosting on a rented processor server at $2,500 a month, plus an estimated 20 hours of staff time at $60 an hour: 20 x $60 = $1,200, so the total is $2,500 + $1,200 = $3,700 a month. At this volume the API is cheaper by $3,700 - $1,200 = $2,500 a month. The break-even volume where both cost the same is $3,700 / $0.002 = 1,850,000 requests a month. Below that, the API wins on cost alone. Above it, self-hosting becomes cheaper, though privacy or control needs may justify it sooner.

Illustrative case study

Fictional case: Larkfield Insurance, a made-up mid-sized insurer, launched a claims-summary tool using a vendor-hosted model. Adjusters liked it, but during month-end closing the tool slowed to a crawl and some requests failed, delaying claim reviews. The team found that the vendor's shared service throttled heavy bursts of traffic, and that nobody had set a response-time target or a fallback. Larkfield negotiated a higher request limit, added a queue that spread batch jobs overnight, and built a rule that sent adjusters back to the manual process if the tool did not answer within 20 seconds. They also began tracking response times and failure rates weekly. Month-end delays stopped, and the team kept a cost comparison on file in case volume later justified self-hosting.

Common misconceptions and mistakes

Hosting a model and training a model are the same thing. Training builds the model, often at great expense, while hosting simply runs a finished model so people can use it, and most businesses only ever do the second.

Self-hosting is always more private and cheaper. It keeps data inside your control, but you take on security, upkeep and idle capacity costs, and at low volumes a vendor API is often cheaper.

If a vendor hosts the model, privacy and compliance are the vendor's problem. The vendor handles its side, but you remain responsible for what data you send, where it is processed, and whether the terms fit your legal duties.

A hosted model always gives the same answers and speed. Response times shift with traffic, and vendors may update or retire model versions, so behavior can change unless you pin versions and monitor results.

Business use

Start by listing what the model will process, how many requests you expect, how fast answers must be, and what data rules apply. Then compare a vendor-hosted API, a managed cloud option and self-hosting against those needs. Run a small pilot, record cost per request and response times, and agree a fallback process for outages before relying on the tool in daily work.

Measure monthly cost, cost per request, response time, failure rate, uptime and the share of requests handled without human rework. Key risks are vendor lock-in, unexpected price or version changes, data leaving your control, and underused capacity if you self-host. Review contracts for data handling, support levels and exit terms, and revisit the comparison as volume grows.

People also ask

What is the difference between model hosting and cloud hosting?

Cloud hosting is the general idea of renting computing resources from a provider. Model hosting is a specific use of it, running an AI model so other software can request answers from it.

Do I need to host a model myself to use AI?

No. Most businesses use models hosted by a vendor through an API or a built-in feature. Self-hosting is a choice made for control, data rules or cost at high volume.

How much does model hosting cost?

It varies widely. Vendor APIs usually charge by usage, while self-hosting costs depend on processors, staff time and how busy the system is. Compare both using your own expected volume.

Check your understanding

In the worked example, what does Option B cost per month?

Answer: $3,700: $2,500 for the server plus $1,200 of staff time (20 hours x $60).

At what monthly volume do the two options cost the same in the worked example?

Answer: 1,850,000 requests, found by dividing $3,700 by $0.002 per request.

What problem did Larkfield Insurance hit, and how did it fix it?

Answer: The vendor service slowed under month-end bursts. They raised the request limit, queued batch jobs overnight, and added a 20-second fallback to the manual process.

Why is model hosting different from training a model?

Answer: Training creates the model, while hosting runs the finished model so applications can use it.

Related terms

  • Inference
  • Latency
  • Open-weight model
  • Cloud computing
  • API
  • GPU
  • Vendor lock-in
  • Model monitoring

Learn next

Pick one AI task in your organization and sketch a simple cost comparison between a vendor API and self-hosting, using your own expected request volume. Then read about inference and latency to understand speed, and about vendor lock-in and monitoring to plan for change.

  • Inference
  • Latency

More in AI foundations

  • Model compression - Model compression is a set of techniques that make a trained AI model smaller, faster or cheaper to run while keeping most of its accuracy.
  • Model evaluation - Model evaluation is the practice of measuring how well an AI or machine learning model performs on a defined task, using data and criteria chosen before the...
  • Model family - A model family is a group of AI models from the same developer that share a common design and training approach but come in different sizes, speeds, prices...
  • Model license - A model license is the set of legal terms that says who may use an AI model, for what purposes, and under what conditions.
  • Model parameter - A model parameter is a quantity that helps specify a particular model within a family of possible models.
  • Model size - Model size is the scale of an AI model, most often measured by its parameter count, meaning the number of adjustable numerical values it learned during...

Sources

ISO, ISO/IEC 22989 Artificial intelligence concepts and terminology: https://www.iso.org/standard/74296.html NIST, AI Risk Management Framework: https://www.nist.gov/itl/ai-risk-management-framework IBM, Think topics: https://www.ibm.com/think/topics The sources were consulted for general terminology and risk-management context around deploying AI systems; the examples, analogy, worked example and case are original educational illustrations with made-up numbers. Checked 5 Nov 2026.

Previous: Model Governance Next: Model-Independent Transformations

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer