Get started
KONG API AI documentation
KONG API AI is one gateway for every AI request: one API address, one key per person, one limit per key, and a cost statement per key each month.
What KONG API AI does
You point your tool or your code at a single API address. KONG API AI receives the request, sends it to a suitable AI source, and records who used how much.
- One API address. Compatible with the OpenAI format (
/v1/chat/completions,/v1/responses) and the Anthropic format (/v1/messages). - One key per person. Members, apps, customers and agents each get their own key. Nobody shares a password or a root key.
- One limit per key. Limits are monthly and in USD. At the limit the key stops, and nothing more is spent.
- A statement per key. You see what each key, person and customer spent.
Two ways to pay for AI
| Way | Who you pay | When it fits |
|---|---|---|
| Buy tokens through KONG API AI | You add credits to KONG API AI; they are spent per token | You want many models without opening an account at each provider |
| Use AI sources you already have | Your provider, as before | You already have an API key or a subscription and only need keys and limits |
You can use both at the same time. See Limits and routing.
Where to start
- You set it up for yourself or your team: read the Quickstart.
- Someone gave you a key: read You were given a key.
- You use Claude Code, Codex or Cursor: read Set up your tool.
- You write an app that calls the API: read API and Errors.
- You want prices: see Models and prices and Plans.