Where Should Your AI Run? Cloud APIs, Private Deployments and Open Models
Use a vendor's cloud API by default, a deployment in your own cloud account when data must stay in a region, and an open model only when you can host and secure it.
8 min read

Contents
Most businesses should start with a model vendor's cloud API on a paid business plan, because the major vendors don't train on that data by default. Move to a deployment inside your own cloud account when data must stay in a region or under your existing contracts. Run an open-weight model yourself only when you need full control and can host, update and secure it.
Picture a healthcare software company in Germany. The product team wants an assistant that summarises patient support tickets. The security lead asks where the prompts go, the data protection officer asks which country processes them, and an engineer suggests downloading an open model and running it on the company's own servers. All three questions are reasonable, and each points to a different place to run the AI.
This post is not legal advice; check your data protection obligations with your own counsel.
What are the options for where your AI runs?
There are three common options: a vendor's cloud API, a private deployment of a vendor's model inside your own cloud account, and an open-weight model you host yourself. They differ in who processes your data, where it is processed and who keeps the system running.
Vendor cloud API. Where it runs: the model vendor's infrastructure (Anthropic, OpenAI, Google). Data control: set by the vendor's business terms. Effort to run: lowest. Model choice: that vendor's models, newest first.
Private deployment in your cloud. Where it runs: a cloud provider you already use, such as AWS Bedrock, Google Vertex AI or Microsoft Foundry, in a region you choose. Data control: your existing cloud contract, region and access controls. Effort to run: low to moderate. Model choice: the models that cloud offers, which can arrive later than on the vendor's own API.
Self-hosted open model. Where it runs: servers or GPUs you rent or own. Data control: complete. Effort to run: highest, because hosting, scaling, updates and security are yours. Model choice: open-weight models only.
An open-weight model is a model whose trained parameters are published so anyone can download and run it, under the licence the publisher sets.
What happens to your data when you use a cloud AI API?
On paid business plans, the major vendors state that they do not train their models on your API data by default, and they keep it for a limited time for abuse monitoring. The details differ, so read each vendor's own terms rather than a summary.

As checked on 23 November 2026:
Anthropic. Its commercial terms state that "Anthropic may not train models on Customer Content from Services." Its API data retention documentation describes a zero data retention arrangement, arranged through Anthropic's sales team, under which prompts and responses are not stored at rest after the response is returned.
OpenAI. Its data controls guide says data sent to the API is not used to train or improve its models unless you opt in, and that abuse monitoring logs are kept for up to 30 days. Zero Data Retention, which excludes your content from those logs, needs OpenAI's prior approval.
Google. The Gemini API terms treat the free and paid tiers differently. On unpaid services Google may use your prompts and responses to improve its products, and human reviewers may read them. On paid services it does not use them to improve its products.
The free-tier difference matters more than most teams expect. A developer testing with a free key and real customer data may be sending that data under very different terms from the ones the company signed.
Can you keep AI processing in the EU or another region?
Yes, but how you do it depends on the vendor. Some vendors offer regional processing on their own API, and others offer it only through the large cloud platforms. A "global" setting usually means a request can be processed in any region.
Data residency means the data is stored, processed, or both, in a chosen geography. The options as of 23 November 2026:
OpenAI lists data residency for API projects in regions including Europe (the EEA and Switzerland), the US, Australia, Japan, India and the UAE. You become eligible through sales, and the region is set when a project is created and cannot be changed later.
Anthropic's own API offers US or global processing. Its regional compliance page points European customers to country-specific options through AWS Bedrock and Google Cloud, with Microsoft Foundry listed as coming soon.
Google Vertex AI keeps data in the region for regional and multi-regional endpoints. Its data governance page notes that requests to the global endpoint can be served from any region.
Microsoft Foundry separates Standard deployments, which process data in the geography you specify, from Global and DataZone deployments. An EU DataZone deployment may be processed in any EU member state, according to its data privacy page.
Residency is one part of compliance. Under GDPR, personal data leaving the European Economic Area must meet the conditions in Chapter V, such as an adequacy decision or standard contractual clauses, as the European Data Protection Board explains.
When does a private deployment in your own cloud make sense?
A private deployment makes sense when your data and security controls already live with one cloud provider and you want AI to follow the same rules. You keep the identity and access setup, network rules, logging and contract you already have, and you choose the region.
The large clouds state that model vendors don't see this traffic. AWS's Bedrock data protection page says model providers "don't have access to Amazon Bedrock logs or to customer prompts and completions." Microsoft says prompts and completions in Foundry are not available to OpenAI or other model providers and are not used to train foundation models without your permission.
What to check before choosing this route
Model availability: whether the exact model and version you need is offered in your chosen region, not just somewhere on the platform.
Retention mode: some newer models carry their own retention rules on each platform, so read the model's page as well as the platform's.
Features: whether tools such as file search, batch processing or prompt caching work the same as on the vendor's own API.
Price: regional or residency processing can cost more than global processing on some platforms.
AWS re:Invent runs from 30 November to 4 December 2026 according to AWS's event page, so check Bedrock's model and region lists again after it.
When is an open-weight model the right choice?
An open-weight model is the right choice when data must never leave infrastructure you control, when you need to fine-tune or modify the model freely, or when usage is high and steady enough that hosting costs less than paying per call. It is the wrong choice if nobody on the team can run GPU infrastructure safely.

The licence matters as much as the model. OpenAI released gpt-oss on 5 August 2025 in two sizes, gpt-oss-120b and gpt-oss-20b, under the Apache 2.0 licence. Mistral's model documentation lists some models, such as Mistral Small 4, under Apache 2.0, and others under its own open-weight licence with different terms. Meta publishes its Llama 4 models under the Llama 4 License. Read the licence before you build a product on a model.
What self-hosting adds to your list
Choosing and paying for GPUs, and scaling them with demand.
Applying security updates to the serving software and the model.
Testing a new model version before switching, because no vendor does it for you.
Building the safety filters, logging and monitoring a vendor API includes.
Our breakdown of what an AI agent costs to run lists the running costs that apply whichever option you choose.
How do you decide where each use case should run?
Decide per use case, starting from the data it touches. Most companies end up with more than one option: a vendor API for low-risk work, a private deployment for regulated data and, occasionally, a self-hosted model for a narrow job.
Classify the data each use case sends to the model: public, internal, personal or special category.
Write down the constraints: required regions, existing cloud contracts, customer commitments and any sector rules.
Check whether a business API plan meets them, including retention and zero data retention options.
If not, check a private deployment on the cloud you already use, with the exact model available in your region.
Consider self-hosting only if neither works, or if volume clearly justifies it, and only with a named team to run it.
Ban free tiers for real data in your AI usage policy, and give developers a paid key instead.
Review the choice when models change, because new releases and new regions change the answer.
For which model fits which task, see Claude, GPT or Gemini? Choosing a model for business workflows. For whether to build the system yourself at all, see Build, Buy or Partner?.
How we approach it at Vizio AI
We start with the data, not the model. For each use case we list what the AI will read and write, where that data lives today and which contracts and rules apply to it, and we agree the answer with the client's security and data protection leads before any code is written.
We then build in the client's own accounts: the vendor API under the client's business plan, or the model platform inside the cloud they already use, in the region they need. We keep the model behind a thin layer so it can be changed without rewriting the system, and we only propose self-hosting when the client has a team that will own it. This is part of our DX Studio work.
Sources
Anthropic, Commercial Terms of Service: https://www.anthropic.com/legal/commercial-terms
Anthropic, API and data retention: https://platform.claude.com/docs/en/manage-claude/api-and-data-retention
Anthropic, Data residency: https://platform.claude.com/docs/en/manage-claude/data-residency
Anthropic, Regional compliance: https://claude.com/regional-compliance
OpenAI, Data controls in the OpenAI platform: https://developers.openai.com/api/docs/guides/your-data
OpenAI, Data residency: https://developers.openai.com/api/docs/guides/data-residency
Google, Gemini API Additional Terms of Service: https://aistudio.google.com/docs/terms
Google Cloud, Vertex AI generative AI and data governance: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/data-governance
Microsoft, Data, privacy and security for Azure OpenAI in Microsoft Foundry: https://learn.microsoft.com/en-us/azure/ai-foundry/responsible-ai/openai/data-privacy
AWS, Data protection in Amazon Bedrock: https://docs.aws.amazon.com/bedrock/latest/userguide/data-protection.html
OpenAI, Introducing gpt-oss: https://openai.com/index/introducing-gpt-oss/
Mistral AI, Models overview: https://docs.mistral.ai/getting-started/models/models_overview/
Meta, Llama: https://dev.meta.ai/llama
European Data Protection Board, International data transfers: https://www.edpb.europa.eu/sme-data-protection-guide/international-data-transfers_en
AWS, re:Invent 2026: https://aws.amazon.com/events/reinvent/
Vizio AI, Claude, GPT or Gemini? Choosing a Model for Business Workflows: https://www.vizio.ai/resources/blog/best-ai-model-for-business
Vizio AI, Build, Buy or Partner?: https://www.vizio.ai/resources/blog/build-vs-buy-ai
Vizio AI, What Does an AI Agent Cost to Run?: https://www.vizio.ai/resources/blog/ai-agent-cost
Vizio AI, DX Studio: https://www.vizio.ai/studios/dx-studio
FAQs.
Read More

Claude, GPT or Gemini? Choosing a Model for Business Workflows in Late 2026

Build, Buy or Partner? Deciding How to Add AI to Your Business in 2027

n8n vs Zapier vs Make in 2026: Picking an Automation Layer You Won't Rebuild

Stopping AI Hallucinations in Business Answers: Grounding, Citations and Refusals

Copilot Studio or a Custom Agent? How to Choose After Ignite

Web Summit, Ignite, re:Invent: What to Watch for Your AI Agent Roadmap

What Does an AI Agent Cost to Run? Tokens, Tools and the Hidden Line Items

Reading Invoices, Contracts and Forms With AI: Document Processing Without Retyping



