Skip to main content

Credit-based billing

The SmartlyQ API uses a prepaid credit system called SmartlyQ Credits (SQC). Every API call that consumes AI resources deducts credits from your Developer wallet.

Developer wallet

Your wallet is separate from your SmartlyQ subscription. Top it up from the Developer Dashboard.
PackagePrice (EUR)
250 SQC5
750 SQC15
3,000 SQC60
7,500 SQC150
Enable auto-recharge to keep your wallet funded automatically.

How pricing works

Credit cost per request depends on:
  1. AI model used — larger models cost more
  2. Token count — input + output tokens consumed
  3. Operation type — text, image, video, audio
The formula:
cost_sqc = (provider_cost_usd × markup × sqc_per_usd) + platform_fee
TypeMarkupMinimum SQC
Text generation4.0x1
Image generation3.5x2
Audio (TTS/STT)3.0x1
Video generation2.5xvaries
Presentations3.0x1

Checking your balance

curl https://api.smartlyq.com/v1/wallet \
  -H "Authorization: Bearer sqk_live_xxxxxxxxxxxx"
Response:
{
  "success": true,
  "data": {
    "balance_sqc": 4250,
    "auto_recharge": true
  }
}

Insufficient credits

If your balance is too low, the API returns 402 Payment Required:
{
  "success": false,
  "error": {
    "code": "INSUFFICIENT_CREDITS",
    "message": "Not enough credits. Top up your wallet.",
    "balance_sqc": 0
  }
}