How Credits Work
Credit Value
By default, 1 credit = $0.50 USD. This value is configurable by platform administrators.Margin Multiplier
The platform applies a margin multiplier (default: 2x) to the raw provider cost before converting to credits. This covers platform overhead and infrastructure.Credit Calculation
For every billable operation:- Raw cost — The actual cost from the AI provider (e.g., $0.01 for a chat completion)
- Charged cost — Raw cost multiplied by the margin (e.g., 0.02)
- Credits burned — Charged cost divided by credit value (e.g., 0.50 = 0.04 credits)
The margin multiplier and credit value are platform-wide settings configured by superadmins. All organizations use the same rates.
What Consumes Credits
Credits are consumed by various operations across the platform:Fixed-mode prompts (welcome messages, system prompts) do not consume credits because they do not call an AI model. Only generated-mode prompts that trigger an LLM call are billed.

The credits and billing page showing your organization's credit balance
Credit Wallet
Each organization has a credit wallet that tracks:- Current balance — How many credits are available
- Total credits purchased — Lifetime credits added to the wallet
- Total credits used — Lifetime credits consumed
Tracking Usage
Usage Dashboard
Navigate to Billing in the sidebar to see your organization’s usage:
The analytics dashboard showing usage trends and breakdowns
- Credit balance with progress bar showing usage against your plan allocation
- Usage breakdown by operation type (chat, embeddings, vector ops, storage)
- Daily usage trend — See how your usage patterns over time
- Per-agent breakdown — Which agents consume the most credits
Per-Conversation Cost
Each conversation tracks token usage and cost:- Input tokens and output tokens per message
- Cost per message based on the model’s pricing
- Total conversation cost
Credit Ledger
Every credit transaction is recorded in an immutable credit ledger. Each entry includes:- Transaction type — Debit (usage) or credit (purchase, refund)
- Amount — Credits consumed or added
- Balance before and after — Running balance at the time of transaction
- Reference — Link to the specific operation (chat message, embedding batch, etc.)
- Timestamp — When the transaction occurred
Cost Optimization Tips
Choose cost-effective models
Choose cost-effective models
Model pricing varies dramatically. GPT-3.5 Turbo or Gemini Flash can be 10-50x cheaper than GPT-4 Turbo for simple use cases. Match your model to the complexity of the task.
Use fixed-mode prompts where possible
Use fixed-mode prompts where possible
Fixed welcome messages and static system prompts do not call the AI model and cost nothing. Only use generated mode when you genuinely need dynamic, context-aware content.
Optimize knowledge base content
Optimize knowledge base content
Well-organized, relevant content reduces the number of search queries needed and improves hit rates. Remove outdated or duplicate content that wastes embedding and storage credits.
Monitor per-agent usage
Monitor per-agent usage
Some agents may consume far more credits than others. Use the per-agent breakdown to identify high-cost agents and optimize their model selection or prompt length.
Superadmin Billing Dashboard
Platform superadmins have access to an additional billing dashboard at Admin > Billing that shows:- Raw cost vs. charged revenue — Platform margin visibility
- Provider breakdown — Costs by provider (OpenRouter, Pinecone, S3, etc.)
- Daily trend — Revenue and cost over time
- Top organizations — Which orgs consume the most
- Plan mix — Distribution of organizations across plans

