One-click access
Get one API key and call every connected AI model without applying for each provider separately.
flatkey.ai unifies model access, routing, billing, usage analytics, and operational controls for teams shipping AI products.
Route Codex and Claude Code usage through Flatkey, keep the workflow, cut metered spend.
One installer configures Codex CLI or Claude Code to use router.flatkey.ai in about 30 seconds.
Supports one-click configuration and perfectly adapts to NewAPI multi-protocol configuration.
https://console.flatkey.ai/v1/chat/completionsAt least 40% cheaper than official
One command sets up the local agent, asks which tool to take over, and points usage to Flatkey.
curl -fsSL https://flatkey.ai/install.sh | bash
macOS: curl -fsSL https://flatkey.ai/install.sh | bash
Linux: curl -fsSL https://flatkey.ai/install.sh | bash
Windows: iwr https://flatkey.ai/install.ps1 -UseBasicParsing | iex
Why flatkey
Get one API key and call every connected AI model without applying for each provider separately.
Intelligently route multiple upstream accounts with automatic switching and load balancing to avoid frequent errors.
Bill by actual usage, set quota limits, and keep team consumption clear at a glance.
Curated top models selected by the flatkey community
About flatkey.ai
flatkey.ai provides hosted software and prepaid account balance for metered AI API usage. Usage charges are calculated from model input, output, and cache-hit prices multiplied by token usage.
flatkey.ai is a unified AI API gateway that lets teams call supported AI models through one API key, one base URL, and one dashboard.
It reduces separate provider accounts, scattered API keys, inconsistent routing, and fragmented usage tracking for teams building AI features.
flatkey.ai is built for developers, AI product teams, automation builders, and operations teams that need predictable access to multiple models.
Product focus
flatkey keeps model access, routing, billing, and usage policy in one place so teams can move faster without extra provider management.
Add model access to your product without managing separate provider accounts, keys, and SDK changes.
Keep token spend, recharge records, and team usage visible in one dashboard.
Route high-volume workflows to suitable models while keeping failures and cost easier to review.
Compare providers, switch models, and keep existing OpenAI-compatible clients pointed at the same base URL.
How it fits together
Create a flatkey account, open the dashboard, and generate an API key for your app.
Point your OpenAI-compatible client to https://console.flatkey.ai/v1 and keep your existing SDK.
Review usage, cost, routing, and errors from the same product dashboard.
Start from the flatkey homepage, manage your product dashboard, and keep console.flatkey.ai as the stable API endpoint.