Zed settings.json → language_models
Native OpenAI-compatible supportZed with a custom OpenAI-compatible provider
Zed supports custom providers in its assistant settings. Add the endpoint and key, and the assistant panel runs on this catalog.
Base URL
https://uncensoredai.dev/v1
- 01
Add the provider to settings
Zed stores custom providers in settings.json. Add the endpoint and an env-based key reference.
settings.json{ "language_models": { "openai": { "api_url": "https://uncensoredai.dev/v1", "available_models": [ { "name": "deepseek-v4.1-flash", "max_tokens": 1000000 } ] } } } - 02
Provide the key
Zed reads the key from the environment so it is never written to settings.json.
macOS / Linuxexport OPENAI_API_KEY="sk-ua-XXXX-XXXX-XXXX-XXXX"Windows (PowerShell)$env:OPENAI_API_KEY = "sk-ua-XXXX-XXXX-XXXX-XXXX"
Commands and configuration below are shown exactly as the tool expects them, so they stay in English.
FAQ
Does inline assist use the custom provider?+
Yes, once the provider is set as the default model for the assistant panel.
Can I list several models?+
Yes. Add each catalog id to available_models; Zed shows them in the model picker.
