> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maxapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Zed editor

> Configure the Zed AI assistant with the MaxAPI OpenAI-compatible API.

[Zed](https://zed.dev/) supports custom language-model endpoints in `settings.json`.

```json theme={null}
{
  "language_models": {
    "openai": {
      "api_url": "https://api.maxapi.ai/v1",
      "api_key": "YOUR_API_KEY"
    }
  }
}
```

Open the Assistant panel and select `YOUR_MODEL_ID`.

<Warning>
  Store API keys only on trusted devices. Never commit a real key to Git or share it with others.
</Warning>
