Zed is a modern GPU-accelerated code editor with first-class AI support through the Agent Panel. Add ClearMaas as a custom OpenAI-compatible provider to access 570+ models directly in your editor.Documentation Index
Fetch the complete documentation index at: https://docs.clearmaas.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Zed installed (zed.dev)
- A ClearMaas API key starting with
sk-
Setup via Agent Panel (UI)
The simplest setup path:- Open Zed settings:
Cmd+,(macOS) orCtrl+,(Linux/Windows) - Navigate to AI > Providers
- Find OpenAI API Compatible and expand it
- Enter your API key in the input field and press Enter
Setup via settings file
For programmatic or repeatable configuration, editsettings.json directly:
- Open the settings file:
Cmd+Shift+P�?”Open Settings File (JSON)” - Add the
language_modelssection:
agent: open settings), or set it as a header in settings:
Selecting a provider and model
After adding the provider:- Open the Agent Panel:
Cmd+Shift+A - Click the model selector dropdown
- Choose OpenAI API Compatible as the provider
- Select your desired model from the list
settings.json:
Available model options
Configure any ClearMaas model by adding it toavailable_models. Common options:
| Model ID | Display name | Max tokens |
|---|---|---|
anthropic/claude-sonnet-4.6 | Claude Sonnet 4.6 | 200K |
anthropic/claude-opus-4.8 | Claude Opus 4.8 | 200K |
anthropic/claude-haiku-4.5 | Claude Haiku 4.5 | 200K |
openai/gpt-4o-mini | GPT-4o Mini | 128K |
openai/gpt-4o | GPT-4o | 128K |
google/gemini-2.5-pro | Gemini 2.5 Pro | 1M |
deepseek/deepseek-chat | DeepSeek Chat | 64K |
grok/grok-4-fast-reasoning | Grok 4 Fast | 131K |
Verification
- Open the Agent Panel (
Cmd+Shift+A) - Select OpenAI API Compatible as provider
- Select a model (e.g.,
anthropic/claude-sonnet-4.6) - Ask a question �?verify the response comes through