Skip to content

Create API Key ​

You need to create an API key before using TokenFlux.

Go directly to the creation page: https://tokenflux.dev/keys

Steps ​

  1. Sign in and open the API keys page.
  2. Click the Create Key button in the upper-right corner.
  3. Enter a recognizable name, such as deepseek-harness or cc-switch.
  4. Check the model, protocol, and client restrictions under Choosing a Group, then pick a group. The dropdown shows each group's multiplier and current capacity.
  5. Create the key, copy the generated value, and store it safely (you can also view or copy it later in the key list).
TokenFlux create key dialog with a name entered and the group dropdown open, showing multipliers and capacity

Choosing a Group ​

Find the target model in the model marketplace and check:

CheckSelection criteria
ModelThe group includes the full model ID you intend to call
ProtocolThe group supports the client's API; check the client guide and API Endpoints, not just the model vendor
Client restrictionsThe group description allows your client; client-restricted groups are not suitable for other tools
Price and capacityCheck the group's final unit prices, multiplier, and current capacity; see Billing for calculations

An ordinary key belongs to one group. For several groups, create separate keys or use a composite key and select models with prefixes. Subscription plan names are not group names.

Key Security ​

Create separate keys for different clients so you can identify and disable them individually. Do not commit keys to a repository, embed them in a public web frontend, or share them. If a key leaks, disable it immediately on the keys page, create a replacement, and update the client configuration.

Next Steps ​

TokenFlux Documentation