# Zed Zed IDE supports AI Bridge via its `language_models` configuration in `settings.json`. ## Configuration To configure Zed to use AI Bridge, you need to edit your `settings.json` file. You can access this by pressing `Cmd/Ctrl + ,` or opening the command palette and searching for "Open Settings". You can configure both Anthropic and OpenAI providers to point to AI Bridge. ```json { "language_models": { "anthropic": { "api_url": "https://coder.example.com/api/v2/aibridge/anthropic", }, "openai": { "api_url": "https://coder.example.com/api/v2/aibridge/openai/v1", }, }, // optional settings to set favorite models for the AI "agent": { "favorite_models": [ { "provider": "anthropic", "model": "claude-sonnet-4-5-thinking-latest" }, { "provider": "openai", "model": "gpt-5.2-codex" } ], }, } ``` *Replace `coder.example.com` with your Coder deployment URL.* > [!NOTE] > These settings and environment variables need to be configured from client side. Zed currently does not support reading these settings from remote configuration. See this [feature request](https://github.com/zed-industries/zed/discussions/47058) for more details. ## Authentication Zed requires an API key for these providers. For AI Bridge, this key is your **[Coder Session Token](../../../admin/users/sessions-tokens.md#generate-a-long-lived-api-token-on-behalf-of-yourself)**. You can set this in two ways: