Clients
Cursor
Cursor sends requests through its own servers (official note), so the base URL must be a public HTTPS address. A custom key serves chat only; Tab completion keeps using Cursor's own models.
Cursor calls Claude through the OpenAI-compatible format:
- Open Cursor Settings → Models.
- Enter your TokenArmy key as the OpenAI API Key.
- Turn on Override OpenAI Base URL and enter
https://tokenarmy.shop/v1. - Add Custom Model with a Claude model id such as
claude-sonnet-5-5, and enable only the models you need.
Setting names vary between Cursor versions; if the base URL option is missing, update Cursor first.