CLAUDE CODE

Claude Code

Native Anthropic Messages. Same dashboard key. Base URL is https://llm.market — no /v1 suffix.

Env

Claude Code calls POST /v1/messages. Set ANTHROPIC_BASE_URL to the site origin, not /v1.

Example
ANTHROPIC_API_KEY=sk-YOUR_LLM_MARKET_KEY
ANTHROPIC_BASE_URL=https://llm.market
ANTHROPIC_MODEL=claude-sonnet-5

Base URL

No trailing /v1

ANTHROPIC_BASE_URL=https://llm.market. Claude Code appends /v1/messages itself. https://llm.market/v1 will 404 the Messages route.

OpenAI clients

Cursor, OpenCode, and the OpenAI SDK still use https://llm.market/v1 with Authorization: Bearer. Same key.

Example
curl https://llm.market/v1/chat/completions \
  -H "Authorization: Bearer sk-YOUR_LLM_MARKET_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MODEL_FROM_V1_MODELS",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Verify

Example
curl https://llm.market/v1/models \
  -H "Authorization: Bearer sk-YOUR_LLM_MARKET_KEY"
Wallet

PAYG only. Add credits or redeem a coupon before the first Claude Code turn.

Need a key?

Create one in the dashboard. Discord for llm.market is coming soon.