How it works

Klinn is one API for every major model, OpenAI-compatible for chat. A request goes to the cheapest healthy provider, and you pay our price for it.

The flow

  1. 1
    Connect
    Open the console Home, create one key, and paste it into Claude, Cursor, or Codex. Or skip the key: an agent can pay one chat call from its wallet.
  2. 2
    Call
    Point any SDK at https://api.klinn.dev/v1. Most model ids have no vendor prefix (claude-sonnet-5, gpt-oss-120b). A provider's own id works as an alias. Decisions models answer at their own endpoint.
  3. 3
    Pay
    A key draws your balance from the tokens the answer used. A wallet with no key pays the quoted USDC amount for one chat call, before the first byte.

Two ways to pay

A balance is the usual way: one key, one bill, every model. x402 is the other, for chat: no account and no key. The API answers 402 with the price of that completion, the agent pays it in USDC on Base, and the answer comes back in the same exchange. Decisions need a key.

Prices can change at any time. The price you see is what the next request costs.