Roo Code
Connect Aerless AI from Roo Code's settings screen. No file to edit.
Roo Code’s repository was archived in May 2026; its OpenAI Compatible option still works.
Get a key
Create one in the dashboard and top up. The quick start shows how.
Choose the provider
In Roo Code’s settings choose API Provider OpenAI Compatible, then:
https://api.aerless.si/v1AERLESS_...
Add a model
Copy a model id and its values. Leave image support off: the API takes text only.
deepseek-v4.1-flash-abliterated- 1,000,000
- 128,000
- $0.24
- $0.90
- $0.038
deepseek-v4.1-flash-abliterated-fast- 1,048,576
- 128,000
- $0.24
- $0.90
- $0.05
deepseek-v4.1-flash-fast- 1,048,576
- 128,000
- $0.02
- $0.16
- $0.004
glm-5.3-abliterated- 1,048,576
- 128,000
- $2.00
- $4.00
- $0.30
glm-5.3-flash-abliterated- 1,048,576
- 128,000
- $0.24
- $1.00
- $0.05
kimi-k3.1-pro-abliterated- 1,048,576
- 128,000
- $3.00
- $6.00
- $0.30
Check it works
Ask Roo Code something short. A reply means you are connected. Or from a shell, with your key in
AERLESS_API_KEY:requestcurl https://api.aerless.si/v1/chat/completions \ -H "Authorization: Bearer $AERLESS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "deepseek-v4.1-flash-abliterated", "messages": [{"role": "user", "content": "Write a two-line poem about the sea."}] }'example replyGrey tides fold the evening light, and carry every shore toward night.Not working?
- 401 invalid_api_key
- Check the key and the header format (Authorization: Bearer <key>). Create a new key in the dashboard if needed.
- 402 insufficient_balance
- Top up, or lower max_tokens so the hold is smaller.
- 404 not_found
- Check the base URL ends in /v1 and the path is one of the documented endpoints.
- 400 invalid_request
- Fix the request. The message says what is wrong and param names the field. Do not retry unchanged.