# Ollama

**Ollama** 是一款开源、MIT 许可的工具，以单个 Go 二进制文件的形式分发，只需一条命令和本地 REST API，即可在本地计算机上下载、运行和提供大语言模型服务。<sup>[1](https://docs.ollama.com/)</sup> 其公开目标是让开放模型可用于桌面应用、编程智能体和各类应用，而数据无需离开本机：公司表示，借助本地运行的开放模型，“你的数据永远不必离开你的机器。”<sup>[2](https://ollama.com/blog/all-aboard-open-models)</sup> 该项目使用由 [Georgi Gerganov](https://www.edgepedia.org/zh/georgi-gerganov) 创建的 llama.cpp 作为推理引擎。<sup>[3](https://github.com/ollama/ollama)</sup>

| 关键事实 | 详情 |
|---|---|
| 许可与仓库 | MIT 许可证；仓库创建于 2023-06-26；约 180,067 个星标、17,669 个复刻<sup>[3](https://github.com/ollama/ollama)</sup> |
| 架构 | 基于 Go 的服务，对 GGUF 模型使用 llama.cpp，在 Apple 芯片上对受支持模型使用 MLX；REST API 位于 11434 端口，并提供兼容 OpenAI 的 /v1 端点<sup>[3](https://github.com/ollama/ollama)</sup><sup> • </sup><sup>[1](https://docs.ollama.com/)</sup> |
| 融资 | 总计 8800 万美元，包括 2026 年 7 月由 Theory Ventures 领投的 6500 万美元 B 轮融资<sup>[4](https://techcrunch.com/2026/07/09/popular-open-source-ai-developer-tool-ollama-raises-65m-grows-to-nearly-9m-users/)</sup> |
| 采用情况 | 月活跃开发者超过 890 万；财富 500 强企业中 85% 在使用；公司仅有 14 名员工<sup>[4](https://techcrunch.com/2026/07/09/popular-open-source-ai-developer-tool-ollama-raises-65m-grows-to-nearly-9m-users/)</sup> |
| 模型库 | 整个模型库累计拉取量超过 10.4 亿次；模型包括 Llama、Gemma、Qwen、DeepSeek、gpt-oss，以及从 Hugging Face 导入的任意 GGUF<sup>[5](https://devtoolhub.com/ollama-model-library-by-the-numbers/)</sup><sup> • </sup><sup>[6](https://research.strata2signal.com/a-short-history-of-ollama/)</sup> |
| 并发限制 | 在重度多用户负载下，经过调优的实例总吞吐峰值接近 40 token/秒，而同硬件上 vLLM 约为 800 token/秒<sup>[7](https://aifoss.dev/blog/ollama-review-2026/)</sup> |
| 值得注意的漏洞 | CVE-2024-37032（恶意模型仓库）、CVE-2026-7482（内存泄漏）、CVE-2026-42248/42249（Windows 更新程序远程代码执行链）<sup>[6](https://research.strata2signal.com/a-short-history-of-ollama/)</sup><sup> • </sup><sup>[8](https://nvd.nist.gov/vuln/detail/CVE-2026-7482)</sup><sup> • </sup><sup>[9](https://cert.pl/en/posts/2026/04/CVE-2026-42248/)</sup> |

## 历史与发展

Ollama v0.0.1 于 2023-07-08 面向 macOS 发布，定位为“早期预览版”，可从其模型库拉取模型并用一条命令运行，同时为应用提供 REST API。<sup>[6](https://research.strata2signal.com/a-short-history-of-ollama/)</sup> 它用 Go 编写，构建在 llama.cpp 之上，由 Ollama Inc. 开发，创始人为 Jeffrey Morgan 和 Michael Chiang，两人此前均任职于 Docker，且都是 [Y Combinator](https://www.edgepedia.org/zh/y-combinator) 校友。<sup>[10](https://dreaming.press/posts/tool-highlight-ollama-run-open-models-yourself.html)</sup> 创始人兼 CEO Jeff Morgan 曾表示，2023 年的开放模型面向的是研究人员而非程序员，且很难跑起来，这正是该工具填补的空白。<sup>[4](https://techcrunch.com/2026/07/09/popular-open-source-ai-developer-tool-ollama-raises-65m-grows-to-nearly-9m-users/)</sup>

公司从 Benchmark 的 Peter Fenton、Theory Ventures 的 Tomasz Tunguz 和 8VC 的 Alex Kolicich 处筹集了 8800 万美元，天使投资人包括 [Solomon Hykes](https://www.edgepedia.org/zh/solomon-hykes)、Spencer Kimball、Quinn Slack 和 Y Combinator。<sup>[2](https://ollama.com/blog/all-aboard-open-models)</sup> 2026 年 7 月，Theory Ventures 领投了 6500 万美元的 B 轮融资，使总融资额达到 8800 万美元，自 1 月以来使用量翻了一番，每周新增安装量接近一百万次。<sup>[11](https://repositoryradar.dev/repo/ollama/ollama)</sup> 该项目由公司运营，没有基金会；其许可证文件写明为 [MIT 许可证](https://www.edgepedia.org/zh/mit-license)，版权归 Ollama 所有。<sup>[6](https://research.strata2signal.com/a-short-history-of-ollama/)</sup>

## 工作原理

Ollama 将 llama.cpp 封装在一个受 Docker 启发的用户友好界面中，增加了 pull/run 工作流、自动 GPU 检测、内存管理和 API 服务。<sup>[12](https://llmbook.icsgen-ai.org/part-12-llm-systems-at-scale/module-60-edge-on-device-llms/section-60.2.html)</sup> 更准确地说，它是一个基于 Go 的服务，捆绑了固定版本的 llama.cpp 构建，外加一个从模型仓库获取 GGUF 文件的模型拉取层；GGUF 模型的文本生成使用 llama.cpp，而在 Apple 芯片上受支持的模型可以使用 MLX。<sup>[13](https://zeroentropy.dev/concepts/gguf/)</sup> llama.cpp 是 Georgi Gerganov 于 2023 年创建的 C/C++ 推理库，用于在普通硬件上运行 Meta 的 LLaMA，GGUF（GGML Universal File）格式则由 llama.cpp 开发者于 2023 年 8 月推出，作为早期 GGML 格式的继任者。<sup>[14](https://bonndoc.ulb.uni-bonn.de/xmlui/bitstream/handle/20.500.11811/13751/2025_LLM_Hardware.pdf?isAllowed=y&sequence=3)</sup> llama.cpp 在 GGUF 中实现了大量仅权重量化格式，包括原始方案（Q4_0、Q4_1、Q5_0、Q5_1、Q8_0）以及 K-quant 系列（Q2_K、Q3_K*、Q4_K*、Q5_K*、Q6_K）。<sup>[15](https://arxiv.org/pdf/2601.14277)</sup>

**Modelfile。** Modelfile 将自定义模型配置打包为可复用单元，其指令包括 FROM（基础模型，必填）、PARAMETER（运行时设置，如温度和上下文长度）、TEMPLATE（提示词格式）、SYSTEM（系统提示词）和 ADAPTER（LoRA 适配器），通过 `ollama create -f Modelfile` 构建。<sup>[12](https://llmbook.icsgen-ai.org/part-12-llm-systems-at-scale/module-60-edge-on-device-llms/section-60.2.html)</sup><sup> • </sup><sup>[16](https://www.promptquorum.com/power-local-llm/ollama-review)</sup> 模型可以从另一个模型、一个 safetensors 目录或一个或多个 GGUF 文件创建，模型名称遵循 `model:tag` 格式，可选命名空间如 `example/model`；标签默认为 `latest`。<sup>[17](https://github.com/ollama/ollama/blob/main/docs/api.md)</sup>

**API。** 服务器在 http://localhost:11434 提供原生 REST API，端点包括 /api/generate、/api/chat、/api/embeddings、/api/pull 和 /api/create。它还在 /v1 下提供兼容 OpenAI 的接口，涵盖 /v1/chat/completions、/v1/completions、/v1/models 和 /v1/embeddings；因此，基于 OpenAI SDK 构建的程序只需更换基础 URL 即可指向 Ollama。<sup>[16](https://www.promptquorum.com/power-local-llm/ollama-review)</sup> OpenAI 兼容性是 [OpenAI API](https://www.edgepedia.org/zh/openai-api) 的一个子集，允许 OpenAI 客户端连接。<sup>[1](https://docs.ollama.com/)</sup> 该 API 没有严格的版本管理，但预期保持稳定和向后兼容，弃用信息会在发行说明中公布。<sup>[1](https://docs.ollama.com/)</sup>

## 模型与硬件要求

模型库收录了主要开放模型系列：仓库 README 宣传可一键设置 Kimi-K2.6、GLM-5.2、MiniMax、DeepSeek、gpt-oss、Qwen 和 Gemma 等模型。<sup>[3](https://github.com/ollama/ollama)</sup> 模型通过 `ollama pull` 拉取，或通过 `ollama run hf.co/{username}/{repository}` 运行 [Hugging Face Hub](https://www.edgepedia.org/zh/hugging-face-hub) 上的任意 GGUF；多个模型可按需加载和卸载，默认最多同时加载的模型数为 GPU 数量的 3 倍。<sup>[6](https://research.strata2signal.com/a-short-history-of-ollama/)</sup> 一项统计分析统计了模型库中的 239 个模型，累计拉取量超过 10.4 亿次，其中 llama3.1 以 1.192 亿次拉取领先，deepseek-r1 为 9240 万次；另一项比较认为精选模型库约有 150 个模型，外加导入的 GGUF，因此确切数量取决于模型库的统计方式。<sup>[5](https://devtoolhub.com/ollama-model-library-by-the-numbers/)</sup><sup> • </sup><sup>[18](https://codersera.com/blog/ollama-vs-lm-studio-vs-vllm-vs-llama-cpp-vs-mlx-2026/)</sup> 在 239 个模型的普查中，93 个模型（38.9%）带有工具能力标签，42 个（17.6%）带有思考或推理标签，38 个（15.9%）支持视觉，18 个（7.5%）为云托管。<sup>[5](https://devtoolhub.com/ollama-model-library-by-the-numbers/)</sup>

在 4 位级量化下，硬件需求随参数数量的增加而增长（Q4_K_M 或 Q5_K_M 是质量、速度和硬件成本之间常用推荐的平衡点，实际内存使用会因 [KV 缓存](https://www.edgepedia.org/zh/kv-cache)、上下文和缓冲区而超过文件大小）：<sup>[19](https://valebyte.com/en/blog/ollama-server-requirements-ram-vram-and-cpu-by-model-size/)</sup>

- **7B 模型**：CPU 推理需 16 GB 内存，GPU 推理需 8–12 GB 显存；CPU 上 8–20 token/秒，GPU 上 35–90 token/秒。<sup>[19](https://valebyte.com/en/blog/ollama-server-requirements-ram-vram-and-cpu-by-model-size/)</sup> 另一份指南报告，7B Q4 在 [Zen 4](https://www.edgepedia.org/zh/zen-4) 或 Apple 芯片 CPU 上为 6–15 token/秒，范围略低。<sup>[20](https://www.myaihardware.com/ollama-hardware-guide)</sup>
- **70B 模型**：高效推理需 64–96 GB 内存（CPU）或 48–80 GB 显存（GPU）；权重大约 40 GB，建议内存 48 GB，磁盘 140 GB。<sup>[19](https://valebyte.com/en/blog/ollama-server-requirements-ram-vram-and-cpu-by-model-size/)</sup><sup> • </sup><sup>[20](https://www.myaihardware.com/ollama-hardware-guide)</sup> 70B Q4 模型在 CPU 上运行速度为 1–3 token/秒。<sup>[20](https://www.myaihardware.com/ollama-hardware-guide)</sup>
- **小型模型**：3B 模型需 8 GB 内存（CPU）或 4 GB 显存（GPU）。<sup>[19](https://valebyte.com/en/blog/ollama-server-requirements-ram-vram-and-cpu-by-model-size/)</sup>

在单块 RTX 4090 上，Ollama 运行 Llama 3 8B Q4_K_M（批大小 1，上下文 512，输出 128）可达到 228 token/秒，使用 6.2 GB 显存；Mistral 7B Q4_K_M 在 4.1 GB 显存下达到 312 token/秒。<sup>[21](https://markaicode.com/benchmarks/ollama-offline-ai-benchmark/)</sup>

## 数据一览

自 2023 年发布以来采用率增长迅速：到 2026 年中期，仓库约有 176,000–180,000 个星标（仓库元数据显示 180,067；创始人在 B 轮公告时引用的是 176,000）和近 17,000 个复刻。<sup>[3](https://github.com/ollama/ollama)</sup><sup> • </sup><sup>[4](https://techcrunch.com/2026/07/09/popular-open-source-ai-developer-tool-ollama-raises-65m-grows-to-nearly-9m-users/)</sup> 公司报告月活跃开发者超过 890 万，财富 500 强企业中 85% 有使用，而员工仅有 14 人。<sup>[4](https://techcrunch.com/2026/07/09/popular-open-source-ai-developer-tool-ollama-raises-65m-grows-to-nearly-9m-users/)</sup> 每周安装量接近一百万次，仅 2026-10-11 发布的 v0.40.3 版本就记录了 639,000 次下载。<sup>[11](https://repositoryradar.dev/repo/ollama/ollama)</sup>

**负载下的吞吐量**是最能区分 Ollama 与 GPU 服务栈的数字。在并发负载下，基准测试显示 vLLM 达到约 793 token/秒，而 Ollama 最高约 41 token/秒，差距约 16–20 倍，原因在于 vLLM 的 [PagedAttention](https://www.edgepedia.org/zh/pagedattention) 和连续批处理，而 Ollama 支持连续批处理但缺少 PagedAttention。<sup>[18](https://codersera.com/blog/ollama-vs-lm-studio-vs-vllm-vs-llama-cpp-vs-mlx-2026/)</sup><sup> • </sup><sup>[22](https://convly.ai/ollama-vs-lm-studio-vs-vllm-vs-llama-cpp-2026/)</sup><sup> • </sup><sup>[31](https://github.com/ollama/ollama/blob/main/docs/faq.mdx)</sup> 对于单用户本地使用，这通常无关紧要；对于多用户服务，这正是从业者转向其他方案的原因。<sup>[22](https://convly.ai/ollama-vs-lm-studio-vs-vllm-vs-llama-cpp-2026/)</sup>

## 与其他方案的比较

Ollama 属于本地模型工具家族，该家族包括使用 llama.cpp 和 GGUF 的界面，如 [LM Studio](https://www.edgepedia.org/zh/lm-studio)、KoboldCPP、GPT4All 和 Jan。<sup>[13](https://zeroentropy.dev/concepts/gguf/)</sup> 在许可方面，Ollama 和 llama.cpp 是 MIT 许可的开源软件，而 LM Studio 为专有软件，但自 2025 年 7 月起免费，包括工作用途；默认端口分别为 11434、1234 和 8080。<sup>[23](https://decodethefuture.org/en/ollama-vs-lm-studio-vs-llama-cpp-2026/)</sup>

- **原生 llama.cpp** 更快：在 GPU 加速测试中，其 token 生成速度比 Ollama 快 8–15%，比 LM Studio 快 2–5%，不过 Ollama 的守护进程架构在重复查询时具有最快的热启动首 token 时间。<sup>[24](https://aibytes.blog/benchmarks/ollama-vs-lm-studio-vs-llamacpp-5-speed-tests-ranked)</sup> 另一项测量将 token 生成速度高出 15–25% 归因于直接使用 llama.cpp，原因是封装层开销。<sup>[7](https://aifoss.dev/blog/ollama-review-2026/)</sup>
- **vLLM** 是 GPU 上多用户生产服务的首选，在并发负载下吞吐量约为 Ollama 的 16–20 倍；Ollama 定位为单个开发者制作原型时最易上手的默认选择。<sup>[22](https://convly.ai/ollama-vs-lm-studio-vs-vllm-vs-llama-cpp-2026/)</sup>
- **格式限制**：基于 llama.cpp 的运行器使用 GGUF，而非 GPTQ、AWQ 或 exl2 量化模型，且 Ollama 默认采用顺序队列，可能使其不适合超过两三个并发用户的场景。<sup>[7](https://aifoss.dev/blog/ollama-review-2026/)</sup>
- **作为后端**：Ollama 常被用来驱动 AnythingLLM 和 [Open WebUI](https://www.edgepedia.org/zh/open-webui) 等界面，后者是一个自托管的类 ChatGPT 客户端，具有 RAG、语音和插件功能；直接竞争对手包括 LM Studio（GUI 优先）、llama.cpp 本身、vLLM（生产级多 GPU）、Jan 和 MLX。<sup>[25](https://siliconangle.com/2026/07/09/open-source-ai-developer-tool-ollama-raises-65m-grow-platform/)</sup>

## 安全与隐私

隐私理由在于本地推理：在用户自己的机器上运行开放模型意味着提示词和数据无需离开本机。<sup>[2](https://ollama.com/blog/all-aboard-open-models)</sup> 服务器默认绑定到 TCP 端口 11434 上的 127.0.0.1，但许多部署通过 OLLAMA_HOST=0.0.0.0:11434 覆盖此设置，且 /api/create 和 /api/push 端点在上游发行版中没有身份验证；已观察到大量暴露在公共互联网上的情况。<sup>[26](https://mondoo.com/blog/three-ollama-cves-bleeding-llama-and-windows-updater-flaws)</sup><sup> • </sup><sup>[8](https://nvd.nist.gov/vuln/detail/CVE-2026-7482)</sup> 安全公司 Wiz 在 2024-06-24 披露 CVE-2024-37032 时统计了超过 1,000 个暴露实例，该漏洞是模型下载中的一个缺陷，允许恶意模型仓库覆盖服务器上的文件；Ollama 在 2024-05-05 报告后几天内就在 v0.1.34 中发布了修复。<sup>[6](https://research.strata2signal.com/a-short-history-of-ollama/)</sup>

**CVE-2026-7482** 是 GGUF 模型加载器中的堆越界读取漏洞，影响 0.17.1 之前的版本，通过 /api/create 触发，使用一个声明的张量偏移和大小超过文件实际长度的 GGUF 文件。泄漏的内存可能包括环境变量、API 密钥、系统提示词和并发用户的对话数据，可通过 /api/push 外传到攻击者控制的模型仓库。<sup>[8](https://nvd.nist.gov/vuln/detail/CVE-2026-7482)</sup> 更早之前，Sonar 研究人员在 0.7.0 之前的版本中发现了一个远程代码执行漏洞，拥有 API 访问权限的攻击者可加载并运行恶意模型来利用；0.7.0 版本移除了易受攻击的代码。<sup>[27](https://www.sonarsource.com/blog/ollama-remote-code-execution-securing-the-code-that-runs-llms/)</sup>

**Windows 更新程序链**是近期最严重的案例。Striga 的研究人员披露了 CVE-2026-42248 和 CVE-2026-42249，影响 0.12.10 至 0.17.5 版本：Windows 更新验证例程无条件返回成功，在暂存或执行更新载荷之前不进行任何数字签名或信任验证，而通过攻击者控制的 HTTP 响应头传递给 filepath.Join 的路径遍历允许文件被写入更新暂存目录之外，包括 Windows 启动目录；将两者链接起来即可实现自动持久化代码执行。<sup>[9](https://cert.pl/en/posts/2026/04/CVE-2026-42248/)</sup> 在五周未得到维护者回应后，CERT Polska 接管了披露协调工作，并于 2026 年 4 月 29 日发布警告。<sup>[28](https://www.helpnetsecurity.com/2026/05/05/ollama-windows-vulnerabilities-cve-2026-42248-cve-2026-42249/)</sup> 截至 2026 年 5 月 7 日，修复尚未在带标签的发行版中发布（最新的带标签发行版 v0.23.2 早于该修复），因此从 0.12.10 到 v0.23.2 的每个 Windows 构建都应视为易受攻击；修复通过 WinVerifyTrustEx 添加 Authenticode 验证，要求签名者组织为“Ollama Inc.”。<sup>[26](https://mondoo.com/blog/three-ollama-cves-bleeding-llama-and-windows-updater-flaws)</sup> RedEye Security 报告称，这些漏洞使超过 300,000 台服务器面临内存泄漏和持久化代码执行的风险。<sup>[29](https://threat-intelligence.redeyesecurity.com/blog/ollama-memory-leak-code-execution-vulnerabilities-2026.html)</sup> 在防御方面，实用指南源于故障模式：除非确实需要远程访问，否则保持默认的 127.0.0.1 绑定；对任何暴露的实例前置身份验证；一旦修复版本发布，立即更新 Windows 安装。

## 近期发展

发布的时间线显示该工具从 macOS CLI 扩展为多平台产品：<sup>[6](https://research.strata2signal.com/a-short-history-of-ollama/)</sup>

- **2023 年**：v0.0.1（7 月，macOS）；v0.1.0（9 月）增加了 Linux 支持，并提供开箱即用的 NVIDIA 加速。
- **2024 年**：Windows 于 2024-02-15 预览；v0.4.0（2024-11-05）使用 Ollama 自己的 Go 运行器增加了 Llama 3.2 Vision。
- **2025 年**：v0.6.0（2025-03-11）引入了 [Gemma 3](https://www.edgepedia.org/zh/gemma-3) 所需的新引擎；v0.10.0（2025-07-30）发布了 macOS 和 Windows 桌面应用；v0.12.0（2025-09-18）预览了云模型，随后在 v0.12.2 中增加了网络搜索 API。
- **2026 年**：v0.19.0（2026-03-27）在 Apple 芯片上预览了 Apple 的 MLX 作为引擎，在运行 Qwen 3.5-35B-A3B 的 M5 Max 上将解码速度从 58 token/秒提升到 112 token/秒；v0.30.0（2026-06-01）将 GGUF 模型迁移到上游 llama.cpp 的 llama-server，并默认启用 Vulkan；自 v0.40.0 起，MLX 成为 Apple 芯片上受支持模型的默认引擎。<sup>[6](https://research.strata2signal.com/a-short-history-of-ollama/)</sup><sup> • </sup><sup>[18](https://codersera.com/blog/ollama-vs-lm-studio-vs-vllm-vs-llama-cpp-vs-mlx-2026/)</sup><sup> • </sup><sup>[23](https://decodethefuture.org/en/ollama-vs-lm-studio-vs-llama-cpp-2026/)</sup>

**商业化**随云服务一同到来。Ollama 的云服务通过从免费到每月 100 美元的订阅层级托管更大的模型，按 GPU 时间而非 token 限制计费，而同一个兼容 OpenAI 的 API 既可用于本地 7B 模型，也可通过更改一个字符串切换到 400B 云模型；云请求需要 API 密钥，而本地请求不需要。<sup>[4](https://techcrunch.com/2026/07/09/popular-open-source-ai-developer-tool-ollama-raises-65m-grows-to-nearly-9m-users/)</sup><sup> • </sup><sup>[25](https://siliconangle.com/2026/07/09/open-source-ai-developer-tool-ollama-raises-65m-grow-platform/)</sup><sup> • </sup><sup>[1](https://docs.ollama.com/)</sup> 该公司还开始将曾经免费的开源工具转变为分层商业产品，Pro 层级每月 20 美元，其上还有更昂贵的 Max 计划。<sup>[30](https://product.ferryman.app/en/articles/2026-06-24-ollama/)</sup> 在开发者方面，`ollama launch` 命令可配置外部编程工具，包括 Claude Code、Codex、VS Code、OpenCode 和 Droid，以使用本地运行的 Ollama 模型作为后端，API 还增加了一个 `think` 参数来控制模型的思考输出。<sup>[16](https://www.promptquorum.com/power-local-llm/ollama-review)</sup><sup> • </sup><sup>[17](https://github.com/ollama/ollama/blob/main/docs/api.md)</sup>

## References

1. [Ollama documentation](https://docs.ollama.com/)
2. [Ollama: all aboard open models](https://ollama.com/blog/all-aboard-open-models)
3. [ollama/ollama GitHub repository](https://github.com/ollama/ollama)
4. [Ollama raises $65M, grows to nearly 9M users, TechCrunch](https://techcrunch.com/2026/07/09/popular-open-source-ai-developer-tool-ollama-raises-65m-grows-to-nearly-9m-users/)
5. [Ollama Model Library, By the Numbers, DevToolHub](https://devtoolhub.com/ollama-model-library-by-the-numbers/)
6. [A short history of Ollama, Strata2Signal Research](https://research.strata2signal.com/a-short-history-of-ollama/)
7. [Ollama 2026 Review: The Default Local LLM Runner, aifoss.dev](https://aifoss.dev/blog/ollama-review-2026/)
8. [NVD – CVE-2026-7482](https://nvd.nist.gov/vuln/detail/CVE-2026-7482)
9. [Vulnerabilities in Ollama software, CERT Polska](https://cert.pl/en/posts/2026/04/CVE-2026-42248/)
10. [Tool Highlight: Ollama, dreaming.press](https://dreaming.press/posts/tool-highlight-ollama-run-open-models-yourself.html)
11. [Ollama – Repository Radar](https://repositoryradar.dev/repo/ollama/ollama)
12. [Section 60.2: The Edge Framework Landscape, Building Language AI](https://llmbook.icsgen-ai.org/part-12-llm-systems-at-scale/module-60-edge-on-device-llms/section-60.2.html)
13. [GGUF format and k-quants: local LLM inference, explained, ZeroEntropy](https://zeroentropy.dev/concepts/gguf/)
14. [Small and Fast LLMs on Commodity Hardware: Post-Training Quantization in llama.cpp, University of Bonn, 2025](https://bonndoc.ulb.uni-bonn.de/xmlui/bitstream/handle/20.500.11811/13751/2025_LLM_Hardware.pdf?isAllowed=y&sequence=3)
15. [Which Quantization Should I Use? A Unified Evaluation of llama.cpp Quantization on Llama-3.1-8B-Instruct, arXiv](https://arxiv.org/pdf/2601.14277)
16. [Ollama Review 2026: Local LLM CLI, API & Install Guide, Prompt Quorum](https://www.promptquorum.com/power-local-llm/ollama-review)
17. [docs/api.md — Ollama API reference](https://github.com/ollama/ollama/blob/main/docs/api.md)
18. [Ollama vs LM Studio vs vLLM vs llama.cpp vs MLX 2026, Codersera](https://codersera.com/blog/ollama-vs-lm-studio-vs-vllm-vs-llama-cpp-vs-mlx-2026/)
19. [Ollama Server Requirements: RAM, VRAM, and CPU by Model Size, Valebyte](https://valebyte.com/en/blog/ollama-server-requirements-ram-vram-and-cpu-by-model-size/)
20. [Ollama Hardware Requirements, 2026 Guide, MyAIHardware](https://www.myaihardware.com/ollama-hardware-guide)
21. [Ollama Benchmark: RTX 4090 Hits 228 Tokens/Sec, MarkAICode](https://markaicode.com/benchmarks/ollama-offline-ai-benchmark/)
22. [Ollama vs LM Studio vs vLLM vs llama.cpp: Which Should You Use in 2026?, Convly](https://convly.ai/ollama-vs-lm-studio-vs-vllm-vs-llama-cpp-2026/)
23. [Ollama vs LM Studio vs llama.cpp (2026): Which to Use, Decode the Future](https://decodethefuture.org/en/ollama-vs-lm-studio-vs-llama-cpp-2026/)
24. [Ollama vs LM Studio vs llama.cpp: 5 Speed Tests Ranked, AIBytes](https://aibytes.blog/benchmarks/ollama-vs-lm-studio-vs-llamacpp-5-speed-tests-ranked)
25. [Open-source AI developer tool Ollama raises $65M to grow its platform, SiliconANGLE](https://siliconangle.com/2026/07/09/open-source-ai-developer-tool-ollama-raises-65m-grow-platform/)
26. [Three Ollama CVEs in One Week, Mondoo](https://mondoo.com/blog/three-ollama-cves-bleeding-llama-and-windows-updater-flaws)
27. [Ollama Remote Code Execution, Sonar](https://www.sonarsource.com/blog/ollama-remote-code-execution-securing-the-code-that-runs-llms/)
28. [Unpatched flaws turn Ollama's auto-updater into a persistent RCE vector, Help Net Security](https://www.helpnetsecurity.com/2026/05/05/ollama-windows-vulnerabilities-cve-2026-42248-cve-2026-42249/)
29. [Critical Ollama Vulnerabilities Expose 300,000+ Servers, RedEye Security](https://threat-intelligence.redeyesecurity.com/blog/ollama-memory-leak-code-execution-vulnerabilities-2026.html)
30. [Ollama: Developer Tools commercialization case study, Ferryman](https://product.ferryman.app/en/articles/2026-06-24-ollama/)
31. [github.com](https://github.com/ollama/ollama/blob/main/docs/faq.mdx)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 11, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › AI companies, people, and products › AI products and assistants › AI agents and developer tools

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/ollama

English original: https://www.edgepedia.org/ollama
