derestricted-llm through the Chat Completions API.
Before you start
Install Aider and create a key in the console. New verified accounts receive $5 in starting credit.Configure the connection
Set these variables in the terminal where you will run Aider:OPENAI_API_BASE for a compatible service. Its model argument requires an openai/ prefix to select the protocol; the model sent to derestricted.ai is derestricted-llm. See Aider’s compatible API guide.
Start Aider
From your project directory:If something fails
- Unknown model warning: Aider may not have built-in context or pricing metadata for this model. That warning alone does not indicate an authentication failure. See Aider’s model warnings.
- Authentication or connection error: launch Aider from the terminal containing the exports above; check that the base URL includes
/v1. - Large request: include fewer files or start a shorter conversation. Local token estimates do not override the gateway’s request limits.
- Credits or rate limits: check the console and the error guide.