Cursor & VS Code Integration with TokenDos API

TokenDos provides OpenAI-compatible (https://api.tokendos.com/v1) and Anthropic-compatible (https://api.tokendos.com/anthropic) endpoints for Cursor, Cline, and Roo Code with pay-per-token billing. Always verify exact model IDs and current rates in the marketplace before connecting.

Configuration Steps

Step 1: Check model IDs and create an API key

Create an API key in the TokenDos dashboard and check the exact model ID in the marketplace (for example claude-opus-5-5, claude-sonnet-5-5, gpt-6.1-sol, gemini-3.8-flash, or deepseek-v4.1-flash).

Step 2: Configure Cursor (OpenAI-compatible surface)

  1. Open Cursor Settings -> Models.
  2. Add the exact model ID from the marketplace and enable it.
  3. Set Override OpenAI Base URL to https://api.tokendos.com/v1.
  4. Paste your TokenDos API key into OpenAI API Key and click Verify.

Step 3: Configure VS Code Cline / Roo Code

Billing checks and troubleshooting

Get a consumer API key