Start here
One API host serves three wire formats. Create a key, give your client the address it expects, and send a first request.
Relay host
https://api.coderelayhub.comYour first API key
Sign up, open Dashboard → API keys and create one. Pay-as-you-go keys draw on your balance; monthly-plan keys draw only on their plan.
Which address goes where
| Client | Base URL | Key travels in |
|---|---|---|
| Claude Code · Claude Desktop | https://api.coderelayhub.com | x-api-key: crh_… |
| Codex · OpenAI SDK | https://api.coderelayhub.com/v1 | Authorization: Bearer crh_… |
| Gemini CLI | https://api.coderelayhub.com | x-goog-api-key: crh_… |
Anthropic-style clients also accept the key as ANTHROPIC_AUTH_TOKEN; OpenAI-style clients take it as api_key.
A first request
Paste your key into this command; the reply comes back as an ordinary chat completion.
curl --request POST https://api.coderelayhub.com/v1/chat/completions \
--header "Authorization: Bearer crh_paste_your_key_here" --header "Content-Type: application/json" \
--data '{"model":"gpt-6.1-sol","messages":[{"role":"user","content":"Write a haiku about merge conflicts"}]}'Then set up your agent: Claude Code, Codex and Gemini CLI each have their own page in the menu on the left.