X-API-Key
header. Create a key at
account.qbraid.com/account/api-keys.
The API Keys guide explains how to manage and
rotate keys.
Endpoints
Why the double
v1 on the Anthropic routes: Anthropic SDKs append
/v1/messages to whatever base URL you give them. The gateway matches that
shape, so the same base URL works for both wire formats.
Quickstart
The Anthropic SDK sends thex-api-key header on its own, so its api_key
argument takes your qBraid key directly. The OpenAI SDK only sends a bearer
header, so give it the key through default_headers instead.
Use with Claude Code
Claude Code talks the Anthropic wire format, so it can run on your qBraid quota. Set the base URL and your key, then start it:ANTHROPIC_API_KEY reaches the gateway as the x-api-key header.
Available models
The/models endpoint is the source of truth. Model lineups change, so
query it rather than trusting a list you read somewhere:
Costs draw from your plan’s monthly AI quota first, then from credits at
100 credits = $1. Usage Quotas explains
the switch-over.
Aliases such as
openai/gpt-5.5 and qbraid/claude-opus-5 resolve to the
same models. Configs written for other gateways usually work unchanged.

