Thursday, 12 November 2026 | Updating Daily AI insight, written for builders

Ollama Cloud Explained: Cloud Models, Plans and Self-Hosting

Updated · Originally published
TL;DR

  • Ollama Cloud is Ollama’s own hosted service: cloud models run on Ollama’s servers, so nothing is downloaded to your machine. You use them from the Ollama app or CLI after signing in, or call https://ollama.com/api/chat with an API key.
  • Plans on ollama.com/pricing (checked 6 November 2026): pay as you go with no subscription, Pro at $20 a month with $60 of monthly usage credits, and Max at $100 a month with $300 of credits. Running models on your own hardware stays unlimited.
  • The other meaning is self-hosting: installing the open-source Ollama server on a rented GPU virtual machine (AWS, Google Cloud, Azure, RunPod) with the same CLI and API as at home.
  • When you self-host, every model in the Ollama library works on a cloud instance with enough VRAM; you pay hourly for GPU compute instead of buying hardware.
  • Break-even point varies by usage: the self-hosting vs API calculator shows when cloud GPUs beat local hardware purchases.
  • Privacy trade-off: with either option your prompts leave your machine. Ollama says it does not use cloud prompts and responses to train models, but only fully local inference keeps everything on your own hardware.

“Ollama Cloud” now means two different things. The first is Ollama’s own service: cloud models that run on Ollama’s servers, paid per token or through a monthly plan, which you reach from the Ollama app, the CLI or an API that uses the same /api/chat request format as local Ollama. The second is self-hosting: running the open-source Ollama server on a GPU instance you rent from AWS, Google Cloud, Azure or another provider, paid by the hour. This guide covers both, how their costs compare with local GPUs and hosted APIs, and what you trade away in privacy and control.

What Ollama Cloud Means

When people say “Ollama cloud,” they mean one of three things:

  1. Ollama’s own cloud models: a hosted service run by Ollama. The models run on Ollama’s infrastructure, which its pricing page says is primarily in the United States, and you pay per token or through a monthly plan. The next section covers it.
  2. Self-hosted Ollama on cloud VMs: You rent a GPU-equipped virtual machine from AWS EC2, Google Compute Engine, Azure, Lambda Labs, or RunPod, install Ollama yourself, and run models there. You manage the instance, but you’re not buying hardware.
  3. Managed Ollama services: Third-party platforms that pre-install Ollama, handle scaling, and bill you per request or per minute. These are less common and typically built on top of the self-hosted approach.

All three contrast with running Ollama locally on your own desktop or server. When you self-host, the Ollama binary, the model library, the CLI and the API stay identical and only the execution location changes; Ollama’s own cloud offers its own list of hosted models.

Ollama’s Official Cloud Models

Ollama’s cloud documentation describes cloud models as a way to run models on Ollama’s servers from your apps or your terminal, without downloading them first. There are two ways in:

  • From the Ollama app or CLI. Run ollama (or open the app), follow the setup prompts and sign in. Cloud models carry a cloud tag; the docs’ example is gemma4:cloud.
  • Directly over the API. Create a key at ollama.com/settings/keys, set it as OLLAMA_API_KEY, and send requests to https://ollama.com/api/chat with an Authorization: Bearer header. No local install is needed, the reply text is in message.content, and model names come from https://ollama.com/api/tags. Ollama says OpenAI- and Anthropic-compatible clients also work, with partial API coverage.
export OLLAMA_API_KEY="your_api_key"
curl https://ollama.com/api/chat -H "Authorization: Bearer $OLLAMA_API_KEY" -H "Content-Type: application/json" -d '{"model": "gemma4:31b", "messages": [{"role": "user", "content": "Hello"}], "stream": false}'

Plans listed on Ollama’s pricing page, checked on 6 November 2026 (US dollars):

Plan Price Included cloud usage Concurrent requests
Pay as you go $0, no subscription Pay per token with usage credits 3
Pro $20/month or $200/year $60 of usage credits a month 3
Max $100/month $300 of usage credits a month 10
Team (early access) $500/month $1,000 of usage credits a month, shared by the team 10
Enterprise Custom Volume pricing Not listed

Included usage resets every month and does not roll over. Requests above your concurrency limit wait in a queue of fixed size and are rejected once it is full, and running models on your own hardware stays unlimited. On privacy, Ollama’s docs say it processes cloud prompts and responses to answer your requests and does not use them to train models. If you only want local models, Ollama’s FAQ explains how to turn the cloud features off.

Self-Hosted Ollama on a Cloud VM vs Local Ollama

Dimension Local Ollama Cloud Ollama
Hardware cost Upfront GPU purchase Hourly rental; the rate depends on the GPU, region and tier (see the pricing section)
Inference speed Depends on your GPU; no network latency Depends on rented GPU; adds a network round trip to every request
Privacy Prompts never leave your machine Prompts and responses travel over the network; cloud provider sees traffic metadata
Scaling Fixed by your hardware Spin up larger or additional instances on demand
Maintenance You manage OS, drivers, Ollama updates You manage the VM (self-hosted) or the platform manages it (managed services)
Availability Tied to your machine’s uptime Always-on if you keep the instance running; you pay for idle time

The functional experience is identical. A script that calls curl http://localhost:11434/api/generate works unchanged if you swap localhost for your cloud instance’s IP address.

CLI and API Compatibility

Ollama’s CLI and REST API are transport-agnostic. To point the CLI at a cloud instance instead of a local server:

export OLLAMA_HOST=http://203.0.113.42:11434
ollama run llama3.1:8b

Replace 203.0.113.42 with your cloud VM’s public IP. The model downloads to the cloud instance, and inference runs there. Your terminal streams responses back over the network.

For API clients, change the base URL:

curl http://203.0.113.42:11434/api/generate -d '{
  "model": "llama3.1:8b",
  "prompt": "Explain neural networks in one sentence."
}'

All endpoints (/api/generate, /api/chat, /api/embeddings) behave identically. Client libraries (Python, JavaScript, Go) accept a custom host parameter:

import ollama
client = ollama.Client(host='http://203.0.113.42:11434')
response = client.chat(model='llama3.1:8b', messages=[...])

No code changes are required beyond the endpoint URL.

Which Models Are Available

When you self-host, every model in the Ollama library works on a cloud instance. The Ollama models list includes Llama 3.1, Mistral, Gemma 2, Qwen, Phi, DeepSeek, and dozens of others. Model availability is not restricted by where Ollama runs.

The constraint is GPU VRAM. A cloud instance with an NVIDIA L4 (24 GB VRAM) can run the same quantized models as a local RTX 4090. A smaller instance with 16 GB VRAM is limited to smaller models or heavier quantization, just like local hardware. Use the VRAM calculator to determine which instance type you need for a given model and quantization level.

Pricing: Cloud vs Local vs API Services

Cloud GPU prices change often and differ by region and by tier (on-demand, spot or community), so check the provider’s own pricing page before you budget. Two examples, checked on 6 November 2026:

  • RunPod: its pricing page lists an RTX 4090 (24 GB) pod at $0.89 an hour on Secure Cloud and $0.34 an hour on Community Cloud, and an A40 at $0.59 an hour on Secure Cloud.
  • AWS: a g5.xlarge instance has one NVIDIA A10G GPU with 24 GB of memory, enough for 7B and 8B models; the hourly rate for your region is on the EC2 on-demand pricing page.

Running an instance around the clock costs its hourly rate times about 730 hours a month, so the $0.89-an-hour RTX 4090 pod above comes to roughly $650 a month. At that level of use, buying a comparable card of your own can pay for itself within months. The self-hosting vs API calculator models this across different usage patterns.

The break-even point shifts based on utilization:

  • Heavy usage (8+ hours/day): Local hardware pays for itself in months.
  • Intermittent usage (a few hours/week): Cloud instances win; you only pay for active hours.
  • Burst workloads: Cloud lets you rent a high-end GPU for a short task without buying one.

Compare this to hosted API services like OpenAI, Anthropic, or Groq, which charge per token. Hosted APIs also serve small open models such as Llama 3.1 8B, and their per-token rates differ widely between providers. Whether that’s cheaper than cloud Ollama depends on your request volume and average response length. The API cost calculator breaks this down by model and monthly usage.

Privacy and Data Control

Running Ollama locally means your prompts, model outputs, and any documents you process never leave your machine. This is critical for regulated industries (healthcare, legal, finance) or proprietary data.

Running Ollama on a cloud VM introduces these risks:

  • Network transit: Prompts and responses travel between your client and the cloud instance, potentially over the public internet unless you use a VPN or private network.
  • Cloud provider access: AWS, Google, and Azure have technical access to your VM’s memory and disk. While they contractually commit not to inspect customer data, the possibility exists.
  • Logs and metadata: Cloud providers log network connections, API calls to their management APIs, and billing events. These logs reveal when you’re running inference and how much compute you’re using, even if they don’t see prompt content.
  • Data residency: Your VM runs in a specific AWS region or GCP zone. If your compliance framework restricts data location, you must choose a region accordingly.

If your threat model includes nation-state actors or cloud provider subpoenas, local inference is the only option. If you’re optimizing cost and convenience and your data is not sensitive, cloud hosting is viable.

When to Choose Cloud Over Local Hardware

Choose cloud Ollama when:

  • You need access to LLMs but don’t own a GPU and can’t justify the upfront cost of a capable GPU.
  • Your usage is intermittent—a few hours per week or month—and you’d rather pay for compute as you use it.
  • You need to scale up temporarily for a large batch job, then scale back down.
  • You’re prototyping and want to test different GPU types (16 GB, 24 GB, 40 GB) before committing to hardware.
  • You’re building a service that needs 24/7 uptime and redundancy, and managing your own server hardware isn’t feasible.

Choose local Ollama when:

  • You already own a GPU with 12+ GB VRAM, or you’re willing to buy one.
  • You run inference daily for multiple hours; the hardware pays for itself quickly.
  • Privacy is non-negotiable—your data cannot leave your premises.
  • You want zero per-request costs and predictable expenses.
  • You’re offline or on a network with restricted outbound access.

The self-hosting vs API calculator lets you input your expected monthly usage (hours of inference, number of requests, average tokens per request) and compare the cost of buying a GPU, renting a cloud instance, or using a hosted API service. Run it with your own numbers before you rent or buy.

Setting Up Ollama on a Cloud Instance

The process is the same across providers: launch a GPU instance, SSH in, install Ollama, and expose port 11434.

AWS EC2

  1. Launch a g5.xlarge or g5.2xlarge instance (Ubuntu 22.04 LTS, NVIDIA A10G GPU).
  2. SSH into the instance: ssh -i your-key.pem ubuntu@<instance-ip>
  3. Install Ollama: curl -fsSL https://ollama.com/install.sh | sh
  4. Start Ollama: ollama serve (or set it up as a systemd service).
  5. Pull a model: ollama pull llama3.1:8b
  6. Configure the security group to allow inbound TCP on port 11434 from your IP.

Google Cloud Platform

  1. Create a Compute Engine VM with a T4 or A100 GPU (select a GPU-enabled machine family).
  2. SSH via the GCP console or gcloud compute ssh.
  3. Install Ollama: curl -fsSL https://ollama.com/install.sh | sh
  4. Start Ollama: ollama serve
  5. Update firewall rules to allow TCP 11434 from your IP range.

Lambda Labs or RunPod

  1. Rent an instance with an RTX 4090 or A10.
  2. SSH in using the provided credentials.
  3. Install Ollama: curl -fsSL https://ollama.com/install.sh | sh
  4. Start Ollama and pull models as above.

For production use, run Ollama as a systemd service so it restarts on reboot, and use a reverse proxy (Nginx or Caddy) with TLS if you’re exposing it to the public internet.

Any Provider: The Official Docker Image

On any GPU host that runs Docker, Ollama’s Docker guide starts the server with one command, once the NVIDIA Container Toolkit is installed and Docker is configured to use the NVIDIA driver:

docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama

The named volume keeps downloaded models when the container is replaced. If you publish port 11434 beyond the host, put authentication in front of it, as described in the security question below.

Performance Considerations

Cloud instances add network latency. A cloud instance adds the round trip from your machine to the data center to every request, and that delay grows with distance, so choose a region close to you and your users. For interactive chat, this is perceptible but not disabling. For batch workloads, it’s negligible.

Token generation speed depends on the GPU, not the location. An A10G in AWS generates tokens at the same rate as an A10G on your desk. However, cloud instances may have noisy-neighbor effects: other VMs on the same physical host can degrade performance. Dedicated instances or bare-metal GPU rentals eliminate this but cost more.

Two settings matter more than the provider. The first is context length: Ollama’s FAQ gives the default context window as 4096 tokens and shows how to raise it for the whole server with OLLAMA_CONTEXT_LENGTH=8192 ollama serve, or per model with the num_ctx parameter (see the Modelfile reference). A larger window uses more VRAM. The second is where a model actually loaded, which ollama ps shows: per the same FAQ, the Processor column shows a split such as 48%/52% CPU/GPU when part of the model did not fit on the GPU, which slows generation sharply. Spot or preemptible instances cost less than on-demand ones but can be reclaimed at short notice, so keep them for batch jobs that can restart.

Frequently Asked Questions

Is there an official Ollama Cloud service?

Yes. Ollama runs its own cloud models, which you can use from the Ollama app or CLI after signing in, or through the API at https://ollama.com/api/chat with an API key. Its pricing page (checked 6 November 2026) offers pay-as-you-go use with no subscription, plus Pro ($20 a month) and Max ($100 a month) plans that include monthly usage credits. You can still self-host the open-source server on a rented GPU instead.

Can I use Ollama Cloud with the same models I run locally?

On a self-hosted cloud instance, yes: any model you pull with ollama pull locally works there. Ollama’s own cloud has a separate list of hosted models, published at https://ollama.com/api/tags. The only constraint is VRAM: ensure your cloud GPU has enough memory for the model and quantization level you want. Check VRAM requirements by model to match models to instance types.

How do I secure Ollama running on a cloud instance?

By default, Ollama listens on 127.0.0.1:11434, which is not accessible from outside the VM. To expose it, set OLLAMA_HOST=0.0.0.0:11434 before starting the server. Then restrict access via cloud firewall rules (AWS security groups, GCP firewall rules) to allow only your IP address or your VPN. For production, place Ollama behind a reverse proxy with TLS and authentication (HTTP basic auth, API keys, or OAuth). Never expose an unauthenticated Ollama server to the public internet—it allows anyone to run arbitrary models at your expense.

What’s cheaper: Ollama on a cloud GPU or using OpenAI’s API?

It depends on usage. A rented GPU costs the same per hour whether it is busy or idle, so its cost per million tokens is the hourly rate divided by the millions of tokens it actually generates in that hour. Kept busy with many requests, it can undercut per-token API prices for models of the same size; used lightly, each token costs far more than on an API that bills only for what you use. Hosted APIs also handle scaling, uptime, and model updates for you. Use the self-hosting vs API calculator to model your specific workload.

Does running Ollama in the cloud make my data less private?

Yes, compared to fully local inference. Your prompts and model outputs travel over the network and land on a VM that the cloud provider has root access to. If privacy is critical—handling HIPAA-protected health data, legal documents under attorney-client privilege, or proprietary code—run Ollama locally. If your data is not sensitive or you trust your cloud provider’s contractual commitments, cloud hosting is a reasonable trade-off for cost and convenience.

Can I run multiple models on one cloud instance?

Yes, as long as the instance has enough VRAM to hold the models in memory simultaneously. Ollama loads models on demand and keeps them in VRAM until memory pressure evicts them. A 24 GB instance can hold Llama 3.1 8B (roughly 8 GB for Q8 quantization) and Mistral 7B (similar size) at the same time. Switching between loaded models is instant; loading a new model from disk takes a few seconds.

Written by Mustafa Ihsan

Mustafa Ihsan is the founder and editor of Convly.ai. He built and maintains the site's live AI models database, its price-performance index, and its free calculators for VRAM requirements, API costs and self-hosting economics. He writes about model pricing, benchmark results and the hardware needed to run AI models locally, and consistently prefers measured numbers to vendor claims.

Scroll to Top