Credits & Pricing
Pricing model
| Credential type | Markup |
|---|---|
| Platform credentials | 20% above provider list price |
| BYOK | 0% - provider list price, no markup |
| SpendAuth | Operator-set prices (shown at request time) |
The 20% platform markup on non-BYOK requests funds operator payouts and platform infrastructure. Operators earn a share of every request routed through them.
Credits
Credits are denominated in USD. Purchase via Stripe or receive as part of a subscription plan.
Check your balance:
curl -H "Authorization: Bearer sk-tan-YOUR_KEY" \
https://router.tangle.tools/v1/credits{
"data": {
"total_credits": 100.0,
"total_usage": 4.5
}
}total_credits is every credit ever granted (balance plus lifetime spend) and total_usage is lifetime consumption, so your remaining balance is total_credits - total_usage.
Cost per request
Each request is charged based on tokens:
cost = (input_tokens × input_price) + (output_tokens × output_price)Pricing varies by model. Check per-model pricing at GET /api/models or in the X-Tangle-Price-Input / X-Tangle-Price-Output response headers.
Pricing headers on every response
Every response includes pricing headers so you know the cost before it hits your balance:
X-Tangle-Price-Input: 0.000003 # USD per input token
X-Tangle-Price-Output: 0.000015 # USD per output tokenLook up detailed billing for any request via GET /v1/generation.