Skip to content
DeepTokenInference Gateway
HomeDashboardModelsLeaderboardDocsPricingEnterpriseBlog

    Introduction

    • Getting started
    • Quickstart
    • Integrations

    API

    • Authentication
    • Chat Completions
    • Models
    • Errors

    Billing

    • Billing
    • Organizations

    Integrations

    Since DeepToken is 100% compatible with the OpenAI API specification, you can connect it to any third-party client, editor, or platform that supports custom OpenAI endpoints.

    You only need two configurations:

    • Base URL: https://api.deeptoken.app/v1
    • API Key: Your DeepToken API key (dtk_...)

    Developer Tools

    Select the tool you want to integrate with DeepToken below:

    Cursor Configuration

    To configure DeepToken in Cursor:

    1. Open Cursor and go to Settings (gear icon in the top right) -> Cursor Settings.
    2. Click on the Models tab in the sidebar.
    3. Scroll down to the OpenAI API Key section.
    4. Click Configure override (or edit button) next to the API key input.
    5. Set the following:
      • OpenAI API Key: <YOUR_DEEPTOKEN_API_KEY>
      • Base URL Override: https://api.deeptoken.app/v1
    6. Under Models, toggle off default models you do not use and add the custom model IDs you wish to call from your DeepToken catalog (e.g. gpt-4o-mini, claude-3-5-sonnet).

    [!TIP] DeepToken automatically handles failovers and routes calls to the most optimal upstream channel. You only need to add the canonical model names in Cursor settings.

    Cline Configuration

    To configure DeepToken in Cline (formerly Devins):

    1. Open VS Code and open the Cline panel.
    2. Click on the Settings icon (gear) in the Cline panel.
    3. Under API Provider, select OpenAI Compatible.
    4. Configure the settings as follows:
      • Base URL: https://api.deeptoken.app/v1
      • API Key: <YOUR_DEEPTOKEN_API_KEY>
      • Model ID: Enter the model you want to use (e.g. claude-3-5-sonnet or gpt-4o-mini).
    5. Click Save to start coding with DeepToken.

    Desktop Chat Clients

    For applications like Cherry Studio or Chatbox:

    1. Open the application settings and navigate to API Providers / Models.
    2. Add a new Custom OpenAI or OpenAI Compatible provider.
    3. Name it DeepToken.
    4. Enter the credentials:
      • API Key: <YOUR_DEEPTOKEN_API_KEY>
      • Base URL / API Host: https://api.deeptoken.app/v1 (Note: some clients need /chat/completions stripped, others require /v1 suffix).
    5. Fetch or manually add the list of models you wish to use.

    Previous

    Quickstart

    Next

    Authentication

    On this page

    • Developer Tools
    • Cursor Configuration
    • Cline Configuration
    • Desktop Chat Clients