API Docs
Get Started

Console & Top-up

Everything to do before your first UnioAPI call — sign in to the console, top up by redeeming a CDKEY, create an API key with a spend cap, and find usage and request logs.

Before you call a model you need two things: a balance on your account and an API key. Both are done in the console and take about two minutes.

Prerequisites

  • An email address you can receive mail at, to sign up and sign in.
  • A CDKEY redemption code to top up your wallet (online payment is coming soon; for now top-ups are made with codes).

Steps

Sign in to the console

Open console.unioapi.com, sign up with your email and sign in. You land on the Workspace; the sidebar is grouped into Access, Data and Account.

Console workspace and sidebar
public/docs/screenshots/console-overview.png · 1600×1000

Top up with a CDKEY

New accounts start at zero. Top up before your first call, otherwise requests return 402.

  1. Go to Account → Wallet and click Redeem CDKEY.
  2. Enter the code and click Redeem.
  3. Once you see the success message, the amount is in your wallet and ready to use.
The Redeem CDKEY dialog on the Wallet page
public/docs/screenshots/console-wallet-redeem.png · 1600×1000

The balance is in US dollars. Each call is charged by actual token usage, with no minimum spend — see Billing & usage.

Create an API key

  1. Go to Access → API Keys and click Create key.

  2. Fill in the form:

    FieldMeaning
    NameWhat the key is for, e.g. "Production · main service" or "Laptop Claude Code"
    Spend capThe total amount this key may use over its whole lifetime; once reached, the key is disabled automatically. Leave empty for no cap
    ExpiryThe key stops working after this time; leave empty for no expiry
  3. Click Create, then Copy full key in the dialog, and click I saved it.

Create key form: name, spend cap and expiry
public/docs/screenshots/console-create-key.png · 1600×1000

The full key is shown only once

Keys are not stored on the server. After you close the dialog, lists and request logs only show the key prefix. If you lose it, revoke the key and create a new one.

Make your first call

Put the key in an environment variable and send a request as in the Quickstart. A 200 response means you are all set.

export UNIO_API_KEY="sk-unio-..."

Usage and request logs

PageWhat it is for
Data → UsageToken usage and charges over time
Data → Request logsOne row per model call: time, IP, key prefix, endpoint, type, model, reasoning effort, tokens, latency, amount charged, request ID
Access → ModelsModels you can call and their prices
The request log list
public/docs/screenshots/console-request-logs.png · 1600×1000

How to reconcile your bill is covered in Usage & billing records.

FAQ

"CDKEY is invalid or does not exist" — check that the code is complete and has no extra spaces. "Already redeemed" means the code has been used.

Do more keys raise my limits? — No. Request rate and concurrency are counted per account and shared by all keys; see Rate limits.

A key hit its spend cap — raise that key's cap on the API Keys page and it works again.

Next steps