Fluxo

Documentación

Apunta tu cliente a https://api.fluxorelay.com y usa una clave API de tu panel.

Claude Code / Claude Desktop

export ANTHROPIC_BASE_URL="https://api.fluxorelay.com" export ANTHROPIC_AUTH_TOKEN="TU_CLAVE" claude
Nota: los modelos Claude solo están disponibles mediante las apps oficiales Claude Code / Claude Desktop (apunta ANTHROPIC_BASE_URL aquí; se requiere Claude Code 2.1.285+). GPT, Gemini y otros funcionan con cualquier cliente o SDK compatible con OpenAI.

OpenAI / Codex / other models

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

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

cURL

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

Las peticiones se facturan por el uso real de tokens. Un 402 significa saldo agotado — recarga en el panel.