One Flatkey API
No provider credentials scattered across agents, repos, and environments.
Built for developers, startups, and AI teams. Access 100+ official AI models and 1,000+ pay-per-call tools from one account — one balance, one invoice, one SLA. Failed calls cost you nothing.
Use one Flatkey interface for leading AI models, social platforms, web data, crawlers, GTM intelligence, and more.
All ModelsNo provider credentials scattered across agents, repos, and environments.
Consistent schemas, error envelopes, request IDs, and usage records.
Control which agents can call which tools and how much they may spend.
Models and tools share one balance; failed Flatkey-side calls cost nothing.
Sign up, grab a single Flatkey API, and replace your base URL. Your existing OpenAI SDK just works.
Set the model ID explicitly for each request. Switch providers without adding another account or integration.
Models and tools share one prepaid balance. If a call fails on our side, you don't pay for it. It's in the SLA.
Discounts come from the live model directory. Official is the 100% baseline; Flatkey shows the current billed share and savings for the four most-discounted featured models.
View All Model PricesOne request, five upstream channel classes. When a channel degrades, the router reroutes automatically — and the SLA is a public document, not a sales promise.
req_8F2A$0.83req_8F2B$0.00Models + toolsReadyModels and tools share one balance, while every successful request gets its own request ID and usage record. Flatkey-side failures are charged at $0.
Every request hits the real lab API — no fp8 re-serves, no silent swaps. 100+ models probed against official fingerprints, on a public log.
Tree-structured sub-keys with budgets and model allowlists, a per-request ledger API, invoices in 48h — on audited infrastructure.
Flatkey’s stability and high-quality support enable our team to focus more on product innovation, rather than on cumbersome operational overhead.
Flatkey’s unified model API enables our users to go live faster with production-grade latency and reliability.
Flatkey’s optimized inference lets creators seamlessly access the latest SOTA models in ComfyUI with zero infrastructure overhead.
A single API that supports all access methods — call 100+ models directly from your code, agent, or terminal.
Call any model with an OpenAI-compatible API. Copy a ready-to-run example for your model and language.
View DetailsUse the OpenAI SDK you already know — with Flatkey as the gateway.
View DetailsGenerate images and videos from your terminal. Let your AI assistant drive the workflow.
View DetailsConnect your coding agent with one command, then use Flatkey from your existing projects.
View Detailscurl https://router.flatkey.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-***" \
-d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"Say hello in one sentence."}]}'Integration, model choice, or billing — online support and usage consultation for everything on flatkey.
Builders answering builders — the team is in the channels daily
Reply within 1 business day
Follow or DM
Fastest answer, on the site
Whether you ship an agent today or route billions of tokens a month — one key, a signed SLA, and prices that drop as you grow.