Ollama Cloud: Local and Hybrid Cloud
Not enough local VRAM but want to use a huge model with hundreds of B parameters? Ollama Cloud offers a third option: the model runs on cloud GPUs, yet your code and toolchain feel no change at all.
This chapter introduces how Cloud models run, direct API access, pure-local mode, and the retirement mechanism, and finally gives selection strategies for hybrid use.
What is a Cloud model
A Cloud model is a new model form in Ollama: weights are stored in Ollama's cloud, inference is performed on official GPU clusters, and the local side only forwards requests.
The pain point it solves is very specific: flagship open-source models of hundreds of B often need hundreds of GB of VRAM, which individuals and small teams simply cannot deploy locally, yet the demand to use them is real.
Available Cloud models carry a cloud tag in the model library; taking the qwen3.5 family as an example, the flagship spec is qwen3.5:cloud.
Four ways to run Cloud models
First complete one-time preparation: register and log in to an Ollama account, then pull the cloud tag (it is just a "pointer" and does not download weights).
Log in with your Ollama account (required for cloud models):
ollama signin
Just enter your email in the login window that pops up in the browser (if phone verification is needed later, a domestic phone number works):

Pull the cloud tag, which completes almost instantly:
ollama pull qwen3.5:cloud
Run it; the experience is completely identical to a local model:
ollama run qwen3.5:cloud
In the UI you can see a cloud icon:

Python call
Example
from
ollama
import
chat
The only difference from a local model: the model name includes :cloud
stream
=
chat
(
model
=
'qwen3.5:cloud'
,
messages
=
[
{
'role'
:
'user'
,
'content'
:
'Introduce RUNOOB Runoob Tutorial in one sentence'
}
]
,
stream
=
True
,
)
for
chunk
in
stream:
(
chunk
.
message
.
content
,
end
=
''
,
flush
=
True
)
JavaScript call
Example
import
ollama from
'ollama'
const
response
=
await ollama.
chat
(
{
model
:
'qwen3.5:cloud'
,
messages
:
[
{
role
:
'user'
,
content
:
'Introduce RUNOOB Runoob Tutorial in one sentence'
}
]
,
stream
:
true
,
}
)
for
await
(
const
chunk of response
)
{
process.
stdout
.
write
(
chunk.
message
.
content
)
}
curl call
Example
curl http:
//
localhost:
11434
/
api
/
chat
-d
'{
"model": "qwen3.5:cloud",
"messages": [{ "role": "user", "content": "Introduce RUNOOB Runoob Tutorial in one sentence" }],
"stream": false
}'
Transparent forwarding: the local API can also call cloud models
The elegance of Cloud lies in the fact that forwarding logic is entirely handled by the local service.
When requesting a :cloud model from localhost:11434, the local service automatically handles authentication and forwarding to the cloud, leaving your application code, Agent tools, and editor integrations completely unaware.
This means existing integrations can immediately enjoy large-model capabilities: change the model name in Claude Code to qwen3.5:cloud, and the same toolchain switches to the flagship spec.
There is currently a known capability boundary: Cloud models do not yet support structured output (format parameter); tasks requiring JSON Schema constraints should still be assigned to local models or parsed at the application layer.
Direct connection to ollama.com/api
Besides forwarding through the local service, you can also skip the local side and call the cloud API directly, suitable for servers without Ollama installed.
First create an API Key on the official settings page, then carry it as a Bearer token:
Example
Cloud interface path structure is consistent with the local interface
curl https:
//
ollama.com
/
api
/
chat \
-H
"Authorization: Bearer $OLLAMA_API_KEY"
\
-d
'{
"model": "qwen3.5",
"messages": [{ "role": "user", "content": "Introduce RUNOOB Runoob Tutorial in one sentence" }],
"stream": false
}'
The cloud can also list available models
curl https:
//
ollama.com
/
api
/
tags
The official SDK also supports specifying host and authentication headers; see the Client(host=...) example in the programming integration chapter, and simply replace host with https://ollama.com.
API Keys currently do not expire but can be revoked at any time on the official settings page; they are equivalent to your cloud usage credentials, so do not commit them to a code repository.
Pure-local mode: completely turn off the cloud
Teams with zero tolerance for data leaving their domain can disable Ollama's cloud features entirely, making it pure local software.
Choose either of two ways to disable it; restart Ollama after changes to take effect:
Example
Method 1: write into the config file ~/.ollama/server.json:
{ "disable_ollama_cloud": true }
Method 2: environment variable
OLLAMA_NO_CLOUD
=
1
ollama serve
After taking effect, the log shows: Ollama cloud disabled: true
Disabling cloud features removes both cloud models and web search capability, while all local model functions are unaffected. Combined with a firewall blocking outbound traffic, a completely physically isolated model service can be built.
Cloud model retirement mechanism
Cloud models have a lifecycle: as stronger open-source models are released, the official side periodically retires old cloud models, notifying in advance via email and official announcements, along with recommended replacements.
Official announcements take the form of a "retirement date - model - recommended replacement" mapping table, e.g. which day a cloud model goes offline and which new version it migrates to; just change the model name accordingly.
Two engineering recommendations:
First, when referencing cloud models in automated workflows, make the model name a configuration item rather than hard-coding it, so that retirement switches only require changing the config.
Second, prepare local replacement models with equivalent capabilities for critical business, so you can immediately fall back when a cloud model retires or the network fails.
Retirement applies only to cloud models: model weights downloaded locally remain usable forever, which is why this tutorial always emphasizes the local main line.
Selection strategy: when to use which
| Scenario | Recommended solution | Reason |
|---|---|---|
| Daily tasks that fit in VRAM | Local models | Zero cost, zero latency, data never leaves the device |
| Privacy-sensitive data | Local models (or pure-local mode) | Compliant and controllable |
| Huge model requirements / no GPU device | Cloud models | No hardware investment, toolchain unchanged |
| Trying out new models | Try on Cloud first, confirm value before localizing | Avoid buying hardware for trials |
| Long-term automated workflows | Local primary + cloud backup | Cloud has a retirement mechanism, local has no such risk |
The best practice for hybrid architecture in one sentence: route daily traffic locally, use :cloud for heavy tasks as needed, and put all model names into the config file.