Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

keeping old urls, updating model retirement page

Anna Rahn1f51984dc312
diff --git a/docs/README.md b/docs/README.md
index c2caa9e51..f11addb3f 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -2,29 +2,29 @@
### Getting started
-* [Quickstart](https://docs.ollama.com/guide/quickstart)
+* [Quickstart](https://docs.ollama.com/quickstart)
* [Ollama Cloud](https://docs.ollama.com/cloud)
* [Run Ollama locally](https://docs.ollama.com/local)
* [Examples](./examples.md)
### Local
-* [macOS](https://docs.ollama.com/local/macos)
-* [Linux](https://docs.ollama.com/local/linux)
-* [Windows](https://docs.ollama.com/local/windows)
-* [Docker](https://docs.ollama.com/local/docker)
-* [Importing models](https://docs.ollama.com/local/import)
+* [macOS](https://docs.ollama.com/macos)
+* [Linux](https://docs.ollama.com/linux)
+* [Windows](https://docs.ollama.com/windows)
+* [Docker](https://docs.ollama.com/docker)
+* [Importing models](https://docs.ollama.com/import)
### Reference
* [API Reference](https://docs.ollama.com/api)
-* [Modelfile Reference](https://docs.ollama.com/local/modelfile)
+* [Modelfile Reference](https://docs.ollama.com/modelfile)
* [OpenAI Compatibility](https://docs.ollama.com/api/openai-compatibility)
* [Anthropic Compatibility](./api/anthropic-compatibility.mdx)
### Resources
-* [Troubleshooting Guide](https://docs.ollama.com/local/troubleshooting)
-* [Local FAQ](https://docs.ollama.com/local/faq)
+* [Troubleshooting Guide](https://docs.ollama.com/troubleshooting)
+* [Local FAQ](https://docs.ollama.com/faq)
* [Cloud FAQ](https://docs.ollama.com/cloud/faq)
* [Development guide](./development.md)
diff --git a/docs/api.md b/docs/api.md
index 7617a1bfc..595f7857e 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -50,7 +50,7 @@ Generate a response for a given prompt with a provided model. This is a streamin
Advanced parameters (optional):
- `format`: the format to return a response in. Format can be `json` or a JSON schema
-- `options`: additional model parameters listed in the documentation for the [Modelfile](./local/modelfile.mdx#valid-parameters-and-values) such as `temperature`
+- `options`: additional model parameters listed in the documentation for the [Modelfile](./modelfile.mdx#valid-parameters-and-values) such as `temperature`
- `system`: system message to (overrides what is defined in the `Modelfile`)
- `template`: the prompt template to use (overrides what is defined in the `Modelfile`)
- `stream`: if `false` the response will be returned as a single response object, rather than a stream of objects
@@ -510,7 +510,7 @@ The `message` object has the following fields:
Advanced parameters (optional):
- `format`: the format to return a response in. Format can be `json` or a JSON schema.
-- `options`: additional model parameters listed in the documentation for the [Modelfile](./local/modelfile.mdx#valid-parameters-and-values) such as `temperature`
+- `options`: additional model parameters listed in the documentation for the [Modelfile](./modelfile.mdx#valid-parameters-and-values) such as `temperature`
- `stream`: if `false` the response will be returned as a single response object, rather than a stream of objects
- `keep_alive`: controls how long the model will stay loaded into memory following the request (default: `5m`)
@@ -1195,7 +1195,7 @@ If you are creating a model from a safetensors directory or from GGUF files, you
- `parser`: (optional) the name of the parser for the model
- `license`: (optional) a string or list of strings containing the license or licenses for the model
- `system`: (optional) a string containing the system prompt for the model
-- `parameters`: (optional) a dictionary of parameters for the model (see [Modelfile](./local/modelfile.mdx#valid-parameters-and-values) for a list of parameters)
+- `parameters`: (optional) a dictionary of parameters for the model (see [Modelfile](./modelfile.mdx#valid-parameters-and-values) for a list of parameters)
- `messages`: (optional) a list of message objects used to create a conversation
- `capabilities`: (optional) capabilities to add without removing inherited or inferred capabilities, such as `["decision"]` for compatible decision models
- `stream`: (optional) if `false` the response will be returned as a single response object, rather than a stream of objects
@@ -1679,7 +1679,7 @@ Generate embeddings from a model
Advanced parameters:
- `truncate`: truncates the end of each input to fit within context length. Returns error if `false` and context length is exceeded. Defaults to `true`
-- `options`: additional model parameters listed in the documentation for the [Modelfile](./local/modelfile.mdx#valid-parameters-and-values) such as `temperature`
+- `options`: additional model parameters listed in the documentation for the [Modelfile](./modelfile.mdx#valid-parameters-and-values) such as `temperature`
- `keep_alive`: controls how long the model will stay loaded into memory following the request (default: `5m`)
- `dimensions`: number of dimensions for the embedding
@@ -1820,7 +1820,7 @@ Generate embeddings from a model
Advanced parameters:
-- `options`: additional model parameters listed in the documentation for the [Modelfile](./local/modelfile.mdx#valid-parameters-and-values) such as `temperature`
+- `options`: additional model parameters listed in the documentation for the [Modelfile](./modelfile.mdx#valid-parameters-and-values) such as `temperature`
- `keep_alive`: controls how long the model will stay loaded into memory following the request (default: `5m`)
### Examples
diff --git a/docs/api/authentication.mdx b/docs/api/authentication.mdx
index 3c5769130..ad8417d4e 100644
--- a/docs/api/authentication.mdx
+++ b/docs/api/authentication.mdx
@@ -31,7 +31,7 @@ curl https://ollama.com/api/chat \
API keys do not expire. Revoke a key in [API keys settings](https://ollama.com/settings/keys).
-Keep keys outside browser code and source control. See the [API quickstart](/guide/quickstart#build-an-application) for shell setup and compatibility examples.
+Keep keys outside browser code and source control. See the [API quickstart](/quickstart#build-an-application) for shell setup and compatibility examples.
## Signing in
diff --git a/docs/api/introduction.mdx b/docs/api/introduction.mdx
index 9ab8ec7e8..80ba0b90a 100644
--- a/docs/api/introduction.mdx
+++ b/docs/api/introduction.mdx
@@ -29,7 +29,7 @@ The Anthropic client appends `/v1/messages` to its base URL.
Cloud requests need an API key. Local requests do not. To use cloud models through your local server, [sign in to Ollama](/api/authentication#signing-in).
-Creating or deleting models requires a local Ollama server. [System One](/guide/capabilities/decision) also requires a local server and is not yet available on Ollama Cloud. For supported API features, see [OpenAI compatibility](/api/openai-compatibility) and [Anthropic compatibility](/api/anthropic-compatibility).
+Creating or deleting models requires a local Ollama server. [System One](/capabilities/decision) also requires a local server and is not yet available on Ollama Cloud. For supported API features, see [OpenAI compatibility](/api/openai-compatibility) and [Anthropic compatibility](/api/anthropic-compatibility).
## Ollama API example
diff --git a/docs/guide/capabilities/decision.mdx b/docs/capabilities/decision.mdx
similarity index 97%
rename from docs/guide/capabilities/decision.mdx
rename to docs/capabilities/decision.mdx
index 5bb16b5c9..264092e9f 100644
--- a/docs/guide/capabilities/decision.mdx
+++ b/docs/capabilities/decision.mdx
@@ -13,7 +13,7 @@ See the [full list of decision models](https://ollama.com/search?c=decision).
## Setup
-Start [Ollama](/guide/quickstart) v0.35.0 or later, then download [Nimble](https://ollama.com/library/nimble):
+Start [Ollama](/quickstart) v0.35.0 or later, then download [Nimble](https://ollama.com/library/nimble):
```shell setup.sh
ollama pull nimble
diff --git a/docs/guide/capabilities/embeddings.mdx b/docs/capabilities/embeddings.mdx
similarity index 100%
rename from docs/guide/capabilities/embeddings.mdx
rename to docs/capabilities/embeddings.mdx
diff --git a/docs/guide/capabilities/streaming.mdx b/docs/capabilities/streaming.mdx
similarity index 100%
rename from docs/guide/capabilities/streaming.mdx
rename to docs/capabilities/streaming.mdx
diff --git a/docs/guide/capabilities/structured-outputs.mdx b/docs/capabilities/structured-outputs.mdx
similarity index 100%
rename from docs/guide/capabilities/structured-outputs.mdx
rename to docs/capabilities/structured-outputs.mdx
diff --git a/docs/guide/capabilities/thinking.mdx b/docs/capabilities/thinking.mdx
similarity index 100%
rename from docs/guide/capabilities/thinking.mdx
rename to docs/capabilities/thinking.mdx
diff --git a/docs/guide/capabilities/tool-calling.mdx b/docs/capabilities/tool-calling.mdx
similarity index 100%
rename from docs/guide/capabilities/tool-calling.mdx
rename to docs/capabilities/tool-calling.mdx
diff --git a/docs/guide/capabilities/vision.mdx b/docs/capabilities/vision.mdx
similarity index 100%
rename from docs/guide/capabilities/vision.mdx
rename to docs/capabilities/vision.mdx
diff --git a/docs/guide/capabilities/web-search.mdx b/docs/capabilities/web-search.mdx
similarity index 100%
rename from docs/guide/capabilities/web-search.mdx
rename to docs/capabilities/web-search.mdx
diff --git a/docs/local/cli.mdx b/docs/cli.mdx
similarity index 100%
rename from docs/local/cli.mdx
rename to docs/cli.mdx
diff --git a/docs/cloud/index.mdx b/docs/cloud.mdx
similarity index 93%
rename from docs/cloud/index.mdx
rename to docs/cloud.mdx
index 0748a1054..7f8d24e00 100644
--- a/docs/cloud/index.mdx
+++ b/docs/cloud.mdx
@@ -30,7 +30,7 @@ Follow the [Cloud API guide](/cloud/api) to call `https://ollama.com/api` direct
## Local only
-Use [Local](/local) when you want inference to run on your own hardware. Ollama can also run in [local-only mode](/local/faq#how-do-i-disable-ollama-cloud-features) with Cloud features disabled.
+Use [Local](/local) when you want inference to run on your own hardware. Ollama can also run in [local-only mode](/faq#how-do-i-disable-ollama-cloud-features) with Cloud features disabled.
## Retirements
diff --git a/docs/cloud/faq.mdx b/docs/cloud/faq.mdx
index 41025e415..e5b2a1a61 100644
--- a/docs/cloud/faq.mdx
+++ b/docs/cloud/faq.mdx
@@ -4,7 +4,7 @@ sidebarTitle: FAQ
description: Frequently asked questions about Ollama Cloud accounts, authentication, privacy, and requests.
---
-For questions about installation, hardware, and the local Ollama server, see the [Local FAQ](/local/faq).
+For questions about installation, hardware, and the local Ollama server, see the [Local FAQ](/faq).
## Does Ollama send my prompts and answers back to ollama.com?
@@ -12,7 +12,7 @@ Ollama runs locally. We don't see your prompts or data when you run local models
When you use Cloud models, Ollama processes your prompts and responses to provide the service but does not store or log that content and never trains on it. Ollama collects basic account information and limited usage metadata that does not include prompt or response content. Ollama does not sell your data, and you can delete your account at any time.
-To prevent a local Ollama installation from using Cloud models and web search, enable [local-only mode](/local/faq#how-do-i-disable-ollama-cloud-features).
+To prevent a local Ollama installation from using Cloud models and web search, enable [local-only mode](/faq#how-do-i-disable-ollama-cloud-features).
## How do I manage the maximum number of requests the Ollama server can queue?
@@ -24,7 +24,7 @@ Set `OLLAMA_MAX_QUEUE` before starting the local server to change the maximum nu
OLLAMA_MAX_QUEUE=1024 ollama serve
```
-See [How do I configure Ollama server?](/local/faq#how-do-i-configure-ollama-server) for operating-system-specific instructions for setting environment variables.
+See [How do I configure Ollama server?](/faq#how-do-i-configure-ollama-server) for operating-system-specific instructions for setting environment variables.
## What is the difference between an API key and my Ollama Public Key?
diff --git a/docs/cloud/model-lifecycle.mdx b/docs/cloud/model-lifecycle.mdx
index a54865a56..3170b847f 100644
--- a/docs/cloud/model-lifecycle.mdx
+++ b/docs/cloud/model-lifecycle.mdx
@@ -9,14 +9,26 @@ Impacted users are notified before a model is retired. Cloud model retirement do
## Upcoming retirements
-| Retirement date | Model | Recommended alternative |
-| --- | --- | --- |
-| July 31, 2026 | `minimax-m2.5` | `minimax-m2.7` |
-| July 31, 2026 | `kimi-k2.5` | `kimi-k2.6` |
+No Cloud model retirements are currently scheduled.
## Past retirements
<AccordionGroup>
+ <Accordion title="September 25, 2026">
+ | Model | Recommended alternative |
+ | --- | --- |
+ | `qwen3.5:397b` | `glm-5.3` |
+ | `glm-5.1` | `glm-5.2` |
+ | `deepseek-v4-flash:0731` | `deepseek-v4.1-flash` |
+ </Accordion>
+
+ <Accordion title="July 31, 2026">
+ | Model | Recommended alternative |
+ | --- | --- |
+ | `minimax-m2.5` | `minimax-m2.7` |
+ | `kimi-k2.5` | `kimi-k2.6` |
+ </Accordion>
+
<Accordion title="July 15, 2026">
| Model | Recommended alternative |
| --- | --- |
diff --git a/docs/local/context-length.mdx b/docs/context-length.mdx
similarity index 100%
rename from docs/local/context-length.mdx
rename to docs/context-length.mdx
diff --git a/docs/local/docker.mdx b/docs/docker.mdx
similarity index 100%
rename from docs/local/docker.mdx
rename to docs/docker.mdx
diff --git a/docs/docs.json b/docs/docs.json
index d2aac09fb..39e2217fa 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -70,7 +70,7 @@
},
{
"source": "/gpu.mdx",
- "destination": "/local/gpu"
+ "destination": "/gpu"
},
{
"source": "/integrations/vscode.mdx",
@@ -78,7 +78,7 @@
},
{
"source": "/troubleshooting.mdx",
- "destination": "/local/troubleshooting"
+ "destination": "/troubleshooting"
},
{
"source": "/openai",
@@ -109,40 +109,40 @@
"destination": "/integrations/pool"
},
{
- "source": "/quickstart",
- "destination": "/guide/quickstart"
+ "source": "/guide/quickstart",
+ "destination": "/quickstart"
},
{
- "source": "/capabilities/streaming",
- "destination": "/guide/capabilities/streaming"
+ "source": "/guide/capabilities/streaming",
+ "destination": "/capabilities/streaming"
},
{
- "source": "/capabilities/thinking",
- "destination": "/guide/capabilities/thinking"
+ "source": "/guide/capabilities/thinking",
+ "destination": "/capabilities/thinking"
},
{
- "source": "/capabilities/structured-outputs",
- "destination": "/guide/capabilities/structured-outputs"
+ "source": "/guide/capabilities/structured-outputs",
+ "destination": "/capabilities/structured-outputs"
},
{
- "source": "/capabilities/decision",
- "destination": "/guide/capabilities/decision"
+ "source": "/guide/capabilities/decision",
+ "destination": "/capabilities/decision"
},
{
- "source": "/capabilities/vision",
- "destination": "/guide/capabilities/vision"
+ "source": "/guide/capabilities/vision",
+ "destination": "/capabilities/vision"
},
{
- "source": "/capabilities/embeddings",
- "destination": "/guide/capabilities/embeddings"
+ "source": "/guide/capabilities/embeddings",
+ "destination": "/capabilities/embeddings"
},
{
- "source": "/capabilities/tool-calling",
- "destination": "/guide/capabilities/tool-calling"
+ "source": "/guide/capabilities/tool-calling",
+ "destination": "/capabilities/tool-calling"
},
{
- "source": "/capabilities/web-search",
- "destination": "/guide/capabilities/web-search"
+ "source": "/guide/capabilities/web-search",
+ "destination": "/capabilities/web-search"
},
{
"source": "/sample-projects/research-brief-agent",
@@ -153,52 +153,52 @@
"destination": "/guide/sample-projects/research-report-agent"
},
{
- "source": "/cli",
- "destination": "/local/cli"
+ "source": "/local/cli",
+ "destination": "/cli"
},
{
- "source": "/context-length",
- "destination": "/local/context-length"
+ "source": "/local/context-length",
+ "destination": "/context-length"
},
{
- "source": "/macos",
- "destination": "/local/macos"
+ "source": "/local/macos",
+ "destination": "/macos"
},
{
- "source": "/linux",
- "destination": "/local/linux"
+ "source": "/local/linux",
+ "destination": "/linux"
},
{
- "source": "/windows",
- "destination": "/local/windows"
+ "source": "/local/windows",
+ "destination": "/windows"
},
{
- "source": "/docker",
- "destination": "/local/docker"
+ "source": "/local/docker",
+ "destination": "/docker"
},
{
- "source": "/import",
- "destination": "/local/import"
+ "source": "/local/import",
+ "destination": "/import"
},
{
- "source": "/modelfile",
- "destination": "/local/modelfile"
+ "source": "/local/modelfile",
+ "destination": "/modelfile"
},
{
- "source": "/gpu",
- "destination": "/local/gpu"
+ "source": "/local/gpu",
+ "destination": "/gpu"
},
{
- "source": "/troubleshooting",
- "destination": "/local/troubleshooting"
+ "source": "/local/troubleshooting",
+ "destination": "/troubleshooting"
},
{
- "source": "/faq",
- "destination": "/local/faq"
+ "source": "/local/faq",
+ "destination": "/faq"
},
{
- "source": "/template",
- "destination": "/local/template"
+ "source": "/local/template",
+ "destination": "/template"
}
],
"navigation": {
@@ -210,20 +210,20 @@
"group": "Get started",
"pages": [
"index",
- "/guide/quickstart"
+ "quickstart"
]
},
{
"group": "Capabilities",
"pages": [
- "/guide/capabilities/streaming",
- "/guide/capabilities/thinking",
- "/guide/capabilities/structured-outputs",
- "/guide/capabilities/decision",
- "/guide/capabilities/vision",
- "/guide/capabilities/embeddings",
- "/guide/capabilities/tool-calling",
- "/guide/capabilities/web-search"
+ "/capabilities/streaming",
+ "/capabilities/thinking",
+ "/capabilities/structured-outputs",
+ "/capabilities/decision",
+ "/capabilities/vision",
+ "/capabilities/embeddings",
+ "/capabilities/tool-calling",
+ "/capabilities/web-search"
]
},
{
@@ -241,32 +241,32 @@
"group": "Get started",
"pages": [
"/local/index",
- "/local/macos",
- "/local/linux",
- "/local/windows",
- "/local/docker"
+ "/macos",
+ "/linux",
+ "/windows",
+ "/docker"
]
},
{
"group": "Run and configure",
"pages": [
- "/local/cli",
- "/local/context-length"
+ "/cli",
+ "/context-length"
]
},
{
"group": "Customize models",
"pages": [
- "/local/import",
- "/local/modelfile"
+ "/import",
+ "/modelfile"
]
},
{
"group": "Hardware and support",
"pages": [
- "/local/gpu",
- "/local/troubleshooting",
- "/local/faq"
+ "/gpu",
+ "/troubleshooting",
+ "/faq"
]
}
]
@@ -277,7 +277,7 @@
{
"group": "Get started",
"pages": [
- "/cloud/index",
+ "/cloud",
"/cloud/models",
"/cloud/api"
]
diff --git a/docs/local/faq.mdx b/docs/faq.mdx
similarity index 100%
rename from docs/local/faq.mdx
rename to docs/faq.mdx
diff --git a/docs/local/gpu.mdx b/docs/gpu.mdx
similarity index 100%
rename from docs/local/gpu.mdx
rename to docs/gpu.mdx
diff --git a/docs/guide/sample-projects/research-report-agent.mdx b/docs/guide/sample-projects/research-report-agent.mdx
index 7a796f0a8..c399b969c 100644
--- a/docs/guide/sample-projects/research-report-agent.mdx
+++ b/docs/guide/sample-projects/research-report-agent.mdx
@@ -33,7 +33,7 @@ You need:
- An [Ollama account](https://ollama.com)
- An [Ollama API key](https://ollama.com/settings/keys)
-Signing in to Ollama gives your local installation access to the Cloud model. The API key gives the script access to the [web search tools](/guide/capabilities/web-search). Treat the API key like a password and do not add it to source control.
+Signing in to Ollama gives your local installation access to the Cloud model. The API key gives the script access to the [web search tools](/capabilities/web-search). Treat the API key like a password and do not add it to source control.
## 1. Set up the project
@@ -395,4 +395,4 @@ Try these changes after the basic project works:
- Save the final string to a Markdown file for sharing.
- Add a human approval step before the agent fetches unfamiliar domains.
-See [Tool calling](/guide/capabilities/tool-calling) for more agent-loop patterns and [Web search](/guide/capabilities/web-search) for the complete search and fetch interfaces.
+See [Tool calling](/capabilities/tool-calling) for more agent-loop patterns and [Web search](/capabilities/web-search) for the complete search and fetch interfaces.
diff --git a/docs/local/import.mdx b/docs/import.mdx
similarity index 100%
rename from docs/local/import.mdx
rename to docs/import.mdx
diff --git a/docs/index.mdx b/docs/index.mdx
index 228472536..c631bcfe1 100644
--- a/docs/index.mdx
+++ b/docs/index.mdx
@@ -7,10 +7,10 @@ description: Learn what Ollama can do, choose cloud or local models, and find th
Use open models in your desktop apps and coding agents, or build them into your application.
<CardGroup cols={2}>
- <Card title="Use your apps" icon="desktop" href="/guide/quickstart#get-started">
+ <Card title="Use your apps" icon="desktop" href="/quickstart#get-started">
Connect Claude or ChatGPT on your desktop, or launch a coding agent from your terminal.
</Card>
- <Card title="Build an application" icon="code" href="/guide/quickstart#build-an-application">
+ <Card title="Build an application" icon="code" href="/quickstart#build-an-application">
Call cloud models with Ollama, OpenAI, or Anthropic APIs.
</Card>
</CardGroup>
@@ -33,7 +33,7 @@ Browse the [model library](https://ollama.com/search) for coding, vision, embedd
## What you can build
-Ollama supports [streaming](/guide/capabilities/streaming), [tool calling](/guide/capabilities/tool-calling), [structured outputs](/guide/capabilities/structured-outputs), [decision models](/guide/capabilities/decision), [vision](/guide/capabilities/vision), [embeddings](/guide/capabilities/embeddings), [thinking](/guide/capabilities/thinking), and [web search](/guide/capabilities/web-search).
+Ollama supports [streaming](/capabilities/streaming), [tool calling](/capabilities/tool-calling), [structured outputs](/capabilities/structured-outputs), [decision models](/capabilities/decision), [vision](/capabilities/vision), [embeddings](/capabilities/embeddings), [thinking](/capabilities/thinking), and [web search](/capabilities/web-search).
## Documentation
diff --git a/docs/integrations/claude-code.mdx b/docs/integrations/claude-code.mdx
index ebec14975..b27b8834f 100644
--- a/docs/integrations/claude-code.mdx
+++ b/docs/integrations/claude-code.mdx
@@ -107,7 +107,7 @@ Choose a model with enough context for your repository.
</Card>
</CardGroup>
-<Note>For larger repositories, set the [context length](/local/context-length) to 64k or higher.</Note>
+<Note>For larger repositories, set the [context length](/context-length) to 64k or higher.</Note>
## More features
@@ -125,7 +125,7 @@ The `--yes` flag skips selectors, pulls the model when needed, and requires `--m
Use Ollama's web search API from Claude Code.
-See [Web search](/guide/capabilities/web-search) for setup and usage.
+See [Web search](/capabilities/web-search) for setup and usage.
### Scheduled tasks with `/loop`
@@ -157,7 +157,7 @@ See the [plugin README](https://github.com/anthropics/claude-plugins-official/tr
## Connect directly to Ollama Cloud
-Install Claude Code, then set your [API key](/guide/quickstart#build-an-application) in `OLLAMA_API_KEY`. No Ollama installation required.
+Install Claude Code, then set your [API key](/quickstart#build-an-application) in `OLLAMA_API_KEY`. No Ollama installation required.
In Bash or Zsh, run:
diff --git a/docs/integrations/claude-desktop.mdx b/docs/integrations/claude-desktop.mdx
index 9c24e6911..258ad5f13 100644
--- a/docs/integrations/claude-desktop.mdx
+++ b/docs/integrations/claude-desktop.mdx
@@ -7,7 +7,7 @@ description: Use Ollama models in Claude on macOS.
## Prerequisites
- [Ollama](https://ollama.com/download/). Windows support coming soon.
-- To use a local model, [download it](/guide/quickstart#run-a-model-locally) before setup.
+- To use a local model, [download it](/quickstart#run-a-model-locally) before setup.
- To use a cloud model, sign in to Ollama and enable cloud models. Some models require a [paid plan](https://ollama.com/pricing).
If Claude is not installed, Ollama offers to download it during setup.
diff --git a/docs/integrations/cline.mdx b/docs/integrations/cline.mdx
index 3cd6663bb..075f0a1eb 100644
--- a/docs/integrations/cline.mdx
+++ b/docs/integrations/cline.mdx
@@ -13,7 +13,7 @@ Install [Cline](https://docs.cline.bot/getting-started/installing-cline) in your
2. Select a model under `Model` or type one (e.g. `qwen3`)
3. Update the context window to at least 32K tokens under `Context Window`
-<Note>Use a [context window](/local/context-length) of at least 32K tokens for coding.</Note>
+<Note>Use a [context window](/context-length) of at least 32K tokens for coding.</Note>
<div style={{ display: 'flex', justifyContent: 'center' }}>
<img
diff --git a/docs/integrations/copilot-cli.mdx b/docs/integrations/copilot-cli.mdx
index bd7a3c956..5262234ed 100644
--- a/docs/integrations/copilot-cli.mdx
+++ b/docs/integrations/copilot-cli.mdx
@@ -90,4 +90,4 @@ Or run with environment variables inline:
COPILOT_PROVIDER_BASE_URL=http://localhost:11434/v1 COPILOT_PROVIDER_API_KEY= COPILOT_PROVIDER_WIRE_API=responses COPILOT_MODEL=glm-5:cloud copilot
```
-**Note:** Copilot requires a large context window. We recommend at least 64k tokens. See the [context length documentation](/local/context-length) for how to adjust context length in Ollama.
+**Note:** Copilot requires a large context window. We recommend at least 64k tokens. See the [context length documentation](/context-length) for how to adjust context length in Ollama.
diff --git a/docs/integrations/droid.mdx b/docs/integrations/droid.mdx
index 0a94c9a16..249554510 100644
--- a/docs/integrations/droid.mdx
+++ b/docs/integrations/droid.mdx
@@ -11,7 +11,7 @@ Install the [Droid CLI](https://factory.ai/):
curl -fsSL https://app.factory.ai/cli | sh
```
-<Note>Droid requires a larger context window. It is recommended to use a context window of at least 64k tokens. See [Context length](/local/context-length) for more information.</Note>
+<Note>Droid requires a larger context window. It is recommended to use a context window of at least 64k tokens. See [Context length](/context-length) for more information.</Note>
## Usage with Ollama
diff --git a/docs/integrations/openclaw.mdx b/docs/integrations/openclaw.mdx
index bb891ea37..ff5f91e26 100644
--- a/docs/integrations/openclaw.mdx
+++ b/docs/integrations/openclaw.mdx
@@ -18,7 +18,7 @@ Ollama handles everything automatically:
4. **Onboarding** — Ollama configures the provider, installs the gateway daemon, sets your model as the primary, and enables OpenClaw's bundled Ollama web search
5. **Gateway** — Starts in the background and opens the OpenClaw TUI
-<Note>OpenClaw requires a larger context window. It is recommended to use a context window of at least 64k tokens if using local models. See [Context length](/local/context-length) for more information.</Note>
+<Note>OpenClaw requires a larger context window. It is recommended to use a context window of at least 64k tokens if using local models. See [Context length](/context-length) for more information.</Note>
<Note>Previously known as Clawdbot. `ollama launch clawdbot` still works as an alias.</Note>
diff --git a/docs/integrations/opencode.mdx b/docs/integrations/opencode.mdx
index 71dca27eb..12a9cb32e 100644
--- a/docs/integrations/opencode.mdx
+++ b/docs/integrations/opencode.mdx
@@ -82,7 +82,7 @@ Choose a model with enough context for your repository.
</Card>
</CardGroup>
-<Note>OpenCode requires a context length of 64k or higher. See [Context length](/local/context-length) for more information.</Note>
+<Note>OpenCode requires a context length of 64k or higher. See [Context length](/context-length) for more information.</Note>
## Manual setup
diff --git a/docs/integrations/roo-code.mdx b/docs/integrations/roo-code.mdx
index c4184d3fc..61c91a717 100644
--- a/docs/integrations/roo-code.mdx
+++ b/docs/integrations/roo-code.mdx
@@ -15,7 +15,7 @@ Install [Roo Code](https://marketplace.visualstudio.com/items?itemName=RooVeteri
4. Enter a valid `Model ID` (for example `qwen3` or `qwen3-coder:480b-cloud`)
5. Adjust the `Context Window` to at least 32K tokens for coding tasks
-<Note>Coding tools require a larger context window. It is recommended to use a context window of at least 32K tokens. See [Context length](/local/context-length) for more information.</Note>
+<Note>Coding tools require a larger context window. It is recommended to use a context window of at least 32K tokens. See [Context length](/context-length) for more information.</Note>
## Connecting to ollama.com
diff --git a/docs/integrations/vscode.mdx b/docs/integrations/vscode.mdx
index 488d20d66..7d4ef52cf 100644
--- a/docs/integrations/vscode.mdx
+++ b/docs/integrations/vscode.mdx
@@ -44,7 +44,7 @@ Local models do not require sign-in.
VS Code may show a model's maximum supported context length even when Ollama allocates a smaller context at runtime.
-For local models, open Ollama **Settings**, set the context length to at least 64k, reload the VS Code window, and resend your prompt. See [Context length](/local/context-length) for more information.
+For local models, open Ollama **Settings**, set the context length to at least 64k, reload the VS Code window, and resend your prompt. See [Context length](/context-length) for more information.
## Troubleshooting
diff --git a/docs/local/linux.mdx b/docs/linux.mdx
similarity index 100%
rename from docs/local/linux.mdx
rename to docs/linux.mdx
diff --git a/docs/local/index.mdx b/docs/local/index.mdx
index 7cb107482..dafc22b59 100644
--- a/docs/local/index.mdx
+++ b/docs/local/index.mdx
@@ -11,19 +11,19 @@ Run models on your own hardware with Ollama. Local inference keeps model executi
Choose the installation guide for your environment.
<CardGroup cols={2}>
- <Card title="macOS" icon="apple" href="/local/macos">
+ <Card title="macOS" icon="apple" href="/macos">
Install the Ollama app on Apple silicon or Intel hardware.
</Card>
- <Card title="Windows" icon="windows" href="/local/windows">
+ <Card title="Windows" icon="windows" href="/windows">
Install the native Windows application.
</Card>
- <Card title="Linux" icon="linux" href="/local/linux">
+ <Card title="Linux" icon="linux" href="/linux">
Install Ollama with the install script or a manual package.
</Card>
- <Card title="Docker" icon="docker" href="/local/docker">
+ <Card title="Docker" icon="docker" href="/docker">
Run Ollama in a container with CPU or GPU acceleration.
</Card>
</CardGroup>
@@ -48,10 +48,10 @@ curl http://localhost:11434/api/chat -d '{
## Configure your environment
-- Use the [CLI reference](/local/cli) to run, download, copy, and remove models.
-- Adjust the [context length](/local/context-length) for agents and other long-context workloads.
-- Review [hardware support](/local/gpu) for GPU compatibility and acceleration.
-- [Import a model](/local/import) or create a customized model with a [Modelfile](/local/modelfile).
-- Use [local-only mode](/local/faq#how-do-i-disable-ollama-cloud-features) to disable Ollama Cloud features.
+- Use the [CLI reference](/cli) to run, download, copy, and remove models.
+- Adjust the [context length](/context-length) for agents and other long-context workloads.
+- Review [hardware support](/gpu) for GPU compatibility and acceleration.
+- [Import a model](/import) or create a customized model with a [Modelfile](/modelfile).
+- Use [local-only mode](/faq#how-do-i-disable-ollama-cloud-features) to disable Ollama Cloud features.
-For failures, start with [Troubleshooting](/local/troubleshooting).
+For failures, start with [Troubleshooting](/troubleshooting).
diff --git a/docs/local/macos.mdx b/docs/macos.mdx
similarity index 100%
rename from docs/local/macos.mdx
rename to docs/macos.mdx
diff --git a/docs/local/modelfile.mdx b/docs/modelfile.mdx
similarity index 100%
rename from docs/local/modelfile.mdx
rename to docs/modelfile.mdx
diff --git a/docs/guide/quickstart.mdx b/docs/quickstart.mdx
similarity index 97%
rename from docs/guide/quickstart.mdx
rename to docs/quickstart.mdx
index dbd34c5ed..3297ce828 100644
--- a/docs/guide/quickstart.mdx
+++ b/docs/quickstart.mdx
@@ -299,4 +299,4 @@ Ollama downloads the model and starts a chat on your computer. Type `/bye` to le
## Next steps
-Add [tool calling](/guide/capabilities/tool-calling), [stream responses](/guide/capabilities/streaming), or browse [more models](https://ollama.com/search).
+Add [tool calling](/capabilities/tool-calling), [stream responses](/capabilities/streaming), or browse [more models](https://ollama.com/search).
diff --git a/docs/local/template.mdx b/docs/template.mdx
similarity index 100%
rename from docs/local/template.mdx
rename to docs/template.mdx
diff --git a/docs/local/troubleshooting.mdx b/docs/troubleshooting.mdx
similarity index 100%
rename from docs/local/troubleshooting.mdx
rename to docs/troubleshooting.mdx
diff --git a/docs/local/windows.mdx b/docs/windows.mdx
similarity index 100%
rename from docs/local/windows.mdx
rename to docs/windows.mdx