Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.darkbloom.dev/llms.txt

Use this file to discover all available pages before exploring further.

Darkbloom charges per token, deducted from a prepaid credit balance you load in advance. There are no subscription fees, seat fees, or platform markups — providers keep 100% of the token revenue. You pay only for what you use, and unused credits remain in your account indefinitely.

Pricing table

Prices are per 1 million tokens.
Pricing may change. Fetch current rates programmatically at any time with GET /v1/pricing — no authentication required.
ModelInput (per 1M tokens)Output (per 1M tokens)
Gemma 4 26B$0.065$0.20
Qwen3.5 27B$0.10$0.78
Qwen3.5 122B$0.13$1.04
MiniMax M2.5$0.06$0.50
0% platform fee. Every dollar you spend goes directly to the providers running inference.

How billing works

Your account holds a credit balance denominated in USD. When you make an inference request:
  1. The coordinator tallies your input and output tokens after the response completes.
  2. The cost is deducted from your balance at the rates above.
  3. If your balance reaches zero, requests will be rejected until you add more credits.
There are no trailing charges or invoices. You add credits before you use them.

Fetch current pricing

curl https://api.darkbloom.dev/v1/pricing
This endpoint is public — no API key required. It returns the current per-token rates for every model on the network.

Check your balance

curl https://api.darkbloom.dev/v1/payments/balance \
  -H "Authorization: Bearer $DARKBLOOM_API_KEY"
The response includes your total balance and the withdrawable amount (relevant for providers):
{
  "balance_micro_usd": 5000000,
  "balance_usd": 5.00,
  "withdrawable_micro_usd": 0,
  "withdrawable_usd": 0.00
}

Check usage history

curl https://api.darkbloom.dev/v1/payments/usage \
  -H "Authorization: Bearer $DARKBLOOM_API_KEY"
Each entry in the response shows a single request’s model, token counts, cost, and timestamp:
[
  {
    "request_id": "req_01abc...",
    "model": "qwen3.5-27b-claude-opus-8bit",
    "prompt_tokens": 412,
    "completion_tokens": 187,
    "cost_micro_usd": 187400,
    "timestamp": "2026-04-30T14:22:01Z"
  }
]
cost_micro_usd is the cost in millionths of a dollar. Divide by 1,000,000 for the USD value.