Roo Code

Connect Aerless AI from Roo Code's settings screen. No file to edit.

Follows the Roo Code docs.

Roo Code’s repository was archived in May 2026; its OpenAI Compatible option still works.

  1. Get a key

    Create one in the dashboard and top up. The quick start shows how.

  2. Choose the provider

    In Roo Code’s settings choose API Provider OpenAI Compatible, then:

    Base URL
    https://api.aerless.si/v1
    API key
    AERLESS_...
  3. Add a model

    Copy a model id and its values. Leave image support off: the API takes text only.

    • deepseek-v4.1-flash-abliterated
      Context
      1,000,000
      Max output
      128,000
      Input per 1M
      $0.24
      Output per 1M
      $0.90
      Cache read per 1M
      $0.038
    • deepseek-v4.1-flash-abliterated-fast
      Context
      1,048,576
      Max output
      128,000
      Input per 1M
      $0.24
      Output per 1M
      $0.90
      Cache read per 1M
      $0.05
    • deepseek-v4.1-flash-fast
      Context
      1,048,576
      Max output
      128,000
      Input per 1M
      $0.02
      Output per 1M
      $0.16
      Cache read per 1M
      $0.004
    • glm-5.3-abliterated
      Context
      1,048,576
      Max output
      128,000
      Input per 1M
      $2.00
      Output per 1M
      $4.00
      Cache read per 1M
      $0.30
    • glm-5.3-flash-abliterated
      Context
      1,048,576
      Max output
      128,000
      Input per 1M
      $0.24
      Output per 1M
      $1.00
      Cache read per 1M
      $0.05
    • kimi-k3.1-pro-abliterated
      Context
      1,048,576
      Max output
      128,000
      Input per 1M
      $3.00
      Output per 1M
      $6.00
      Cache read per 1M
      $0.30
  4. 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:

    request
    curl 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 reply
    Grey 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.