LLM Proxy Markup Calculator

Reselling model access (inside an app, a white-label API, an agency tool)? Enter what your provider charges, what you add on top, and your volume. See what you keep after payment fees.

Upstream price (enter your provider's current numbers; the defaults are placeholders, not any real model's price)
Your usage and markup
Result per month

The kit

A working starting point for the proxy itself: one Python file (FastAPI) that forwards OpenAI-compatible chat requests with your upstream key, gives each customer their own key, prices every call from the upstream usage block at your markup, and logs it to SQLite for billing. Offline tests included. Non-streaming only; you bring the provider key and your own billing.

Pricing

Free

This calculator.

$19

One-time: the proxy starter kit (proxy.py + example config + README). Bring your own key.

Check your upstream provider's terms on reselling API access before you charge anyone.