Ollama 支持 Claude Desktop 接入本地模型
Claude Desktop support with Ollama
Ollama 宣布支持将 Claude Desktop 配置为通过 Ollama 第三方网关运行。用户在 Ollama 中打开 Claude 开关即可自动完成配置,可选择 Ollama 内本地或云端模型,关闭开关即恢复原有 Claude 设置。FAQ 说明默认禁用遥测,Ollama 对所有模型和服务执行零数据保留政策,且可继续切换使用 Anthropic 模型。
Ollama 官方说明接入 Claude Desktop 的开关式配置方式和数据保留政策,开发者可据此评估是否在本地与云模型间切换。
Developers can now easily configure Claude Desktop to seamlessly work with Ollama as a third-party gateway provider.
Use open models in Claude
Use cloud models for larger coding and research tasks
Run open models directly on your computer
Easily swap back to your existing Claude setup
Connect Claude to Ollama

Open Ollama and select Claude
Turn Claude on and Ollama will configure the third-party gateway for you
You are all set
While connected, you can choose to use any model within Ollama, both local and on Ollama’s cloud. Turn Claude off in Ollama to restore to your previous setup.

Get started
FAQ
Will my prompts or data be sent to Anthropic or Ollama?
No. Telemetry is disabled by default. Furthermore, Ollama has a strict Zero Data Retention policy across all of our models and services whether you access them through our cloud or on your local machine.
Can I continue to use Anthropic models?
Yes, you can switch between Anthropic models and Ollama by toggling the feature inside Ollama.
Can I use my local models with this integration?
Yes, go to the Settings page and configure a local model.
来源:Ollama:Blog · ollama.com