Documentation
Point your client at https://api.fluxorelay.com and use an API key from your dashboard.
Claude Code / Claude Desktop
export ANTHROPIC_BASE_URL="https://api.fluxorelay.com"
export ANTHROPIC_AUTH_TOKEN="YOUR_KEY"
claude
Note: Claude models are available only through the official Claude Code / Claude Desktop apps (point the ANTHROPIC_BASE_URL above at us; Claude Code 2.1.285+ required). GPT, Gemini and other models work with any OpenAI-compatible client or SDK.
OpenAI / Codex / other models
base_url = "https://api.fluxorelay.com/v1"
api_key = "YOUR_KEY"
Chat completions endpoint: https://api.fluxorelay.com/v1/chat/completions
cURL
curl https://api.fluxorelay.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-6.1-sol","messages":[{"role":"user","content":"Hello"}]}'
GPT: gpt-6.1-sol · gpt-6-astra · gpt-5.6-sol
Gemini CLI / Gemini API
export GOOGLE_GEMINI_BASE_URL="https://api.fluxorelay.com"
export GEMINI_API_KEY="YOUR_KEY"
gemini
curl "https://api.fluxorelay.com/v1beta/models/gemini-3.8-flash:generateContent" \
-H "x-goog-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"contents":[{"role":"user","parts":[{"text":"Hello"}]}]}'
Gemini uses the native Google protocol only (
/v1beta/models/{model}:generateContent; streaming: :streamGenerateContent?alt=sse) — it is not available on /v1/chat/completions. Set the base URL to the bare domain, without /v1beta.Gemini: gemini-3.1-pro · gemini-4-argon · gemini-3.8-flash · gemini-2.5-flash
Requests are billed from real token usage. A 402 means your balance is empty — top up in the dashboard.