Skip to main content

Billing Modes Quick Reference

A quick comparison guide for choosing between User Completions and Usage by Model billing modes.

Quick Comparison

When to Use Each Mode

User Completions Mode

Choose this when:
  • ✅ You want predictable, fixed costs
  • ✅ You’re within existing license limits
  • ✅ You’re building internal tools
  • ✅ You want to use existing quota allocations
  • ✅ You need simple cost management
Example Use Cases:
  • Internal chatbots
  • Development and testing
  • Low-volume applications
  • Fixed-budget projects

Usage by Model Mode

Choose this when:
  • ✅ You need detailed cost tracking
  • ✅ You’re using expensive models frequently
  • ✅ You want to pay only for actual usage
  • ✅ You need granular usage analytics
  • ✅ You have high-volume requirements
Example Use Cases:
  • Production applications
  • High-volume AI services
  • Cost-sensitive projects
  • Multi-model applications

API Usage

When using the external API with billing modes:

Rate Limits

Default Rate Limits

  • Requests per minute: 60 (configurable)
  • Requests per hour: 1,000 (configurable)
  • Daily limits: 100 requests (configurable)
  • Monthly limits: 10,000 requests (configurable)

Billing Mode Specific Limits

  • User Completions: Based on license quota
  • Usage by Model: Additional dollar-based limits

SMLTP Policy Integration

Both billing modes support SMLTP policy enforcement:

SMLTP Configuration Example

Configuration Examples

User Completions Configuration

Usage by Model Configuration

Error Scenarios

User Completions Errors

Usage by Model Errors

Migration Guide

From User Completions to Usage by Model

  1. Enable Usage by Model for the user
  2. Update API key configuration
  3. Monitor usage and costs
    • Track token usage
    • Monitor monthly spending
    • Adjust limits as needed

From Usage by Model to User Completions

  1. Verify user has sufficient quota
    • Check license tier
    • Verify monthly limits
  2. Update API key configuration
  3. Monitor completion usage
    • Track completion counts
    • Ensure fallback behavior works

Cost Estimation

User Completions Costs

  • Fixed cost: Based on license tier
  • No additional charges: Beyond existing license
  • Predictable: Same as web interface usage

Usage by Model Costs

  • Variable cost: Based on token usage
  • Model-specific pricing: Different rates per model
  • Example costs:
    • GPT-5.1: provider pricing applies
    • Claude Sonnet 4.6: provider pricing applies
    • GPT-5 Nano: provider pricing applies

Monitoring Tips

User Completions Monitoring

  • Track completion counts daily
  • Monitor quota consumption
  • Set alerts for approaching limits
  • Review usage patterns monthly

Usage by Model Monitoring

  • Track token usage and costs
  • Monitor monthly spending
  • Set dollar limit alerts
  • Review cost breakdown by model

Security Considerations

Both Modes

  • Use IP restrictions for sensitive apps
  • Rotate API keys regularly
  • Monitor for unusual activity
  • Implement proper error handling

Usage by Model Specific

  • Set appropriate dollar limits
  • Monitor for cost spikes
  • Review model usage patterns
  • Track expensive model usage

Support Resources

Documentation

Admin Panel

  • APIs Section: Create and manage API keys
  • Users Section: Enable Usage by Model

Common Issues

  1. Usage by Model not working: Check user permissions
  2. Quota exceeded: Enable Usage by Model or increase limits
  3. Cost spikes: Review model usage and set limits
  4. Authentication errors: Verify API key and permissions