Editors
Zed
Use Inferam in Zed's Agent Panel, and run Claude Code and Codex as Zed agents on Inferam.
Before you set up
Section titled “Before you set up”- Zed installed. No Zed account or subscription is needed for your own models.
- On Linux, a desktop keyring: GNOME Keyring or KWallet, which desktop Linux runs by default. Zed keeps its keys there.
- For Claude Code and Codex inside Zed, Node.js (
npx). You don’t need an Anthropic or OpenAI account. - The Inferam CLI. Setup signs you in if this computer isn’t signed in yet.
Set up
Section titled “Set up”inferam setup zedOpen Zed’s Agent Panel: DeepSeek-V4.1-Flash-1017 (Inferam) is selected. Claude Code (Inferam) and Codex (Inferam) are in the panel’s + menu, next to Zed’s own agents.
What setup changes
Section titled “What setup changes”Zed’s key, in your system’s keychain
Section titled “Zed’s key, in your system’s keychain”Zed keeps provider keys in the system keychain, and setup saves Zed’s own key from inferam.ai/keys there, as Zed itself does:
| System | Where | Entry |
|---|---|---|
| macOS | Keychain Access, login keychain | Internet password, where https://api.inferam.ai/v1, account Bearer. Zed is allowed to read it, so there’s no prompt. |
| Linux | Secret Service (GNOME Keyring, KWallet), over D-Bus | Labelled zed-github-account, attributes url https://api.inferam.ai/v1 and username Bearer |
| Windows | Credential Manager → Windows Credentials | zed:url=https://api.inferam.ai/v1, user Bearer |
settings.json
Section titled “settings.json”Zed’s settings file, ~/.config/zed/settings.json (%APPDATA%\Zed\settings.json on Windows). Your other settings and comments are left as they are.
{ "language_models": { "openai_compatible": { "Inferam": { "api_url": "https://api.inferam.ai/v1", "available_models": [ { "name": "DeepSeek-V4.1-Flash-1017", "display_name": "DeepSeek-V4.1-Flash-1017 (Inferam)", "max_tokens": 262144, "max_output_tokens": 32768, "capabilities": { "tools": true, "images": true, "parallel_tool_calls": false, "prompt_cache_key": false } } ] } } }, "agent": { "default_model": { "provider": "Inferam", "model": "DeepSeek-V4.1-Flash-1017" } }, "agent_servers": { "Claude Code (Inferam)": { "type": "custom", "command": "/Users/you/.local/bin/inferam", "args": ["acp", "claude"] }, "Codex (Inferam)": { "type": "custom", "command": "/Users/you/.local/bin/inferam", "args": ["acp", "codex"] } }}language_models is the Agent Panel’s Inferam model, and agent.default_model selects it; --undo puts back the model you had. agent_servers are the two agents: Zed starts inferam acp claude or inferam acp codex, which run Claude Code or Codex on Inferam with this computer’s sign-in. They don’t use Zed’s key, and they don’t change Zed’s own Claude Code and Codex agents.
Troubleshooting
Section titled “Troubleshooting”Zed asks for an API key
Section titled “Zed asks for an API key”Zed didn’t find its key in the keychain. Check it’s there:
- macOS:
security find-internet-password -s https://api.inferam.ai/v1 -a Bearerdescribes the entry (without the key). - Linux:
secret-tool lookup url https://api.inferam.ai/v1 username Bearerprints the key. - Windows: look for
zed:url=https://api.inferam.ai/v1in Credential Manager.
If it’s missing, run inferam setup zed again; it fails with the reason if it can’t reach the keychain. On Linux, that’s the desktop’s keyring (GNOME Keyring or KWallet) on the session bus.
Requests fail
Section titled “Requests fail”Run inferam setup zed again. It replaces Zed’s key with a new one, which also fixes a key revoked on inferam.ai/keys. If Zed was open, restart it so it reads the new key.
An Inferam agent doesn’t start
Section titled “An Inferam agent doesn’t start”Open the command palette and run dev: open acp logs:
- “not signed in”: run
inferam auth loginin a terminal. - “need Node.js (npx)”: install Node.js from nodejs.org.
- The agent’s command isn’t found:
inferammoved. Runinferam setup zedagain.
Limits
Section titled “Limits”- Zed’s edit predictions (inline completions) keep using their own provider.
Removing it
Section titled “Removing it”inferam setup zed --undoRemoves the Inferam model and agents from Zed’s settings, puts back the model you had, deletes the key from the keychain, and revokes it.