Use OmniaKey with Claude Code by setting the Anthropic base URL toDocumentation Index
Fetch the complete documentation index at: https://docs.omniakey.com/llms.txt
Use this file to discover all available pages before exploring further.
https://api.omniakey.com and using your OmniaKey API key as the auth token.
Do not add
/v1 to the Claude Code base URL. Claude Code and the Anthropic SDK
append /v1/messages automatically.Direct answer
Step 1: Create an OmniaKey key
Open the API Keys dashboard, create a key for your local machine or CI environment, and copy it once.Step 2: Set Claude Code environment variables
Claude Code speaks Anthropic’s Messages API. Use the bare API host and your OmniaKey token:Step 3: Choose a Claude model
Use Claude model ids from Models, such asclaude-opus-4-8,
claude-sonnet-4-6, or claude-haiku-4-5. The model id you request is the
model that runs.
FAQ
What base URL should Claude Code use?
Usehttps://api.omniakey.com. Do not add /v1.
Which auth variable should I set?
SetANTHROPIC_AUTH_TOKEN to your OmniaKey API key.