ApiFlux Docs
Learn the core ApiFlux workflows for model routing, runtime controls, and secure AI gateway operations.
ApiFlux Docs collects the product workflows that teams need before sending production AI traffic through the gateway.
New to ApiFlux?
Follow the three steps below in order. You will finish with a working API key and a verified request.
Start here: three steps
1. Prepare your environment
Open a terminal, install Node.js when needed, and learn where to store your API key.
2. Create an API key
Sign in to ApiFlux, create a key, and confirm the Base URL used by tools and SDKs.
3. Send your first request
Choose a model and verify an OpenAI-compatible, Anthropic, or Gemini request.
Connect your coding tool
Choose the guide for the tool you use. You only need to complete one of these guides.
Codex CLI
Configure ApiFlux as a custom Codex model provider.
Claude Code
Connect Claude Code to the Anthropic-compatible ApiFlux endpoint.
OpenCode
Add ApiFlux as a custom OpenAI-compatible provider.