Setup
Install Aider using the method in its docs, for example:
python -m pip install aider-install
aider-installSet the endpoint and key. On macOS or Linux:
export OPENAI_API_BASE=https://api.luv13.ai/v1
export OPENAI_API_KEY=$LUV13_API_KEYOn Windows, use setx OPENAI_API_BASE https://api.luv13.ai/v1 and setx OPENAI_API_KEY <your key>, then open a new terminal.
Then start Aider inside your project:
cd /path/to/your/project
aider --model openai/luv13/glm-5.3-flashUsing a config file
Aider can also read its settings from a .aider.conf.yml file:
openai-api-base: https://api.luv13.ai/v1
model: openai/luv13/glm-5.3-flashKeep the key in the environment instead of this file. See YAML Config.
About the model warning
Aider keeps details, such as context size, for models it knows. For other models it shows a warning and uses defaults. luv13's model list doesn't publish context lengths, so there's no official value to add. See Context Window.
Check your settings first
curl https://api.luv13.ai/v1/chat/completions \
-H "Authorization: Bearer $LUV13_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "luv13/glm-5.3-flash", "messages": [{"role": "user", "content": "Hi"}]}'