AiCredits
Pricing

Reselling LLM API Access: The Pricing Math That Does Not Lose Money

A worked approach to turning token costs into a retail price that survives refunds, rounding, and real customer behaviour.

Published 2026-11-21 Updated 2026-11-21 7 min

A Price That Looks Right Can Still Lose Money

New resellers often price by adding a fixed markup to the provider's per-million-token rate. It works on paper and fails in production, because real usage is not uniform: short calls cost more per token in overhead, long calls hit context limits, and refunds do not return the tokens you already spent.

The result is a plan that is profitable on average and unprofitable on exactly the customers who use it most.

Start From Cost Per Real Request

The only number you can trust is the cost of an actual request in your own traffic: input tokens, output tokens, and any cache discount applied. Aggregate those into a cost per request by plan, then price from that figure rather than from the provider's headline rate.

Keep a column for the effective margin after payment processing. A percentage that looks healthy before fees can be thin after them, especially on low-priced tiers.

Make Rounding Explicit

Round in one direction only, and document where. If you round tokens up to the nearest block, say so in the plan page. Ambiguity here creates support tickets and refund requests that cost more than the rounding itself.

The same applies to free trial credits. Give a fixed allowance with a clear expiry, not an open-ended 'fair use' promise you cannot measure.

Keep the Math Auditable

When a customer disputes a charge, you need to reproduce the number from raw events. That means keeping a queryable record of requests, tokens, and plan at the time of the call — and a calculator that turns those into the amount charged.

The LLM Ops Pack includes a billing calculator and a set of SQL examples for exactly this reproduction step, plus a post-mortem template for when the numbers do go wrong.

The pack: https://tools.aicreditsapi.com/tools/llm-ops-pack

Try Lint in 2 seconds

Wrote something? Paste it here for a free grammar check. No account needed.

More Tools →

Related Tools

Was this article helpful?

| Share on X Reddit Copy link

服务器宕机了?别等用户告诉你

Wakeless 梦哨 帮你 30 秒监控网站 / API / SSL 证书,宕机秒级告警到邮箱、飞书、Slack。免费档 30 个监控,永久免费,无需信用卡。

免费开始监控 →
💬
反馈意见 / Feedback ×