Understand how LLM Resayil's credit system works, how we calculate token consumption, and how to manage your account balance and costs.
LLM Resayil uses a credit-based billing system. Credits are automatically deducted from your account based on the number of tokens consumed per API request. This pay-per-token model means you only pay for what you actually use.
Credits are our standard unit of account. When you make an API request, a credit multiplier is applied to the total token count (prompt tokens + completion tokens) to determine how many credits are deducted from your balance.
New accounts receive 1,000 free credits to get started. Use these to explore the API and test different models. No credit card is required for the free tier. When your free credits are exhausted, you'll need to purchase more to continue using the API.
Free Credits Validity: Free credits are valid for 30 days from account creation. After 30 days, your free credits expire. Purchased credits do not expire and remain valid indefinitely.
Credits deducted per request are calculated by multiplying the total token count by the model's credit multiplier. The multiplier varies by model tier — Standard or Frontier.
Prompt and completion tokens are summed, then multiplied by the model's credit multiplier.
Multiplier values are organized by model tier — Standard Models or Frontier Models:
| Model Type | Multiplier | Best For |
|---|---|---|
| Lightweight — small & fast | 0.5× | Classification, short summaries |
| Standard — balanced | 1.0× | General chat, writing, coding |
| Mid-range — larger models | 1.5× | Complex reasoning, long content |
| Model Type | Multiplier | Best For |
|---|---|---|
| Frontier Standard | 2.0× – 2.5× | High-accuracy tasks |
| Frontier Large | 3.0× – 3.5× | Hardest tasks, multi-step reasoning |
Suppose you send a request with 100 prompt tokens and the model responds with 200 completion tokens, using a standard model with a 1.0× multiplier:
prompt_tokens: 100
completion_tokens: 200
total_tokens: 300
credit_multiplier: 1.0 (standard model)
credits_deducted: 300 × 1.0 = 300 credits
-- Premium model example (multiplier 2.5×) --
credits_deducted: 300 × 2.5 = 750 credits
Check your dashboard for the exact multiplier applied to each model.
Understanding how tokens are counted is essential for budgeting. Two types of tokens are counted per request: tokens in your input (prompt) and tokens in the model's output (completion).
Prompt tokens are the tokens in your request message, including any system prompts, message history, and the user's query. Longer conversations and more context mean more prompt tokens and higher costs.
Completion tokens are the tokens the model generates in its response. The max_tokens
parameter in your request limits the maximum number of completion tokens that can be generated.
Every API response includes detailed token usage information:
"usage": {
"prompt_tokens": 45,
"completion_tokens": 128,
"total_tokens": 173
}
LLM Resayil provides API endpoints for querying subscription data, credit balance, and purchase history. All billing endpoints require API key authentication.
GET https://llmapi.resayil.io/api/billing/subscription
Authorization: Bearer YOUR_API_KEY
{
"tier": "pro",
"status": "active",
"expires_at": "2025-06-01T00:00:00Z",
"credits": {
"balance": 4250,
"currency": "credits"
}
}
GET https://llmapi.resayil.io/api/billing/topup-packs
Authorization: Bearer YOUR_API_KEY
{
"packs": [
{ "id": "pack_500", "credits": 500, "price": 5.00, "currency": "USD" },
{ "id": "pack_2000", "credits": 2000, "price": 18.00, "currency": "USD" },
{ "id": "pack_5000", "credits": 5000, "price": 40.00, "currency": "USD" }
]
}
page query parameter to navigate between pages.
GET https://llmapi.resayil.io/api/billing/topup-history?page=1
Authorization: Bearer YOUR_API_KEY
{
"data": [
{
"id": "txn_abc123",
"credits": 2000,
"amount": 18.00,
"currency": "USD",
"status": "completed",
"created_at": "2025-03-01T10:22:00Z"
}
],
"current_page": 1,
"per_page": 20,
"total": 5
}
Note: Top-up purchases must be completed through the web UI at /billing/plans. There is no API endpoint for initiating purchases — payment is processed via the MyFatoorah gateway.
LLM Resayil offers multiple subscription tiers with different request limits and model access.
See the Pricing page for full details on each tier.
Purchase credits anytime through your dashboard. Payments are processed immediately via the MyFatoorah payment gateway. Purchased credits never expire.
Add credits to your account instantly via MyFatoorah. Purchased credits never expire.
Payment Methods: MyFatoorah accepts multiple payment methods including credit cards, debit cards, and local payment options depending on your region. See their website for full details.
Track your API usage and credit consumption from your account dashboard: