The address is https://api.myapirelay.com. Keys are made under API keys in your dashboard, where you can copy or retire them at any time.
Send your key as Authorization: Bearer for OpenAI-style calls, or as x-api-key for Anthropic-style calls.
QCan I try it with one command first?
curl -sS -H "Content-Type: application/json" -H "Authorization: Bearer myr_your_key_here" \
https://api.myapirelay.com/v1/chat/completions \
-d '{"model":"gpt-6.1-sol","messages":[{"role":"user","content":"Hi from my own relay"}]}'
GPT model IDs that work well here:
gpt-6.1-sol
gpt-6-astra
gpt-5.6-sol
QI use Claude Code. What do I change?
Set two environment variables, then start Claude Code the usual way. Use the address without /v1.
export ANTHROPIC_BASE_URL=https://api.myapirelay.com
export ANTHROPIC_AUTH_TOKEN=myr_your_key_here
claude
setx ANTHROPIC_BASE_URL https://api.myapirelay.com
setx ANTHROPIC_AUTH_TOKEN myr_your_key_here
claude
Claude models are only served to the official Claude Code and Claude Desktop clients, version 2.1.285 or newer. This rule comes from the model provider. GPT, Gemini and the other families work with any client.
QWhat about Codex, Cursor or the OpenAI SDK?
OpenAI-style clients take the address with /v1 at the end, plus your key. Chat requests go to /v1/chat/completions.