Using Downsizing with Eigent
Route Eigent's model traffic through Downsizing by adding it as a Custom Model provider.
Prerequisites
Install the Downsizing CLI — see the CLI guide if you haven't already.
Link Eigent (Recommended)
Eigent manages model providers through its own backend — a provider API persisted to a local database — rather than a plain config file. There is no supported, stable way for an external CLI to write into that safely, so ds link eigentdoesn't edit any files. Instead it prints the exact values to paste into Eigent's Custom Model form:
ds link eigentCopy the printed values into Eigent's Settings:
- Open Eigent, go to Settings → Models
- Scroll to the Custom Model section
- API Key: paste the printed Downsizing API key
- API Host: paste the printed base URL
- Model Type:
claude-opus-4-8(or your preferred Claude model) - Click Save, then click "Set as Default" on the new provider card
Manual Setup
You can configure Eigent manually without running the CLI. Open Eigent's Settings → Models → Custom Model section and fill in:
https://api.downsizing.dev/YOUR_ROUTER_ID/openai/v1Enter this as the API Host, your Downsizing API key (starts with dws_) as the API Key, and a Claude model name (e.g. claude-opus-4-8) as the Model Type. This uses Downsizing's OpenAI-compatible Responses API route, since Eigent's Custom Model form is documented only for OpenAI-compatible hosts (API Key / API Host / Model Type), with no separate option for an Anthropic-shaped custom endpoint.
Find your Router ID and API key on the Inference API page.
Verify
Open Eigent and run one of its agent tasks to confirm traffic is routing through Downsizing. If Eigent responds normally, Downsizing is set up correctly. You can also check your savings dashboard to see the request appear in your usage metrics.
Unlinking
Because ds link eigentnever wrote a config file, there's nothing on disk to remove. Run the unlink command to update ds's own record of linked tools, then remove or clear the custom provider directly in Eigent's Settings → Models:
ds unlink eigentSpot an error or something not working? Tell us on Discord or email docs@downsizing.dev.