Skip to content

CC-Switch Balance Query

Complete CC-Switch Setup and add your CCTQ provider first. This guide uses a version of CC-Switch with the NewAPI preset.

1. Open usage query settings

Find your CCTQ provider and click the chart icon (Usage Query) on the right.

Open usage query settings on the CC-Switch provider card

2. Get your user ID and access token

Sign in to CCTQ and open Personal Profile in the left sidebar. Note your User ID at the top, then click Access Token in the Security section below to get your token.

User ID and Access Token entry on the CCTQ profile page

TIP

Use the Access Token from your profile, not a model API key from API Keys. Enter your own user ID; the screenshots are examples. Keep your access token private.

3. Fill in the query settings

Turn on Enable Usage Query, select the NewAPI preset, and enter:

SettingValue
Base URLhttps://www.cctq.ai, without /v1
Access TokenThe access token from step 2
User IDThe user ID from step 2

Click Save Configuration. You can also click Test Script to check the result before saving.

Auto Query Interval is measured in minutes. Set it to 0 to disable automatic queries.

Enable usage queries, select NewAPI, and enter the URL, access token, and user ID

4. Check your balance

Return to the main screen. After a successful query, the provider card shows the used and remaining balance. Click the refresh icon to update it manually. Automatic queries only run while this provider is active.

CC-Switch provider card showing usage and remaining balance

THIRD-PARTY CLIENTS

Before you start

A few notes to help you get the most out of third-party clients.

  1. Official clients first

    For the most consistent experience, we recommend using each model in its provider’s official client.

  2. Compatibility can vary

    Third-party apps update at different speeds. Cache misses, unavailable tools, and request errors can occur because of compatibility differences. If something goes wrong, check the client version and settings first.

  3. Start with the basics

    These guides focus on the simplest, quickest setup for basic use. Advanced workflows are welcome to explore, but may require technical knowledge and fall outside our standard support scope. Our support team may offer suggestions where practical, but cannot guarantee troubleshooting or a solution.

By choosing “Continue”, you acknowledge and agree to the compatibility limitations and support scope described above.