diff --git a/.SYNC_INFO.md b/.SYNC_INFO.md
index 8f35809..3bf64e0 100644
--- a/.SYNC_INFO.md
+++ b/.SYNC_INFO.md
@@ -4,8 +4,8 @@ This is a mirror of the Ollama repository.
**Synced from:** https://github.com/ollama/ollama.git
**Branch:** main
-**Commit:** 12e04379cd5a9a2f150104a02c5761213f4be777
-**Sync Date:** 2026-06-12
+**Commit:** 82f905cd9c06c6f0254d74c5326aa2a7f2f07e1f
+**Sync Date:** 2026-07-12
**Content:** Paths: docs
---
diff --git a/docs/api.md b/docs/api.md
index 2bcb68b..fbc2452 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -46,7 +46,7 @@ Generate a response for a given prompt with a provided model. This is a streamin
- `prompt`: the prompt to generate a response for
- `suffix`: the text after the model response
- `images`: (optional) a list of base64-encoded images (for multimodal models such as `llava`)
-- `think`: (for thinking models) should the model think before responding?
+- `think`: (for thinking models) should the model think before responding? Can be a boolean or a thinking level (`"low"`, `"medium"`, `"high"`, or `"max"`).
Advanced parameters (optional):
@@ -504,7 +504,7 @@ Generate the next message in a chat with a provided model. This is a streaming e
- `model`: (required) the [model name](#model-names)
- `messages`: the messages of the chat, this can be used to keep a chat memory
- `tools`: list of tools in JSON for the model to use if supported
-- `think`: (for thinking models) should the model think before responding?
+- `think`: (for thinking models) should the model think before responding? Can be a boolean or a thinking level (`"low"`, `"medium"`, `"high"`, or `"max"`).
The `message` object has the following fields:
diff --git a/docs/api/introduction.mdx b/docs/api/introduction.mdx
index 596a75d..b2a5fa1 100644
--- a/docs/api/introduction.mdx
+++ b/docs/api/introduction.mdx
@@ -2,11 +2,11 @@
title: Introduction
---
-Ollama's API allows you to run and interact with models programatically.
+Use Ollama's API to run and interact with models.
## Get started
-If you're just getting started, follow the [quickstart](/quickstart) documentation to get up and running with Ollama's API.
+Follow the [quickstart](/quickstart) to install Ollama and make your first request.
## Base URL
diff --git a/docs/api/openai-compatibility.mdx b/docs/api/openai-compatibility.mdx
index ddf93d2..a74a23f 100644
--- a/docs/api/openai-compatibility.mdx
+++ b/docs/api/openai-compatibility.mdx
@@ -208,9 +208,9 @@ curl -X POST http://localhost:11434/v1/chat/completions \
- [x] `top_p`
- [x] `max_tokens`
- [x] `tools`
-- [x] `reasoning_effort` (`"high"`, `"medium"`, `"low"`, `"none"`)
+- [x] `reasoning_effort` (`"high"`, `"medium"`, `"low"`, `"max"`, `"none"`)
- [x] `reasoning`
- - [x] `effort` (`"high"`, `"medium"`, `"low"`, `"none"`)
+ - [x] `effort` (`"high"`, `"medium"`, `"low"`, `"max"`, `"none"`)
- [ ] `tool_choice`
- [ ] `logit_bias`
- [ ] `user`
diff --git a/docs/capabilities/thinking.mdx b/docs/capabilities/thinking.mdx
index 388e985..4e58c1d 100644
--- a/docs/capabilities/thinking.mdx
+++ b/docs/capabilities/thinking.mdx
@@ -16,9 +16,9 @@ Use this capability to audit model steps, animate the model *thinking* in a UI,
## Enable thinking in API calls
-Set the `think` field on chat or generate requests. Most models accept booleans (`true`/`false`).
+Set the `think` field on chat or generate requests. Most models accept booleans (`true`/`false`) or levels (`low`, `medium`, `high`, `max`), where `max` requests the highest thinking level.
-GPT-OSS instead expects one of `low`, `medium`, or `high` to tune the trace length.
+GPT-OSS instead expects one of `low`, `medium`, or `high` to tune the trace length.
The `message.thinking` (chat endpoint) or `thinking` (generate endpoint) field contains the reasoning trace while `message.content` / `response` holds the final answer.
diff --git a/docs/cloud.mdx b/docs/cloud.mdx
index b994e96..cf5ee7d 100644
--- a/docs/cloud.mdx
+++ b/docs/cloud.mdx
@@ -252,3 +252,20 @@ Ollama Cloud model retirement does not affect local models.
| June 16, 2026 | `qwen3-vl:235b` | `qwen3.5` |
| June 16, 2026 | `qwen3-vl:235b-instruct` | `qwen3.5` |
| June 16, 2026 | `cogito-2.1:671b` | `deepseek-v4-flash` |
+| June 30, 2026 | `rnj-1:8b` | |
+| July 15, 2026 | `deepseek-v3.1:671b` | `deepseek-v4-flash` |
+| July 15, 2026 | `deepseek-v3.2` | `deepseek-v4-flash` |
+| July 15, 2026 | `devstral-2:123b` | `mistral-large-3:675b` |
+| July 15, 2026 | `devstral-small-2:24b` | |
+| July 15, 2026 | `ministral-3:14b` | |
+| July 15, 2026 | `ministral-3:3b` | |
+| July 15, 2026 | `ministral-3:8b` | |
+| July 15, 2026 | `gemini-3-flash-preview` | `minimax-m3` |
+| July 15, 2026 | `gemma3:12b` | `gemma4:31b` |
+| July 15, 2026 | `gemma3:27b` | `gemma4:31b` |
+| July 15, 2026 | `gemma3:4b` | `gemma4:31b` |
+| July 15, 2026 | `glm-4.7` | `glm-5.2` |
+| July 15, 2026 | `glm-5` | `glm-5.2` |
+| July 15, 2026 | `minimax-m2.1` | `minimax-m3` |
+| July 15, 2026 | `qwen3-coder-next` | `qwen3.5:397b` |
+| July 15, 2026 | `qwen3-coder:480b` | `qwen3.5:397b` |
diff --git a/docs/development.md b/docs/development.md
index ef28cee..dec7b55 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -51,10 +51,10 @@ cmake -B build . -DOLLAMA_LLAMA_BACKENDS=cuda_v13 -DCMAKE_CUDA_ARCHITECTURES=nat
cmake -B build . -DOLLAMA_LLAMA_BACKENDS=rocm_v7_2 -DCMAKE_HIP_ARCHITECTURES=gfx1100
```
-You can tune GGML build options by setting `GGML_*` values during configure. For example, to build CUDA v12 for Pascal without flash attention kernels:
+You can tune GGML build options by setting `GGML_*` values during configure. For example, to disable CUDA flash attention kernels for local debugging:
```shell
-cmake -B build . -DOLLAMA_LLAMA_BACKENDS=cuda_v12 -DCMAKE_CUDA_ARCHITECTURES=61 -DGGML_CUDA_FA=OFF
+cmake -B build . -DOLLAMA_LLAMA_BACKENDS=cuda_v12 -DGGML_CUDA_FA=OFF
```
## macOS (Apple Silicon)
diff --git a/docs/docs.json b/docs/docs.json
index e98145e..4ea6c1c 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -84,7 +84,7 @@
"navigation": {
"tabs": [
{
- "tab": "Documentation",
+ "tab": "Guide",
"groups": [
{
"group": "Get started",
@@ -106,78 +106,10 @@
"/capabilities/web-search"
]
},
- {
- "group": "Integrations",
- "pages": [
- "/integrations/index",
- {
- "group": "Assistants",
- "expanded": true,
- "pages": [
- "/integrations/openclaw",
- "/integrations/hermes",
- "/integrations/hermes-desktop"
- ]
- },
- {
- "group": "Coding",
- "expanded": true,
- "pages": [
- "/integrations/claude-code",
- "/integrations/codex-app",
- "/integrations/codex",
- "/integrations/copilot-cli",
- "/integrations/cline-cli",
- "/integrations/opencode",
- "/integrations/droid",
- "/integrations/goose",
- "/integrations/oh-my-pi",
- "/integrations/pi",
- "/integrations/pool"
- ]
- },
- {
- "group": "IDEs & Editors",
- "expanded": true,
- "pages": [
- "/integrations/cline",
- "/integrations/jetbrains",
- "/integrations/roo-code",
- "/integrations/vscode",
- "/integrations/xcode",
- "/integrations/zed"
- ]
- },
- {
- "group": "Chat & RAG",
- "pages": [
- "/integrations/onyx"
- ]
- },
- {
- "group": "Automation",
- "pages": [
- "/integrations/n8n"
- ]
- },
- {
- "group": "Notebooks",
- "pages": [
- "/integrations/marimo"
- ]
- }
- ]
- },
{
"group": "More information",
"pages": [
"/cli",
- {
- "group": "Assistant Sandboxing",
- "pages": [
- "/integrations/nemoclaw"
- ]
- },
"/modelfile",
"/context-length",
"/linux",
@@ -192,6 +124,79 @@
}
]
},
+ {
+ "tab": "Integrations",
+ "groups": [
+ {
+ "group": "Integrations",
+ "pages": [
+ "/integrations/index"
+ ]
+ },
+ {
+ "group": "Assistants",
+ "expanded": true,
+ "pages": [
+ "/integrations/openclaw",
+ "/integrations/hermes",
+ "/integrations/hermes-desktop"
+ ]
+ },
+ {
+ "group": "Coding",
+ "expanded": true,
+ "pages": [
+ "/integrations/claude-code",
+ "/integrations/opencode",
+ "/integrations/cline-cli",
+ "/integrations/codex-app",
+ "/integrations/codex",
+ "/integrations/copilot-cli",
+ "/integrations/droid",
+ "/integrations/goose",
+ "/integrations/oh-my-pi",
+ "/integrations/pi",
+ "/integrations/pool"
+ ]
+ },
+ {
+ "group": "IDEs & Editors",
+ "expanded": true,
+ "pages": [
+ "/integrations/vscode",
+ "/integrations/cline",
+ "/integrations/jetbrains",
+ "/integrations/roo-code",
+ "/integrations/xcode",
+ "/integrations/zed"
+ ]
+ },
+ {
+ "group": "Chat & RAG",
+ "pages": [
+ "/integrations/onyx"
+ ]
+ },
+ {
+ "group": "Automation",
+ "pages": [
+ "/integrations/n8n"
+ ]
+ },
+ {
+ "group": "Notebooks",
+ "pages": [
+ "/integrations/marimo"
+ ]
+ },
+ {
+ "group": "Assistant Sandboxing",
+ "pages": [
+ "/integrations/nemoclaw"
+ ]
+ }
+ ]
+ },
{
"tab": "API Reference",
"openapi": "/openapi.yaml",
diff --git a/docs/faq.mdx b/docs/faq.mdx
index 47f0652..7cedace 100644
--- a/docs/faq.mdx
+++ b/docs/faq.mdx
@@ -343,7 +343,7 @@ When loading a new model, Ollama evaluates the required VRAM for the model again
## How can I enable Flash Attention?
-Flash Attention is a feature of most modern models that can significantly reduce memory usage as the context size grows. To enable Flash Attention, set the `OLLAMA_FLASH_ATTENTION` environment variable to `1` when starting the Ollama server.
+Flash Attention is a feature of most modern models that can significantly reduce memory usage as the context size grows. Ollama uses Flash Attention automatically when the selected backend and devices support it. To force Flash Attention on, set `OLLAMA_FLASH_ATTENTION=1` when starting the Ollama server. To disable it, set `OLLAMA_FLASH_ATTENTION=0`.
## How can I set the quantization type for the K/V cache?
diff --git a/docs/gpu.mdx b/docs/gpu.mdx
index 1394fc7..32c5f68 100644
--- a/docs/gpu.mdx
+++ b/docs/gpu.mdx
@@ -3,7 +3,7 @@ title: Hardware support
---
## Nvidia
-Ollama supports Nvidia GPUs with compute capability 5.0+ and driver version 531 and newer.
+Ollama supports Nvidia GPUs with compute capability 5.0+ and driver version 550 and newer.
Nvidia GPUs with compute capability 5.0 through 6.2 require driver version 570 or newer.
Check your compute compatibility to see if your card is supported:
@@ -68,7 +68,7 @@ using the `amdgpu-install` utility from
| Family | Cards and accelerators |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| AMD Radeon RX | `9070 XT` `9070 GRE` `9070` `9060 XT` `9060 XT LP` `9060` `7900 XTX` `7900 XT` `7900 GRE` `7800 XT` `7700 XT` `7700` `7600 XT` `7600` `6950 XT` `6900 XTX` `6900XT` `6800 XT` `6800` `5700 XT` `5700` `5600 XT` `5500 XT` |
+| AMD Radeon RX | `9070 XT` `9070 GRE` `9070` `9060 XT` `9060 XT LP` `9060` `7900 XTX` `7900 XT` `7900 GRE` `7800 XT` `7700 XT` `7700` `7600 XT` `7600` `6950 XT` `6900 XTX` `6900XT` `6800 XT` `6800` |
| AMD Radeon AI PRO | `R9700` `R9600D` |
| AMD Radeon PRO | `W7900` `W7800` `W7700` `W7600` `W7500` `W6900X` `W6800X Duo` `W6800X` `W6800` `V620` |
| AMD Ryzen AI | `Ryzen AI Max+ 395` `Ryzen AI Max 390` `Ryzen AI Max 385` `Ryzen AI 9 HX 475` `Ryzen AI 9 HX 470` `Ryzen AI 9 465` `Ryzen AI 9 HX 375` `Ryzen AI 9 HX 370` `Ryzen AI 9 365` |
@@ -80,8 +80,8 @@ Ollama requires an AMD ROCm v7 / HIP7-capable driver stack on Windows.
| Family | Cards and accelerators |
| -------------- | -------------------------------------------------------------------------------------------------------------------- |
-| AMD Radeon RX | `7900 XTX` `7900 XT` `7900 GRE` `7800 XT` `7700 XT` `7600 XT` `7600` `6950 XT` `6900 XTX` `6900XT` `6800 XT` `6800` |
-| AMD Radeon PRO | `W7900` `W7800` `W7700` `W7600` `W7500` `W6900X` `W6800X Duo` `W6800X` `W6800` `V620` |
+| AMD Radeon RX | `7900 XTX` `7900 XT` `7900 GRE` `7800 XT` `7700 XT` `7600 XT` `7600` |
+| AMD Radeon PRO | `W7900` `W7800` `W7700` `W7600` `W7500` |
### Overrides on Linux
@@ -107,13 +107,10 @@ This table shows some example GPUs that map to these LLVM targets:
| gfx90a | Radeon Instinct MI210/MI250 |
| gfx942 | Radeon Instinct MI300X/MI300A |
| gfx950 | Radeon Instinct MI350X |
-| gfx1010 | Radeon RX 5700 XT |
-| gfx1012 | Radeon RX 5500 XT |
| gfx1030 | Radeon PRO V620 |
| gfx1100 | Radeon PRO W7900 |
| gfx1101 | Radeon PRO W7700 |
| gfx1102 | Radeon RX 7600 |
-| gfx1103 | Radeon 780M |
| gfx1150 | Ryzen AI 9 HX 375 |
| gfx1151 | Ryzen AI Max+ 395 |
| gfx1200 | Radeon RX 9070 |
diff --git a/docs/images/launch-icons/claude-code.svg b/docs/images/launch-icons/claude-code.svg
new file mode 100644
index 0000000..8c44152
--- /dev/null
+++ b/docs/images/launch-icons/claude-code.svg
@@ -0,0 +1 @@
+
diff --git a/docs/images/launch-icons/hermes-agent.svg b/docs/images/launch-icons/hermes-agent.svg
new file mode 100644
index 0000000..eb2e4d4
--- /dev/null
+++ b/docs/images/launch-icons/hermes-agent.svg
@@ -0,0 +1,181 @@
+
+
diff --git a/docs/images/launch-icons/openclaw.svg b/docs/images/launch-icons/openclaw.svg
new file mode 100644
index 0000000..db67b34
--- /dev/null
+++ b/docs/images/launch-icons/openclaw.svg
@@ -0,0 +1,242 @@
+
diff --git a/docs/images/launch-icons/opencode.svg b/docs/images/launch-icons/opencode.svg
new file mode 100644
index 0000000..f313052
--- /dev/null
+++ b/docs/images/launch-icons/opencode.svg
@@ -0,0 +1,7 @@
+
diff --git a/docs/images/launch-icons/vscode.svg b/docs/images/launch-icons/vscode.svg
new file mode 100644
index 0000000..6876e04
--- /dev/null
+++ b/docs/images/launch-icons/vscode.svg
@@ -0,0 +1 @@
+
+Start building with open models.
-[Ollama](https://ollama.com) is the easiest way to get up and running with large language models such as gpt-oss, Gemma 4, DeepSeek-R1, Qwen3 and more.
+Follow the [quickstart](/quickstart), then choose a model, integration, or API.
+
+## Models
+
+Run models locally or use larger models in Ollama's cloud.
1. Install Claude Code
2. Set the environment variables
```shell export ANTHROPIC_AUTH_TOKEN=ollama @@ -120,7 +179,7 @@ export ANTHROPIC_API_KEY="" export ANTHROPIC_BASE_URL=http://localhost:11434 ``` -2. Run Claude Code with an Ollama model: +3. Run Claude Code
```shell claude --model qwen3.5 @@ -129,8 +188,5 @@ claude --model qwen3.5 Or run with environment variables inline: ```shell -ANTHROPIC_AUTH_TOKEN=ollama ANTHROPIC_BASE_URL=http://localhost:11434 ANTHROPIC_API_KEY="" claude --model glm-5:cloud +ANTHROPIC_AUTH_TOKEN=ollama ANTHROPIC_BASE_URL=http://localhost:11434 ANTHROPIC_API_KEY="" claude --model kimi-k2.7-code:cloud ``` - -**Note:** Claude Code 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/hermes.mdx b/docs/integrations/hermes.mdx index fc0921f..99dda32 100644 --- a/docs/integrations/hermes.mdx +++ b/docs/integrations/hermes.mdx @@ -56,7 +56,7 @@ hermes setup If you'd rather drive Hermes's own wizard instead of `ollama launch hermes`, install it directly: ```bash -curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash +curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash ``` Hermes launches the setup wizard automatically. Choose **Quick setup**: diff --git a/docs/integrations/index.mdx b/docs/integrations/index.mdx index 32951d1..8cc5499 100644 --- a/docs/integrations/index.mdx +++ b/docs/integrations/index.mdx @@ -2,57 +2,43 @@ title: Overview --- -Ollama integrates with a wide range of tools. +Use Ollama from coding agents, personal assistants, and editors. -## Coding Agents +Run `ollama launch` to see the latest integrations you can run from the terminal. -Coding assistants that can read, modify, and execute code in your projects. +## Code in the terminal -- [Claude Code](/integrations/claude-code) -- [Codex App](/integrations/codex-app) -- [Codex CLI](/integrations/codex) -- [Copilot CLI](/integrations/copilot-cli) -- [Cline CLI](/integrations/cline-cli) -- [OpenCode](/integrations/opencode) -- [Droid](/integrations/droid) -- [Goose](/integrations/goose) -- [Oh My Pi](/integrations/oh-my-pi) -- [Pi](/integrations/pi) -- [Pool](/integrations/pool) -## Assistants +1. Install OpenCode
+ +2. Configure Ollama as a provider
+ +Add an Ollama provider to `opencode.json`: + +```json +{ + "$schema": "https://opencode.ai/config.json", + "provider": { + "ollama": { + "npm": "@ai-sdk/openai-compatible", + "name": "Ollama", + "options": { + "baseURL": "http://localhost:11434/v1" + }, + "models": { + "qwen3.5": { + "name": "qwen3.5" + } + } + } + } +} +``` + +3. Run OpenCode
+ +```shell +opencode +``` + +To configure OpenCode with Ollama without starting an interactive session: ```shell ollama launch opencode --config ``` -