Skip to main content
  1. One API key — Use one Concentrate key instead of managing separate provider accounts in Zed.
  2. More model choice — Pick Claude, OpenAI, and other models from the Concentrate catalog in the agent panel.
  3. Prompt caching — Zed asks for prompt caching on every model, so most Claude chats are cached too.
  4. Spend controls — Manage usage with Concentrate keys and budgets.
  5. Usage analytics — Review requests, models, tokens, and costs in your dashboard.

Quick Start

The Concentrate CLI (cn, beta) sets up Zed in one command. Zed doesn’t need to be closed.
  • macOS or Linux, with Node.js 22.13 or newer
  • A Concentrate account with credits. You can sign in with cn login, or create an API key at concentrate.ai/api-keys.
  • Zed installed
1

Install the Concentrate CLI and sign in

Sign-in is rolling out gradually; if it isn’t available for you yet, cn asks you to paste a key instead. You can also run cn setup to paste a key.
2

Configure Zed

This adds a “Concentrate” provider to Zed’s settings.json with every Concentrate model that supports tool calls. Your other settings, providers, and comments are kept. If you haven’t picked a default agent model yet, Claude Sonnet under Concentrate becomes the default.
3

Provide your key (Linux only)

On macOS, cn saves your key in the keychain, where Zed looks for it, so you can skip this step.On Linux, set CONCENTRATE_API_KEY in the environment Zed starts from, or enter your key for the Concentrate provider in Zed’s agent settings.
4

Pick a model

Open Zed’s Agent panel and pick a model under Concentrate. Send a short prompt to confirm the connection.
Run cn refresh later to pick up new models. cn key updates the saved key.

Manual Setup

To configure Zed yourself, add a Concentrate provider to your Zed settings.json (~/.config/zed/settings.json):
Add more models from the models page using their ID as name. Then provide your key: set CONCENTRATE_API_KEY in the environment Zed starts from, or enter it for the Concentrate provider in Zed’s agent settings.

Remove Concentrate AI

If you used cn configure zed, run:
This removes the Concentrate provider, the keychain entry cn created, and the default model if cn set it. A default model you picked yourself is left alone. cn logout does the same along with removing your saved key. If you set Zed up by hand, remove the Concentrate entry from settings.json.

Troubleshooting

Run cn configure zed again, or cn refresh if you configured it before. Zed reloads its settings on its own.
On macOS, run cn key to save the key again. On Linux, confirm CONCENTRATE_API_KEY is set for Zed or re-enter the key in Zed’s agent settings. A 402 response means the account needs credits.
Run cn --version and cn doctor, then email the output to support@concentrate.ai.

Next Steps

Concentrate CLI

Every cn command and supported tool.

Available Models

Browse the model catalog.
Last modified on December 3, 2026