One gateway for frontier models, at published per-token rates.

Point the client library you already use at our gateway and pay for the tokens you spend. Prepaid balance, no subscription, no monthly minimum.

  • Published rates per model and token type: what a standard account is charged
  • One key; one base URL for every model, plus the Messages API for text models
  • Pay as you go, from a prepaid balance
  • 37models in the catalogue
  • 30available today
  • Per tokenbilling, from a prepaid balance

Product

What you get

Properties of the system, not promises.

Your own client

One key and one gateway. An OpenAI-compatible library pointed at /api/v1 reaches every model, text and image alike; a Messages API client pointed at the gateway root reaches the text models in their native shape. Nothing is reinstalled, and no account with the model vendor is needed.

Learn more

Per-token billing

Input, output, cache write and cache read are counted separately, at the published rate of the model the request used. Image models are metered the same way: the frame is output tokens, and the count depends on the frame shape. A refused request costs nothing.

Learn more

Spend controls

A prepaid balance and as many keys as you need, each revocable on its own. On request, a daily and a monthly ceiling in dollars on the whole account.

Learn more

A log you can check

Every answered request with its model, its four token counters and its charge.

Bodies are not stored

Prompts and answers stream through. We keep the model, the counters, the charge and the time.

Ceilings on the account

A daily and a monthly ceiling in dollars can be set on the account on request, shared by all your keys. A catch for a leaked key.

Several keys, each revocable

One per project or machine. Revoke any of them in your account; it stops working at once.

One pool per model

Refusals are retried across our pool. When nothing is free you get a 503, never a different model.

No subscription

You pay for tokens spent, not for a month. An idle balance does not expire.

Cache priced as cache

Cache writes and cache reads have their own rates in the catalogue — and in an agent session they are most of the tokens.

A person answers

Your message goes straight to the people who run the gateway, not to a ticket robot.

Models

One gateway, many models

One key reaches all of them. Open any model to see its pricing, its route and where it stands.

Browse all models

Getting started

Setup in three steps

Nothing is reinstalled: the client library you already use, pointed at a different base URL.

Full quickstart
  1. 1

    Sign up and add funds

    Create an account, top up the balance from the account page, and create a key — several, if you like.
  2. 2

    Point your client at the gateway

    Set the base URL — /api/v1 for an OpenAI-compatible client, the gateway root for a Messages API client — and pass the key as a bearer token. Each library takes exactly these two settings.
  3. 3

    Send requests

    Each one is billed per token at the model’s published rate and shows up in your log with its counters and its charge.

Get started

Prepaid balance, topped up from your account. Unused balance is refunded on request, within up to 10 business days — write to us from your account email.

api.gtokens.ioNo subscriptionSeveral keys per account