# LLM Providers

> Use this page to choose which models power the Zed Agent and other Zed-owned AI features, including Inline Assistant, Gi…

- 网址：https://funcoding.ai/agents/zed/ai/llm-providers/
- 来源：Zed 官方文档原文（英文），Apache-2.0 / GPL-3.0 许可，同步于 2026-10-11
- 官方原文：https://zed.dev/docs/ai/llm-providers

---
Use this page to choose which models power [the Zed Agent](https://funcoding.ai/agents/zed/ai/zed-agent/) and
other Zed-owned AI features, including [Inline Assistant](https://funcoding.ai/agents/zed/ai/inline-assistant/),
Git commit generation, thread summaries, and similar model-backed features.

Model access paths do not configure [External Agents](https://funcoding.ai/agents/zed/ai/external-agents/) or
[Terminal Threads](https://funcoding.ai/agents/zed/ai/terminal-threads/). External Agents and Terminal Threads
usually own their own model access, auth, and configuration.

## Choose a Model Access Path
| Model access path                                                 | Best when                                                             | Source of truth                       |
| ----------------------------------------------------------------- | --------------------------------------------------------------------- | ------------------------------------- |
| [Use Zed-Hosted Models](https://funcoding.ai/agents/zed/account/zed-hosted-models/)          | You want models billed through Zed                                    | Account & Billing > Zed-Hosted Models |
| [Use API Access](https://funcoding.ai/agents/zed/ai/use-api-access/)                             | You have provider API access, credits, or usage billing               | Use API Access                        |
| [Use an Existing Subscription](https://funcoding.ai/agents/zed/ai/use-an-existing-subscription/) | You already pay for ChatGPT, Claude, Copilot, or another subscription | Use an Existing Subscription          |
| [Use a Gateway](https://funcoding.ai/agents/zed/ai/use-a-gateway/)                               | You route through OpenRouter, Bedrock, Vercel, or a similar platform  | Use a Gateway                         |
| [Use a Local Model](https://funcoding.ai/agents/zed/ai/use-a-local-model/)                       | You run models locally or self-hosted                                 | Use a Local Model                     |

Use the setup pages for provider-specific details. See [Agents](https://funcoding.ai/agents/zed/ai/agents/) for
the difference between the Zed Agent, External Agents, and Terminal Threads.

## Edit Prediction
[Edit Prediction](https://funcoding.ai/agents/zed/ai/edit-prediction/) has its own provider setup under `edit_predictions`. LLM providers on this page apply to model-backed Zed AI features such as Zed Agent, Inline Assistant, Git commit generation, and thread summaries.

## Anthropic-Compatible Providers
Anthropic-compatible provider setup has moved to [Use API Access](https://funcoding.ai/agents/zed/ai/use-api-access/#anthropic-compatible).

## OpenAI-Compatible Providers
OpenAI-compatible provider setup has moved to [Use API Access](https://funcoding.ai/agents/zed/ai/use-api-access/#openai-compatible).
