Prerequisites
- Zed installed (see Zed documentation)
- BetterToken API Key (register here)
Setup
Go to settings
Click the three-dot menu (⋯) in the top-right corner of the panel and select Settings.
Add an LLM provider
Find the LLM Provider section, click + Add Provider, and select OpenAI from the dropdown.
Fill in the BetterToken config
Enter the following values:
| Field | Value |
|---|---|
| Provider Name | BetterToken (or any name you prefer) |
| API URL | https://www.bettertoken.com/v1 |
| API Key | your BetterToken API Key |
| Model Name | claude-sonnet-4-5 (or another supported model) |
Save the provider
Click Save Provider. The provider now appears in the LLM Provider list.Click BetterToken, re-enter your API Key, and press Enter to confirm.
Supported models
| Model | Description |
|---|---|
claude-sonnet-4-5 | Balanced — recommended |
claude-opus-4-5 | Most capable — complex tasks |
claude-haiku-4-5 | Fastest — simple completions |
gpt-4o | OpenAI flagship |
gpt-4o-mini | Lightweight, faster |