Cloud AI or a local model: what should a company choose?
Choose according to permitted data transfers, required quality and who will operate the system. A cloud API can test an approved workflow without running your own model server. Local deployment gives you more control over execution, but needs resources and operations. Neither option alone guarantees security or value.
Compare four deployment arrangements
“Cloud” and “local” can describe different parts of a system. Name the server owner, processing location, model provider and people with administrative access separately. A rented data-centre server is not hardware inside your office; a private network address does not remove the external operator.
- Managed cloud API
- The provider operates the model. Your company connects an application and checks that service’s permitted data, retention, access, region, limits and change policy. It is a candidate when transfer is permitted and quality can be tested.
- Self-hosted model on a rented server
- Your company or contractor deploys a chosen model on external infrastructure. You control the version and configuration, but still depend on the data-centre operator, contractual terms, redundancy and your own support.
- Model on company hardware
- Processing runs on an agreed company server or workstation. It needs access controls, updates, backups and an incident owner. An employee’s everyday laptop is not equivalent to a resilient shared service.
- Hybrid
- Different approved tasks follow predefined routes. This does not mean automatically sending every difficult request to the cloud. Check data before transfer, define the boundary and test each route separately.
Check the entire data flow, not just the model
Map one request from the original document to the answer and removal of temporary data. Check file recognition, search, embeddings, the model and connected tools separately. A local model can receive context from an external service; cloud retrieval may see document passages before an answer is generated.
- What leaves the boundary
- Original files, selected passages, messages, identifiers and tool results. Removing a name from the text does not guarantee anonymisation of the whole document or its metadata.
- What is retained
- Conversation history, indexes, application logs, traces, caches and backups. Each copy needs an owner, retention period and deletion method. No training on data does not mean no retention.
- Who can read it
- The user, application administrator, support contractor and infrastructure provider. Test access to individual documents, attachments and retrieved results, not only chat sign-in.
- What happens on failure
- Queues, retries, manual handling and recovery. A forbidden document must not silently move to another provider when its normal route is unavailable.
For example, Yandex AI Studio distinguishes service logs, audit logs, traces and API data. Disabling logging for service improvement does not disable the other mechanisms. Ollama’s FAQ distinguishes local and cloud models and provides a way to disable cloud features. These examples show why the actual configuration matters more than a promise associated with a product name.
Yandex AI Studio: data storage policy · Ollama: local and cloud modes
Compare quality, workload and total cost
Deployment location does not determine answer quality. Compare specific models and configurations on one permitted task set, shared criteria and the expected workload. If original examples cannot be sent to a cloud service, use an approved synthetic set and state the limits of that comparison.
- Quality
- Verifiable answers, source references, missing details, refusal when information is insufficient and handling of your document formats. Measure corrections and staff effort, not just generation speed.
- Workload
- Document and context length, simultaneous requests, queues and time to a usable result. Test memory and performance on the selected self-hosted configuration. One short request does not determine server capacity.
- Cloud cost
- Preparation and integration, model and tool use, storage, retrieval, application hosting, support and human review. Specify volume and a spending limit rather than comparing only a single call price.
- Self-hosting cost
- Hardware or rental over the chosen horizon, power, redundancy, administration, updates, licences and re-evaluation after a model change. Already owning a server does not make operation free.
- Team readiness
- Who updates the model and dependencies, checks access, restores service and owns quality? Without that owner, agree support and a manual fallback process first.
For a downloadable model, check the licences for weights, software and data separately. Being able to download a file does not itself establish permission for the intended commercial use. Hugging Face documents licence metadata in repository cards; retain the terms for the particular version, not just the model family name.
Example: an assistant for a catalogue and internal terms
DEMO-901 is a fictional company. Its example policy permits public packaging descriptions to be sent to an approved cloud service, while internal order terms must stay within the company network. This is a teaching policy, not a universal legal requirement, client case or working integration result.
- Public request REQ-P901
- “What is included in K5 packaging?” PUB-901 contains only a public description: a box with dividers. A cloud candidate can be tested on this permitted material once service terms are approved.
- Internal request REQ-S901
- “Can order DEAL-901 ship today?” Internal document INT-901 requires warehouse approval. Neither the document, order ID nor passages from it go to the external service. Test a model and retrieval inside the company network for this workflow.
- Expected answer to staff
- The public part confirms K5 contents with a PUB-901 reference. The internal part cites the approval requirement in INT-901 without claiming shipment is confirmed. Both parts are available only to staff with the required access.
- First-phase decision
- Begin with the approved public workflow without connecting internal documents. A complete assistant needs separate quality and operational checks for the local route. A data restriction does not prove that the first chosen model will work.
- Local-route failure
- The internal request goes to an accountable staff member or the agreed queue. Cloud substitution is forbidden for it. A hybrid requires tested separation; internal context must not be added to a cloud request to merge the final answer.
Here the decision starts with the data boundary. Choose the server and model after testing the task, not from a promise that everything is local. If ordinary search and approval solve the task, a generative model may not be needed.
What to verify before choosing deployment
- Data map: source, permitted recipient, processing location, every retained copy and deletion. Mark documents that must not reach the external route.
- Shared acceptance tasks: correct answer, no answer, conflicting documents, a request for someone else’s record and an unavailable service. Test quality and permissions separately.
- Boundary test: internal documents, metadata and retrieved results do not reach a cloud route approved only for public material. Select the route before transfer rather than relying on a model promise.
- Load testing: queues, latency, errors, staff effort and cost per accepted result. Record workload, model version and configuration in the test record.
- Operations and exit: an owner, updates, re-evaluation, redundancy, recovery and migration when changing provider. An outage must not enable a forbidden external fallback.
A no-training statement is not a complete answer about retention and access. A local model process is not proof that the entire system is isolated. The review should produce an explicit list of permitted actions and observable outcomes.
What to prepare for an initial discussion
Describe the task, document types, permitted transfers, expected workload and system owner. An anonymised structure or synthetic documents are enough for an example. Do not send passwords, customer databases or private files. Before choosing a provider, agree constraints with data owners and the people accountable for the company’s applicable requirements.
BYstudio’s initial discussion is free. Audit, pilot and production development each have separately agreed scope, price and acceptance. A first phase can test a permitted workflow and compare options without promising universal compliance, fixed savings or the quality of an untested model.