# 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.

Source: https://kongapiai.com/en/docs

## 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](https://kongapiai.com/en/docs/limits).

## Where to start

- You set it up for yourself or your team: read the [Quickstart](https://kongapiai.com/en/docs/quickstart).
- Someone gave you a key: read [You were given a key](https://kongapiai.com/en/docs/got-a-key).
- You use Claude Code, Codex or Cursor: read [Set up your tool](https://kongapiai.com/en/docs/tools).
- You write an app that calls the API: read [API](https://kongapiai.com/en/docs/api) and [Errors](https://kongapiai.com/en/docs/errors).
- You want prices: see [Models and prices](https://kongapiai.com/en/docs/models) and [Plans](https://kongapiai.com/en/docs/plans).
