Jiniu AIJiniu AI
Docs

API Keys

Creating keys, choosing a group, quota and IP limits

Creating a key

  1. Log in to the console and open API Keys from the left sidebar.
  2. Click Create API Key in the top right. Creating one key per project makes cost attribution and revocation much easier.
API key list and create button

Choosing a group

A key belongs to a group. Group names are usually built from a prefix (model family or upstream channel) plus a suffix (discount multiplier).

Create form with group selection

Common prefixes:

PrefixModels
gptOpenAI
claudeAnthropic Claude, including cloud-vendor channels
geminiGoogle Gemini
deepseekDeepSeek
qwenAlibaba Qwen
doubaoByteDance Doubao
zhipuZhipu GLM
kimiMoonshot AI
minimaxMiniMax

Security and quota settings

Worth configuring before you go to production:

  • Quota limit — unlimited by default (bounded only by your account balance). Setting a fixed quota on keys handed to teammates or tools caps the damage from a runaway loop; the key stops working once the quota is used up.
  • Expiry — one hour, one day, one month or a custom timestamp. Handy for short-lived projects and contractors.
  • IP allowlist — bind the key to specific server IPs so that even a leaked key cannot be used from anywhere else.
Quota, expiry and IP restriction settings

See Base URL and Authentication for how to send the key with a request.