GETTING STARTED

Your first API request

Follow these steps to connect LinkInfra to your app. Sign in or create an account before you begin.

  1. 1

    Check your balance

    Open Billing to check your available balance and top up if needed. A key spending limit does not add credit to your account.

    Open Billing
  2. 2

    Create an API key

    Give your key a name, expiration date and spending limit. One key can call the models available to your account; you do not need a new key for every model.

    Create API key
  3. 3

    Connect your client

    In Keys, select Set up client next to your key. Import into CC Switch or Cherry Studio, or copy the Base URL and key into Chatbox or another OpenAI-compatible app. Confirm the import in the installed app.

    Set up a client
  4. 4

    Choose a model and send a message

    Copy the exact model ID from the marketplace and choose a protocol supported by that model. Send a short message in your app, or try Playground with your key.

    Try Playground
  5. 5

    Check your first request

    Usage shows individual requests, tokens and charges. Statistics shows reliability, latency and speed for your selected period. Keep the request ID if you need help with a failed call.

    View Usage

One API key, multiple models

Your API keys are universal: the same key can call any model available to your account. Choose a model by setting its model ID in each request. There is no need to create a separate key for each model. Your account balance and each key’s spending limit apply.

OpenAI-compatible Base URLLoading…

Understand the price

Per token: input and output tokens are charged at their respective rates; /M means per million tokens. Per call: each request is charged at the listed rate. Your account’s applicable pricing determines the final charge.

If something goes wrong

Invalid or expired key

Copy the complete API key and check that it is enabled and unexpired.

Insufficient quota

Check both your account balance and the spending limit on this key.

Model or protocol error

Check the exact model ID and supported API protocol. Claude Code uses Anthropic Messages, Codex uses OpenAI Responses, and Gemini CLI uses the native Gemini API.

The client does not open

Install CC Switch or Cherry Studio and allow the browser to open it. You can also copy the settings manually from Set up client.

Wrong API address

Use the API address shown in Keys, not the dashboard website URL. Do not append /v1 twice.

Read the full documentation →