Integrations
Aider
Use Aider with Quobit as an OpenAI-compatible API. Tested with Aider 0.86.2 on Python 3.12.
Step 1 — Install
Aider requires Python 3.10, 3.11 or 3.12. Use the installer recommended by Aider, or pip inside a Python 3.12 virtual environment.
python -m pip install aider-install
aider-installStep 2 — Provide your API key
Aider reads the OpenAI-compatible base URL and key from these environment variables.
export OPENAI_API_BASE="https://api.quobit.ai/v1"
export OPENAI_API_KEY="<your-api-key>"Create your own key under API keys and treat it as private: do not commit it, paste it into tickets or chat, or write it into logs.
Step 3 — Choose the model
Prefix the public alias with openai/ so Aider sends it to the OpenAI-compatible endpoint, for example openai/glm-5.2 or openai/kimi-k2.7-code.
aider --model openai/glm-5.2Step 4 — Test the connection
aider --model openai/glm-5.2 --message "Reply with exactly: OK"With a correct configuration Aider replies "OK". Add file names after the command to let Aider edit them.
Notes
- Aider warns "Unknown context window size and costs" for gateway models. The warning is harmless; add --no-show-model-warnings to hide it.
- On Windows, if Aider stops with a UnicodeEncodeError, set PYTHONUTF8=1 in the terminal and run it again.
Common errors
- 401 authentication error: the key is missing, revoked or mistyped. Check that OPENAI_API_KEY is set in the same terminal that runs the client.
- 404 or model not found: use a public model alias enabled for your plan, exactly as shown on the Models page.
- 400 context too long: the conversation plus the requested output is longer than your plan allows per request. Start a new chat or shorten the conversation.
- 429 rate_window_exceeded: you have reached your plan's 5-hour cost window. Wait for it to roll over, or upgrade your plan.