Client setup

Your key works with OpenAI- and Anthropic-compatible clients. Point them at the base URL below and you are done.

Try your key right here

Sends a real request straight from your browser to https://api-dev.codezdev-shop.uk — the same standard call curl, Claude Code and the SDKs make.

Base URL & auth

https://api-dev.codezdev-shop.uk

Every request carries your key as a bearer header:

Authorization: Bearer sk-llmgate-your-key

curl — OpenAI-compatible

curl https://api-dev.codezdev-shop.uk/v1/chat/completions \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-5","messages":[{"role":"user","content":"Hi"}]}'

Set KEY=sk-llmgate-your-key first, or paste your key over $KEY.

Claude Code

export ANTHROPIC_BASE_URL=https://api-dev.codezdev-shop.uk
export ANTHROPIC_AUTH_TOKEN=sk-llmgate-your-key

On older setups the token variable is named ANTHROPIC_API_KEY — either name works with the same value.

Codex & OpenAI SDKs

export OPENAI_BASE_URL=https://api-dev.codezdev-shop.uk/v1
export OPENAI_API_KEY=sk-llmgate-your-key

Or set the client directly: OpenAI(base_url="https://api-dev.codezdev-shop.uk/v1", api_key="…").

Anthropic API

/v1/messages works with the same bearer key:

curl https://api-dev.codezdev-shop.uk/v1/messages \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-5","max_tokens":64,"messages":[{"role":"user","content":"Hi"}]}'

Credits

1 credit = $1 of usage at list prices — see Models & pricing.