Skip to content

Integration

Use Aider with Tokens

Run Aider against Tokens with OPENAI_API_BASE and the openai/ model prefix, silence unknown-model warnings with a metadata file, and switch models per session.

Set it up in three steps

  1. 01Create an account

    Sign up, then start on a plan or top up your prepaid wallet.

    Create an account
  2. 02Create a key for Aider

    Give the key its own monthly spending cap, so a runaway session stops at the cap.

    Open your keys
  3. 03Follow the guide

    Point Aider at Tokens with the settings in the guide, then pick any model from the catalog.

    Read the guide

What Aider connects to

OpenAI-compatible base URL
https://tokens.bd/v1
API key
One Tokens key (tok_live_…), with its own spending cap
Models
Any id from the model catalog

What the guide covers

4 min read

  1. 01Install Aider
  2. 02Set OPENAIAPIBASE for Aider
  3. 03Add model metadata
  4. 04Switch models
  5. 05Verify it works
  6. 06Troubleshooting

Ready to try Aider on Tokens?

Create an account, make a key and send your first request in a couple of minutes.

Create an account