Skip to content

Coding tools

Other tools

Connect any tool that accepts a custom OpenAI or Anthropic base URL, including Aider.

Most tools need two settings: a base URL and a key.

Set up

  1. Create a key in API keys.
  2. Choose the provider type that matches what the tool offers.
The tool offersBase URL
OpenAI, OpenAI-compatible or custom OpenAIhttps://deference.si/v1
Anthropic or Anthropic-compatiblehttps://deference.si
  1. Paste your sk-df-... key as the API key. Anthropic tools may call it an auth token.
  2. Enter an exact model id from the Models page.
  3. If the tool asks for a context window or output limit, copy them from the model's page.

If the tool lets you pick an API style, choose Chat Completions. Choose Responses only when the tool supports nothing else.

Verify

Check the connection with curl.

curl https://deference.si/v1/key \
  -H "Authorization: Bearer $DEFERENCE_API_KEY"

The response names your key and shows its available credit. Send a prompt from the tool, then open Activity: the request is the top row.

Aider

Aider reads an OpenAI-compatible endpoint from OPENAI_API_BASE and OPENAI_API_KEY, and needs the openai/ prefix on the model.

export OPENAI_API_BASE="https://deference.si/v1"
export OPENAI_API_KEY="$DEFERENCE_API_KEY"
aider --model openai/anthropic/claude-sonnet-5.5

The openai/ prefix tells Aider to use the OpenAI-compatible path. The rest is the exact model id. Pass --weak-model with another full id to use a smaller model for commit messages.

Roo Code

Choose the OpenAI Compatible provider and use the settings in Set up.

Troubleshooting

You seeCauseFix
404 on every callThe base URL has a doubled or missing /v1OpenAI-style tools end in /v1. Anthropic-style tools do not
401 invalid_api_keyThe key has spaces or quotes around itPaste the bare key
404 model_not_foundThe tool lowercases or shortens the idEnter the id exactly as listed
The tool lists no modelsIt reads a different pathType the model id by hand
Aider cannot find the modelThe openai/ prefix is missingStart with --model openai/ followed by the model id
Requests reach OpenAIOPENAI_API_BASE is not setExport it in the shell that runs Aider