Guide · 5 min read

How to Resell AI API Access: A Responsible Starter Guide

Learn the building blocks of an AI API reseller business, from supplier permission and customer keys to metering and support.

In this guideWhat an AI API reseller actually sells, the permission you need first, the six parts every reseller platform has, how to set prices, and the risks that catch new resellers out.

What a reseller sells

A reseller buys model capacity from a supplier and sells access to its own customers under its own name. Customers get an API key, a balance and a dashboard. Behind the scenes, their requests are passed to the supplier, measured, and billed at the reseller's prices.

The value you add is rarely the model itself. It is one or more of these: a better price because you buy in volume, a payment method your customers can actually use, one key for many models, local-language support, or a product built for a particular group such as agencies, students or game studios. Decide which of these you are offering before you build anything, because it shapes the rest.

Start with permission

This is the step people skip, and it is the one that ends businesses. Most model providers and most gateways forbid reselling access unless you have an agreement that allows it. Sharing one personal key among paying customers usually breaks the supplier's terms, and accounts that do it get closed without notice, taking your customers' service with them.

Before you take a single payment:

The six parts of a reseller platform

1. Customer accounts and keys

Each customer needs their own account and their own API keys, never a copy of yours. Store keys hashed, show them once, and let customers create several, disable them and delete them. Per-key spend limits are a feature customers ask for early.

2. A gateway

The gateway receives each request, checks the key and the balance, forwards the request to the supplier with your own credential, and streams the answer back. It should support the formats tools expect: OpenAI Chat Completions and Responses, and Claude Messages. It must also keep your supplier's identity and error messages out of what customers see, and give clear errors of its own.

3. Metering

You bill from usage, so usage has to be exact. Read input and output tokens from the model's own report on every response, including at the end of a stream. Decide what happens when a response carries no usage, for example when a customer disconnects mid-stream, and mark those requests as estimates.

4. A ledger

Prepaid billing needs a balance per customer that can never be spent twice. The usual pattern is a hold: reserve an estimate when a request starts, charge the exact cost when it ends, and release the difference. Every change to a balance should be recorded, and failed requests should cost nothing.

5. Payments

Customers need a way to top up, and you need to credit a payment exactly once even if the payment provider notifies you twice. Verify the signature on every payment notification. Decide in advance how you handle underpayments, refunds and chargebacks.

6. Support and policies

You are the customer's only point of contact. You need terms of service, a privacy policy, a refund policy, an acceptable-use policy, and a way to answer questions with a request ID in hand.

Setting prices

Start from your real cost per token for each model, which may depend on a multiplier or tier at your supplier. Then decide your markup. Three things to keep in mind:

The risks that catch people out

Cash flow

You pay your supplier before, or as, your customers use the service. A prepaid model on both sides keeps this simple: customers pay you first, and you keep your supplier balance topped up. Running out of supplier balance means every customer's requests fail at once, so monitor it and set alerts.

Abuse

Stolen payment methods, automated sign-ups and prohibited content are part of running any API business. Rate limits per key, sign-up limits, the ability to suspend an account quickly and a clear acceptable-use policy are the minimum.

Supplier outages and changes

Models are withdrawn, renamed and repriced. Tell customers plainly that availability can change, hide models that are failing, and avoid promising an uptime figure you don't control.

Data

Customer prompts pass through your gateway and your supplier. Don't store request content unless you have to, say honestly who processes it, and don't accept regulated data you have no agreement for.

Build or use a platform

Building all six parts is weeks of work and ongoing maintenance, mostly in the unglamorous areas: billing edge cases, streaming, payment notifications and abuse. If your value is in the audience or the service around the API, it is usually faster to start on an existing platform with a reseller programme and build your own later if the numbers justify it.

A checklist before you launch

Interested in reselling CheapTokens capacity under your own brand? Write to [email protected] and tell us about your audience and expected volume.

Create a CheapTokens account ↗

Related guides