Google Cloud Architecture Framework
Primary architecture guidance for reliability, security, performance, cost, and operational tradeoffs.
Compute College
Compare three ways to run an AI workload by control, latency, capacity, operations, and total cost.
A hosted API runs the model through a provider’s shared service; a managed deployment gives the team a dedicated or configurable serving environment managed by a platform; self-hosting puts more of the model, hardware, and operations under the team’s control. The choice is a workload and risk decision, not just a pricing-page comparison.
Memory trick: Deployment is a bundle of control, capacity, and work.
The options exchange control for operational burden. Hosted APIs can reduce fixed capacity work, while self-hosting may improve control or economics at stable high utilization. Managed deployments sit between them but still depend on region, hardware, quotas, scaling, and support terms.
A startup begins with a hosted API for uncertain traffic, measures tokens and accepted-task cost, then compares a managed endpoint at expected peak volume. Self-hosting is considered only after the team can staff model serving, monitoring, patching, capacity, and incident response.
Example figures are illustrative calculations, not current quoted market prices.
Current example
This source explains the method or risk boundary. It does not replace testing the actual model, data, provider, and workload conditions in production.
Primary architecture guidance for reliability, security, performance, cost, and operational tradeoffs.
Source discipline: examples on this page are illustrative; measure the real workload before making a release or capacity decision.
Provider token prices and raw GPU rental rates are not directly comparable. Self-hosting also pays for utilization loss, serving software, power, storage, networking, staff, and failures.
Practical takeaway
Write a three-column comparison for the current workload. Include cost per accepted task, latency, privacy, capacity risk, operations, exit path, and the utilization level where each option changes rank.
Decision check: does the preferred deployment still win after adding operations, headroom, failure recovery, and the cost of changing providers?
Compute College learning path
Step 41 of 48: Hosted API vs managed deployment vs self-hosting