---
title: Configure AI in Zed - Providers, Models, and Settings
description: Set up AI in Zed with hosted models, your own API keys, or external agents. Includes how to disable AI entirely.
---

# Configuration

You can configure multiple dimensions of AI usage in Zed:

1. Which LLM providers you can use
   - Zed's hosted models, which require [authentication](../authentication.md) and [subscription](./subscription.md)
   - [Using your own API keys](./llm-providers.md), which do not require the above
   - Using [external agents like Claude Agent](./external-agents.md), which also do not require the above
2. [Model parameters and usage](./agent-settings.md#model-settings)
3. [Interactions with the Agent Panel](./agent-settings.md#agent-panel-settings)

## Turning AI Off Entirely

To disable all AI features, add the following to your settings file ([how to edit](../configuring-zed.md#settings-files)):

```json [settings]
{
  "disable_ai": true
}
```

See [this blog post](https://zed.dev/blog/disable-ai-features) for further context on this option.
