Pricing
$1 of SparkAPI credit = $1 of upstream API usage. We charge exactly what the upstream provider charges us — same numbers you'd see on the official rate card, every model, every time.
How credits work
When you top up, your balance is held as USD-denominated credits. Each API call deducts credits equal to the cost of the underlying request:
credits_charged = (input_tokens / 1,000,000) × input_rate
+ (output_tokens / 1,000,000) × output_rate
Per-model rates live on the Models page. Your running balance and per-call breakdown are in the dashboard.
Worked example
A typical chat call to claude-sonnet-4-6 with 5,000 input tokens and 2,000 output tokens costs:
Call: claude-sonnet-4-6 — 5k input, 2k output
Most production chat workloads sit between 1,000–4,000 input tokens and 200–800 output tokens, so per-call cost is usually a few tenths of a cent.
Cheaper models for high-volume workloads
If you're sending tens of thousands of calls a day, switch to the cheaper tier. Pricing scales linearly:
| Model | 1M in | 1M out | Per $1 |
|---|---|---|---|
gpt-4o-mini | $0.15 | $0.60 | ~1,300 calls* |
claude-sonnet-4-6 | $0.80 | $4.00 | ~285 calls* |
gemini-3-flash-preview | $0.30 | $1.20 | ~667 calls* |
* Assumes 1k input + 200 output tokens per call (a typical short chat message).
Billing cycle
Prepaid — credits are deducted per call in real time. No monthly bills, no overage charges. Top up when you run low; your balance never expires.
Refunds
Within 7 days of purchase, unused credits can be refunded. See the refund policy for the full terms.