Fluxo

Documentação

Aponte seu cliente para https://api.fluxorelay.com e use uma chave API do painel.

Claude Code / Claude Desktop

export ANTHROPIC_BASE_URL="https://api.fluxorelay.com" export ANTHROPIC_AUTH_TOKEN="SUA_CHAVE" claude
Nota: os modelos Claude só estão disponíveis pelos apps oficiais Claude Code / Claude Desktop (aponte o ANTHROPIC_BASE_URL acima para nós; requer Claude Code 2.1.285+). GPT, Gemini e outros funcionam com qualquer cliente ou SDK compatível com OpenAI.

OpenAI / Codex / other models

base_url = "https://api.fluxorelay.com/v1" api_key = "SUA_CHAVE"

Endpoint de chat: https://api.fluxorelay.com/v1/chat/completions

cURL

curl https://api.fluxorelay.com/v1/chat/completions \ -H "Authorization: Bearer SUA_CHAVE" \ -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="SUA_CHAVE" gemini
curl "https://api.fluxorelay.com/v1beta/models/gemini-3.8-flash:generateContent" \ -H "x-goog-api-key: SUA_CHAVE" \ -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

As requisições são cobradas pelo uso real de tokens. Um 402 significa saldo esgotado — recarregue no painel.