How to balance privacy, cost, and performance when deploying AI outside SaaS platforms
Introduction: why this decision matters now
Large Language Models (LLMs) have moved from novelty to utility. The problem most businesses are now facing is not “Should we use AI?”, but “Where should it run, and what does that mean for our data?”
The wrong decision tends to happen by accident: staff paste sensitive information into a convenient web chatbot; an internal prototype quietly becomes operational; or a cloud GPU is spun up, left running, and ends up costing more than expected. The right decision is a conscious one: define what data you can risk exposing, choose an execution model that matches that risk, and build a workflow that is practical enough that people will actually follow it.
This guide lays out the three main ways to run LLMs (local, cloud GPU, and hosted AI APIs), the real security boundaries of each, and a pragmatic hybrid approach that gives you the benefits of AI without giving away control.
What we mean by “running your own LLM”
A lot of confusion comes from tool names. Clarifying the stack will save you time and reduce the chance of false assumptions.
An LLM is the model itself: a set of trained “weights” (often many gigabytes) that predict the next token. The model is not a website and it is not “AI” in the abstract; it’s a large file plus a runtime that can execute it.
A runtime is the software that loads the model and serves responses. Examples include Ollama, vLLM, and Text Generation Inference (TGI). A runtime may also handle model downloads, quantisation formats, and an API interface.
A user interface (UI) is simply the front end you use to talk to the runtime. Open WebUI is a common choice: it provides a browser-based interface and can connect to one or many model backends.
So when people say “I’m running Open WebUI and Ollama”, that usually means:
- Open WebUI is the browser UI (the chat front end)
- Ollama is the runtime and model manager
- the actual LLM models are stored on disk and executed by the runtime
That distinction matters because your security and privacy posture is determined by where the model runs and where prompts travel, not by which UI you type into.
The three deployment models that matter
Most real deployments fall into one of the following patterns.
A) Local or on-prem LLMs (your hardware, your network)
This is the “keep it in-house” approach: an LLM runs on a workstation, a server, or a dedicated machine on your network.
Typical setup:
- Linux host
- runtime (Ollama, llama.cpp, etc.)
- optional UI (Open WebUI in Docker)
- local network access (browser or SSH)
Strengths:
- Best practical privacy: prompts and data never need to leave your network
- Predictable costs: electricity and hardware, not per-token or per-hour billing
- Stability: you control upgrades; behaviour does not change overnight
- Control: you choose models and set the tone/behaviour you want
Weaknesses:
- You are limited by your GPU VRAM and system RAM
- Bigger models and longer contexts can be slow or impossible
- You carry the operational burden (updates, monitoring, backups, security)
Local works exceptionally well for a large percentage of business tasks if you choose the right model sizes and accept that “local” prioritises control over maximum raw capability.
B) Cloud GPU (your stack, rented compute)
This approach rents GPU compute on demand. You run the runtime and models on a cloud instance, and connect to it from your office or home network.
Typical setup:
- cloud GPU instance (RunPod, Vast, Lambda, etc.)
- persistent storage volume for model files
- runtime (vLLM/TGI/Ollama) serving an API endpoint
- your local UI (Open WebUI) connects to that endpoint
Strengths:
- Burst capacity: run larger models only when you need them
- Faster experimentation: try multiple models without buying new hardware
- Cost control (if disciplined): pay for GPU only when running; pay storage when stopped
- Flexibility: scale up VRAM (24GB, 48GB, 80GB+) without capital expenditure
Weaknesses:
- You introduce a trust boundary: the provider hosts the hardware and storage
- Misconfiguration risk: exposing endpoints publicly is a common mistake
- Data gravity: moving large datasets/models is slow if you do it repeatedly
- Operational complexity: you must handle secrets, access control, and lifecycle
Cloud GPU is often the best route for teams who want to stay private-ish (versus SaaS APIs) but still need the ability to run models that exceed their local hardware.
C) Hosted AI APIs (SaaS models such as ChatGPT, Claude, Gemini)
This is the easiest path: you send prompts to a vendor and get responses back. There’s no infrastructure to run.
Strengths:
- Best general reasoning on the market (often)
- Minimal setup and maintenance
- Rapid iteration and strong tooling integration
Weaknesses:
- Your prompts leave your environment by design
- Policy restrictions and content refusals are unavoidable
- Pricing and usage limits can change
- Behaviour can shift as vendors update models
SaaS is excellent for low-risk use cases and general thinking support, but it requires strict boundaries if your business deals with sensitive data.
Data security and privacy: what actually changes
Most security misunderstandings around LLMs come down to mixing up four very different things: encryption, access control, provider trust, and prompt history.
The single most important principle: where the prompt goes is where the risk goes
If you type sensitive data into a browser UI that routes your prompt to a cloud endpoint, the data has left your control. It does not matter whether your keyboard is local or whether the UI is running on your own machine. The decisive factor is the destination.
Local model selected: prompt stays on your network.
Cloud or SaaS model selected: prompt leaves your network.
“Encrypted storage” is not the same as “provider can’t access it”
Cloud providers often advertise encryption at rest. That is good practice, but you should understand what it does and does not guarantee.
Provider-managed encryption at rest typically means the storage system encrypts blocks and manages keys. It protects against physical loss and low-level theft. It does not, by itself, cryptographically prevent the provider from accessing data under exceptional circumstances.
Full-disk encryption inside the VM (for example LUKS) gives you stronger control, but a cloud provider still owns the underlying hardware and hypervisor. In a strict threat model, the provider is part of the trust boundary.
The only way to make data truly “provider-proof” is to encrypt it end-to-end before it reaches the cloud and never place keys on the cloud machine. That’s possible for some workloads, but it is rarely practical for general LLM interaction.
Practical takeaway: cloud GPU can be quite safe for many tasks, but you should treat it as “more private than a hosted AI API” rather than “as private as a machine in your own building”.
Prompt history often lives in more places than you think
Even if you run a model locally, your chat interface may store history:
- Open WebUI stores chat history in its database by default
- your browser may cache content
- logs and traces can capture requests if misconfigured
If you care about confidentiality, you need a retention stance: either keep history for productivity, or keep it ephemeral and delete it routinely.
A simple “data classification” rule that actually works
Most businesses don’t need a complex policy; they need one that people will follow.
Use a three-tier rule:
Tier 1: Never leave local (sensitive)
Examples: customer lists, order data, financials and margins, supplier terms, licence key workflows, credentials, proprietary datasets, anything covered by GDPR/UK GDPR as personal data.
Tier 2: Cloud GPU allowed with controls (moderate)
Examples: internal code with secrets removed, anonymised snippets, architecture questions framed without proprietary details, synthetic examples derived from your reality but not containing the real data.
Tier 3: SaaS API acceptable (low risk)
Examples: general programming questions with dummy data, public documentation, general writing, brainstorming that does not include sensitive details.
If you publish one thing from this article internally, publish that list.
When local LLMs make sense (and when they don’t)
Local LLMs are most compelling when the value of privacy and control outweighs the need for the absolute best model on the market.
Local makes sense when:
- you need to use real business data in prompts
- you want predictable costs and no per-call billing
- you want stability and repeatability
- you want the ability to run AI even with no internet access
- you want to avoid vendor policies changing your workflow
Local is less suitable when:
- you need very large models (30B, 70B+) with strong reasoning
- you need very long contexts reliably
- you are doing heavy batch processing at speed
- you cannot justify the hardware cost
In practice, many teams get excellent results from local 7B–14B models for day-to-day tasks (especially coding), and use cloud bursts for “big thinking” runs.
When cloud GPUs are the right tool
Cloud GPUs shine when you want power without committing to the cost and complexity of maintaining high-VRAM hardware.
Cloud GPUs are a great fit for:
- testing larger models and comparing behaviour
- running heavy coding models or long context analysis
- occasional high-throughput workloads (summarisation jobs, batch transforms)
- exploratory projects where you don’t yet know what hardware you’ll need
Cloud GPUs are not ideal when:
- you need an always-on assistant with sensitive data
- you cannot operationalise access controls
- you are likely to leave instances running unintentionally
The best mindset is to treat cloud GPUs as ephemeral compute: spin up, do the heavy work, shut down, and keep only what you need in persistent storage.
Recommended cloud GPU providers for LLM work
There is no perfect provider; the right choice depends on whether you prioritise ease, price, or control. These three are worth considering first because they represent different trade-offs.
RunPod: best balance of flexibility and ecosystem
Why it’s worth considering:
- strong template ecosystem (LLM tooling, notebooks, APIs)
- competitive pricing and broad GPU selection
- good fit for LLM experimentation and “burst” workloads
- clear distinction between compute time and persistent storage
Best for:
- users who want flexibility without going fully DIY
- teams experimenting with models and building repeatable workflows
Watch-outs:
- the interface can feel complex if you expect a “product” rather than infrastructure
- you must be disciplined about stopping pods and securing endpoints
Vast.ai: often the cheapest, but more variable
Why it’s worth considering:
- marketplace pricing can be significantly cheaper
- good for longer runs if you find a solid host
- great for technically confident users comfortable with variance
Best for:
- cost-sensitive users who can tolerate a bit of operational friction
Watch-outs:
- host quality varies more than a managed provider
- you need stronger personal discipline around security and instance hygiene
Lambda (Lambda Labs): more predictable, more traditional
Why it’s worth considering:
- often a more conventional cloud experience
- tends to be stable and predictable for business use
- can be easier to justify internally than a marketplace model
Best for:
- teams who value predictability and support over absolute lowest price
Watch-outs:
- pricing is typically higher
- fewer “bargain” options compared with marketplaces
Provider selection rule of thumb:
- want the smoothest “builder” experience: start with RunPod
- want the cheapest compute and you’re comfortable with DIY: consider Vast
- want predictability and a more enterprise posture: consider Lambda
Provider comparison table (quick reference)
| Provider | Pricing advantage | Ease of use | Best for | Main caveat |
|---|---|---|---|---|
| RunPod | strong value | good | repeatable LLM experimentation | UX can be confusing; secure properly |
| Vast.ai | often cheapest | moderate | cost optimisation, longer runs | host variability; more DIY |
| Lambda | predictable | good | business-friendly workloads | usually higher cost |
A pragmatic hybrid approach (recommended for most businesses)
If you want a setup people will use consistently, the hybrid approach is usually the winner.
Default:
- local LLMs for day-to-day work and anything sensitive
Burst:
- cloud GPU for occasional heavy tasks, larger models, and long contexts
Optional:
- hosted AI APIs for general reasoning and drafting, but with strict rules about what is allowed
You can make this feel seamless by using a single UI (such as Open WebUI) connected to:
- your local runtime (Ollama)
- your cloud runtime (vLLM/TGI/Ollama on a GPU instance)
- and, if you choose, a hosted API provider
The key is to implement the data classification tiers so staff do not accidentally send Tier 1 data to cloud or SaaS models.
Cost considerations without the hype
The cost discussion is only useful if it avoids false comparisons.
Local costs:
- hardware (CAPEX)
- electricity
- your time maintaining it
- but then near-zero marginal cost per prompt
Cloud GPU costs:
- compute while running
- storage while stopped
- sometimes bandwidth egress
- but no upfront hardware commitment
Hosted AI costs:
- subscriptions or per-token billing
- potentially higher long-term cost if used heavily
- but minimal operational work
A realistic approach is to:
- run local for routine work
- use cloud bursts for experiments or heavy jobs
- only buy high-VRAM hardware once you have evidence you need it consistently
Common mistakes businesses make
These are the errors that most commonly create either security exposure or wasted spend.
Mistake 1: assuming encryption at rest means “nobody can access it”
Encryption is important, but cloud providers remain a trust boundary.
Mistake 2: exposing inference endpoints to the public internet
If you run a cloud GPU endpoint, secure it with a VPN (preferred) or strict allowlisting and authentication.
Mistake 3: mixing sensitive data into SaaS AI tools out of habit
If you want a policy that works, make local LLMs the default for real business data.
Mistake 4: leaving cloud instances running
Set reminders, use auto-shutdown, and treat cloud as ephemeral compute.
Mistake 5: storing long prompt histories with sensitive content
Either control retention or keep sensitive work in separate, routinely cleared sessions.
How to decide: a simple checklist
Use the following questions to choose a deployment strategy without overthinking it.
- Will we need to use real customer, financial, or proprietary data in prompts?
If yes, default to local LLMs. - Do we need larger models or longer contexts than our hardware supports?
If yes, use cloud GPU bursts for those tasks. - Are we willing to manage access controls and endpoint security?
If no, avoid self-managed cloud endpoints and consider local-first plus limited SaaS for low-risk tasks. - Is usage heavy enough that per-hour or per-token costs will accumulate?
If yes, local hardware becomes more attractive over time. - Do we need the absolute best reasoning model available, regardless of data exposure?
If yes, hosted AI APIs can be used, but only for Tier 3 prompts.
Closing perspective
There is no single best place to run an LLM. There is only a best place for each category of work. If you treat LLM deployment as a data decision first and a compute decision second, you will end up with a system that is both useful and defensible: private where it needs to be private, powerful when it needs to be powerful, and cost-effective because it is intentional rather than accidental.
Frequently Asked Questions
What is the difference between running an LLM locally and using a cloud GPU?
Running an LLM locally means the model runs on your own hardware (for example, a workstation or server on your home or office network). A cloud GPU setup means you rent GPU compute from a provider and run the model on that remote machine. Local deployments offer stronger practical privacy and predictable costs, while cloud GPUs offer burst performance for larger models without buying expensive hardware.
Does using Open WebUI mean my prompts stay private on my home network?
Not automatically. Open WebUI is a front end. If you select a local model runtime (such as Ollama on your own machine), prompts can stay on your network. If you connect Open WebUI to a cloud endpoint or a hosted AI API, your prompts are sent over the internet to that service.
Is Ollama the model, or is it something that runs models?
Ollama is a runtime and model manager. It downloads and runs different LLM models (the “weights”) on your machine and provides a local API for tools like Open WebUI to connect to. The model itself is separate and can be swapped depending on your needs.
Are cloud GPUs only billed when they are running?
Often, yes, but it depends on the provider and how the service is configured. Many platforms bill GPU compute while your instance is running, and bill storage separately (for example, a persistent volume) even when compute is stopped. Always confirm the provider’s pricing model and ensure your instances are truly stopped when not in use.
If my cloud storage is encrypted, can the provider still access my data?
Encryption helps, but it does not automatically make your data “provider-proof”. Most cloud encryption is designed to protect against physical theft and storage-level exposure. Because the provider hosts the infrastructure, they remain part of the trust boundary in a strict security model. For highly sensitive data, keep prompts and processing local, or ensure sensitive information is encrypted before it reaches the cloud.
What business data should never be sent to hosted AI APIs?
As a rule, do not send customer identifiers, personal data, financials, supplier terms, credentials, licence keys, proprietary datasets, or internal incident details to hosted AI chat services. For these, local LLMs are the safer default. If you must use cloud services, redact or anonymise content and use strong access controls.
Which is more secure for business use: a cloud GPU you manage, or a hosted AI service?
A self-managed cloud GPU can be more private than a hosted AI service because you control the runtime, storage, and access controls. However, it still introduces a provider trust boundary, and misconfiguration (such as exposing ports publicly) is a common risk. Hosted AI services are convenient, but prompts are shared with the vendor by design. The most secure approach for sensitive work is usually local-first, with cloud GPUs used for non-sensitive burst workloads.
Do I need a high-end GPU to run useful LLMs locally?
Not necessarily. Many practical models for general business use and coding can run well on consumer GPUs, especially when using quantised versions. The key constraint is GPU VRAM and system RAM. For larger models (for example, 30B–70B+) or heavy workloads, cloud GPUs can be a better fit than buying expensive hardware.
What is the simplest hybrid setup for most businesses?
A simple hybrid approach is: run local LLMs for sensitive day-to-day work, use cloud GPUs for larger models and occasional heavy tasks, and use hosted AI APIs only for low-risk prompts. You can connect these backends to a single interface (such as Open WebUI) so staff can switch models without changing tools, while still keeping clear rules about what data is allowed where.
How can I stop a cloud LLM endpoint being accessed by strangers?
The safest approach is to avoid public exposure entirely by using a private VPN (for example, a WireGuard or Tailscale network) so the endpoint is only reachable to authorised devices. If you must expose an endpoint publicly, use HTTPS, strong authentication, strict firewall rules, IP allowlisting where feasible, and minimal logging. Misconfigured public endpoints are one of the most common causes of unexpected bills and unauthorised use.
We may very rarely receive a small referral fee from links in our articles, however this never guides our editorial.

Gary Walsh is the Head of Tech Support at Software Supplies, with more than 20 years in the IT industry. Fully Microsoft-certified and experienced across the full business software stack — from Windows and Office to cloud infrastructure and device management — Gary delivers practical, no-nonsense advice that helps users and businesses get the most from their technology.