Skip to content

Create API Keys ​

API keys are bound to a group. The selected group controls which protocols, models, quotas, and media capabilities the key can use.

Create a Key ​

  1. Sign in to the website and open the API Key page.
  2. Select Create Key.
  3. Enter a recognizable name.
  4. Select a group that matches the platform and models you need.
  5. Optionally configure quota, rate limits, and expiration.
  6. Submit the form, then copy and store the generated key.

The full key is only needed by your client or server. Do not commit it to Git, paste it into support screenshots, or expose it in browser code.

Choose a Group ​

Use caseRecommended group
Claude Code or Anthropic MessagesAnthropic, or another group whose Use Key dialog shows Claude Code
Codex, Responses, or Chat CompletionsOpenAI group exposing the required models
OpenAI image generation or editingOpenAI group with image generation enabled
Gemini native text, image, or multimodal generationGemini group
Model listing and usage queriesAny compatible active group

Use the website's Use Key action as the source of truth for supported client configurations.

Verify the Key ​

List models with the new key:

bash
curl https://api.llmapi.site/v1/models \
  -H 'Authorization: Bearer YOUR_API_KEY'

A successful response confirms authentication and shows the model names available to that key. Endpoint access still depends on the selected group's platform and capabilities.

Common Issues ​

SymptomCause and fix
401 authentication errorThe key is missing, incomplete, expired, disabled, or unknown.
The model is unavailableQuery GET /v1/models with the same key and use a returned model.
An endpoint returns 404 or reports an unsupported platformThe selected group does not support that protocol. Create or select a key bound to the matching platform.
OpenAI image endpoints are unavailableUse an OpenAI group with image generation enabled.
Claude Code is not shown in Use KeyThe selected group does not expose a compatible Messages configuration.