Docs / Quick Start

Quick Start

Three steps, a few minutes.

The fastest path is ⚡ One-Click Setup — one command configures and launches Claude Code. Manual steps below.

1. Create an API key

A monthly subscription uses a subscription key, with supported models sharing the plan quota. Pay-as-you-go API billing uses a separate key and balance. Select the matching key type in the Console, then configure your client protocol. Topping up API credit does not increase subscription quota.

Create and copy your sk- key. Never publish it or commit it to a repository.

2. Pick the right Base URL (by protocol)

Anthropic
https://llmapi.pro — Claude Code, Anthropic SDK. no /v1
OpenAI
https://llmapi.pro/v1 — Cursor, Cline, Chatbox, OpenAI SDK. with /v1
Gemini
https://llmapi.pro — Google GenAI SDK. no /v1beta (SDK appends it)

3. Put it in your tool

Copy the exact model ID from the subscription model list or pay-as-you-go channels, and check that your client protocol supports it. The model catalogue labels each model’s billing mode.

Verify

curl https://llmapi.pro/v1/messages \
  -H "x-api-key: sk-YOUR_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{"model":"claude-opus-4-8","max_tokens":64,"messages":[{"role":"user","content":"Hello"}]}'
A normal JSON reply means success. Errors? See Errors.
Need help? Email support@llmapi.pro · Home