GPT中文GPT中文论坛社区AI工具软件大全 GPT.CC Claude Fable 5 · GPT-5.6 直连,不用连国际网 去看看 →
AI工具软件大全

Ollamaollama/ollama

在自己电脑上本地跑各种开源大模型

★ 18.8 万 星 安装包累计下载 6808 万 次 Go 开源许可 MIT · 商用可以 最近更新 2026-11-22 官方仓库 → 官网 → 站内 Ollama 工具页 →
01

Ollama 是干什么的

Ollama 是一个让普通电脑也能跑大模型(也就是像 ChatGPT 那样的 AI 程序)的工具。一般用大模型都得连到别人服务器上,你的数据会传出去;Ollama 让模型直接装在你自己的电脑里运行,聊天内容不出本机,隐私更有保障。它还支持把模型放到云端用,本地、云端都能选。

装好之后,它会引导你选一个模型开始聊,或者把 Ollama 接到你已经在用的应用上,比如 Claude Code(一个写代码的 AI 工具)、OpenClaw、Codex、Copilot 这些。它还提供了接口(REST API,就是让别的程序调用它的通道),方便开发者把自己写的程序接进来。能用的模型包括 Kimi、GLM、MiniMax、DeepSeek、gpt-oss、Qwen、Gemma 等。

02

Ollama 主要功能

本地跑大模型在自己电脑上直接运行 Kimi、GLM、DeepSeek、Qwen、Gemma 等开源模型,数据不用往外传。
一条命令开聊装好后运行一条命令就能下载并和模型对话,不用自己折腾环境。
接进常用工具能连 Claude Code、Codex、Copilot CLI、OpenCode 等编程工具,也能接 OpenClaw 当个人助理。
提供接口给程序用自带 REST API(让别的程序通过网络调用模型的接口),还有 Python 和 JavaScript 的库。
多平台安装Windows、macOS、Linux 都能装,也提供 Docker 镜像和 pip、npm 等安装方式。
配套生态丰富社区做了大量聊天界面、编辑器插件、知识库和机器人工具,可以直接搭配使用。
03

Ollama 使用案例 — 能拿来做成什么

案例 1写代码时接编辑器

开发者用 Claude Code、Codex、Copilot CLI、OpenCode 等编程工具时,把它们接到 Ollama 上,用本地模型帮忙写代码。

案例 2当个人 AI 助理

用 OpenClaw 把 Ollama 变成个人助理,在 WhatsApp、Telegram、Slack、Discord 等聊天软件里使用。

案例 3本地聊天

普通用户在自己电脑上运行 Gemma 4 等模型,直接对话,不用把内容发到外面。

案例 4给应用加 AI 能力

开发者通过 REST API 或 Python、JavaScript 库,把本地模型接进自己的程序里。

案例来自项目官方说明里举的例子和演示,不是本站编的。

04

Ollama 怎么下载安装

用之前要准备:要有一台电脑(支持 macOS、Windows、Linux,也可用 Docker);本地跑大模型通常需要一定的内存和显卡,具体看选的模型;要用接口接程序得会一点编程

安装包直接下载 最新版 v0.40.17(2026-11-10 发布)

下载链接直接指向 GitHub 官方发布页的文件,不经过本站。国内下载 GitHub 文件可能偏慢。

也可以用命令装:

Mac / Linux 一键脚本
curl -fsSL https://ollama.com/install.sh | sh
Windows 一键脚本(PowerShell)
irm https://ollama.com/install.ps1 | iex
Python(pip)
pip install ollama
Node.js(npm)
npm i ollama

命令原样摘自项目官方说明,本站没有改动。

05

Ollama 适合谁用

在意隐私的人想本地玩 AI 的爱好者接模型写程序的开发者
06

Ollama 好在哪、用之前要注意什么

好在哪

  • 完全本地运行,隐私性好
  • 支持 Windows、macOS、Linux 多平台
  • 开源免费,MIT 许可
  • 社区工具多,容易搭配使用

要注意

  • 大模型对电脑配置有要求
  • 部分新模型只支持 Apple 芯片
  • 命令行操作对新手有一定门槛
07

Ollama 免费吗?能不能商用?

要钱吗开源免费
开源许可MIT
能不能商用可以

随便用、随便改,也能用在公司产品里,只要保留原作者的版权声明。

以上是对许可证的通俗解释,不是法律意见;正式商用以官方仓库的 LICENSE 文件为准。

08

Ollama 最近更新 — 版本动态

最新版 v0.40.17 改了啥
  • 新增 Inkling 2 Mini 模型,能处理文字和图片,但目前只支持 Apple 芯片。
  • Apple 芯片上可以同时处理多个请求了。
  • ollama launch claude 支持按需加载 MCP 工具,不再一次性全加载。
  • 修了若干问题,包括 Windows 核显加载模型失败、多行输入时按 Ctrl+C 会吞掉下一行等。
09

Ollama 大家常问

要花钱吗?

项目本身开源,采用 MIT 许可,可以免费使用。模型下载和运行都在自己电脑上,不涉及付费订阅。

对电脑配置有要求吗?

有。模型越大越吃内存和显卡,比如新出的 Inkling 2 Mini 在 Mac 上大约要 20GB 空间才跑得动。

Windows 能用吗?

能,提供 Windows 安装包。不过最新版本里的 Inkling 2 Mini 目前只支持 Apple 芯片,电脑版要等后续版本。

支持中文吗?

可以运行 Kimi、GLM、DeepSeek、Qwen 等模型,这些模型本身支持中文对话。

数据会传到外面吗?

本地运行模型时数据留在自己电脑上,说明里强调可以完全私密地使用。

10

Ollama 怎么样 — 大家怎么说

下面是海外开发者在 Hacker News(国外程序员常去的技术论坛)上讨论这个项目的真实评论,按讨论热度挑选,中文由 AI 翻译,点「看原文」可以对照英文。

L lolinder Hacker News
这里很多人都在抨击 Ollama,说它“只不过”是 llama.cpp 外面一层好看的包装,并没有做什么复杂的事情。好吧。我们就暂且这么认定。那么,那个不 shady、非营利的等价物在哪里?那个让任何想玩本地 LLM 却不需要了解太多内部细节的人都能轻松上手的 llama.cpp 好看前端在哪里?如果 Ollama 没做什么困难的事,那为什么 llama.cpp 不能一样好用?让本地 LLM 对大众触手可及,眼下是一项至关重要的工作——尽可能让“拥有自己的数据”这件事变得常态化很重要。尽管有种种缺点,Ollama 做到了这一点,而且比任何替代方案都做得好得多。也许在有人真正做出可行的替代品之前,先别急着抨击它“只不过”是个 wrapper。
看原文

So many here are trashing on Ollama, saying it's "just" nice porcelain around llama.cpp and it's not doing anything complicated. Okay. Let's stipulate that. So where's the non-sketchy, non-for-profit equivalent? Where's the nice frontend for llama.cpp that makes it trivial for anyone who wants to play around with local LLMs without having to know much about their internals? If Ollama isn't doing anything difficult, why isn't llama.cpp as easy to use? Making local LLMs accessible to the masses is an essential job right now—it's important to normalize owning your data as much as it can be normalized. For all of its faults, Ollama does that, and it does it far better than any alternative. Maybe wait to trash it for being "just" a wrapper until someone actually creates a viable alternative.

2025-01-31 · 46 条回复 · 出处 · 帖子:Llama.cpp supports Vulkan. why doesn't Ollama?
T thedatamonger Hacker News
这看起来非常棒。有人能告诉我为什么没什么人讨论这个吗?是不是有什么别的东西在易用性和获取大量 LLM 样本方面把它远远甩在后面?
看原文

this looks very awesome. can someone tell me why there is no chatter about this? is there something else out there that blows this out of the water in terms of ease of use and access to sample many LLM's ?

2024-04-28 · 32 条回复 · 出处 · 帖子:Ollama v0.1.33 with Llama 3, Phi 3, and Qwen 110B
T turnsout Hacker News
这听起来像在钓鱼,但这是个真诚的问题:为什么人们用 Ollama 而不是 llama.cpp?llama.cpp 加了一大堆功能,用起来和 Ollama 差不多友好,而且性能更高。Ollama 有什么我没看到的关键差异点吗?
看原文

This is going to sound like a troll, but it's an honest question: Why do people use Ollama over llama.cpp? llama.cpp has added a ton of features, is about as user-friendly as Ollama, and is higher-performance. Is there some key differentiator for Ollama that I'm missing?

2025-01-31 · 29 条回复 · 出处 · 帖子:Llama.cpp supports Vulkan. why doesn't Ollama?
T the_mitsuhiko Hacker News
Ollama 需要竞争。我不确定是什么在驱动维护它的人,但他们的一些行为暗示背后有不可告人的动机,并没有把用户的利益放在心上。不过这类项目需要大量时间和精力,而且不清楚这个项目能否被 fork 并继续存活下去。
看原文

Ollama needs competition. I’m not sure what drives the people that maintain it but some of their actions imply that there are ulterior motives at play that do not have the benefit of their users in mind. However such projects require a lot of time and effort and it’s not clear if this project can be forked and kept alive.

2025-01-31 · 23 条回复 · 出处 · 帖子:Llama.cpp supports Vulkan. why doesn't Ollama?
A a12k Hacker News
Ollama 够 shady,所以我在虚拟机里跑它。这有点奇怪,因为直接跑 Llama.cpp 大概花的力气更少,但虚拟机挺简单的,所以就走了那条路。当我看到人们提起这种 shady 感时,大多数时候创建者的回应相当于耸耸肩,在我看来这反而增加了 shady 感。
看原文

Ollama is sketchy enough that I run it in a VM. Which is odd because it would probably take less effort to just run Llama.cpp directly, but VMs are pretty easy so just went that route. When I see people bring up the sketchiness most of the time the creator responds with the equivalent of shrugs, which imo increases the sketchiness.

2025-01-31 · 23 条回复 · 出处 · 帖子:Llama.cpp supports Vulkan. why doesn't Ollama?
B buyucu Hacker News
llama.cpp 支持 vulkan 已经一年多了。而到现在已经超过六个月,一直有一个开放的 PR 要给 Ollama 添加 vulkan 后端支持。然而,Ollama 团队甚至看都没看它一眼,也没发表任何评论。Vulkan 后端对于在消费级硬件(尤其是集成 GPU)上运行 LLM 是生死攸关的。看到 Ollama 错过这个机会,真让人难过。
看原文

llama.cpp has supported vulkan for more than a year now. For more than 6 months now there has been an open PR to add vulkan backend support for Ollama. However, Ollama team has not even looked at it or commented on it. Vulkan backends are existential for running LLMs on consumer hardware (iGPUs especially). It's sad to see Ollama miss this opportunity.

2025-01-31 · 22 条回复 · 出处 · 帖子:Llama.cpp supports Vulkan. why doesn't Ollama?
不用注册 · 只需算术验证 · 审核后展示
11

Ollama 项目数据

18.8 万星标(收藏数)
+1,769近 16 天新增星标
1.9 万被复制改造(fork)
4,727待处理的问题和建议
6808 万安装包累计下载
2023-06-26项目建立
2026-11-22最近一次改代码

数据来自 GitHub,本站每周核对一次,最近核对于 2026-11-22。

12

和 Ollama 类似的项目和工具

介绍、功能、案例、优缺点和常见问题由 AI 根据项目官方说明改写成中文;星数、版本、安装包来自 GitHub;评论来自 Hacker News 原帖(附出处)和本站用户(审核后展示)。核对于 2026-11-22。功能和用法以 官方仓库 为准。
← 回 GitHub 热门 · 最新冒头 · 安装最多