Documentation
Integrations

How to Manage AI Tokens

Understand AI token allocation, usage tracking, monthly limits, and how to optimize your AI spending

How to Manage AI Tokens

AI providers charge based on tokens — small units of text (roughly 4 characters or ¾ of a word). Course37 tracks every token used across all AI features so you can monitor and control costs.


Platform Token Allocation

Every organization gets 200,000 free tokens per month from Course37's shared AI pool.

DetailValue
Monthly Allocation200,000 tokens
Reset Date1st of every month
Applies ToOrganizations without their own API keys
When ExhaustedAI features pause until next month

These platform tokens use Course37's own API keys. Once you add your own provider API keys, all AI calls go through your account with no platform token limits.


Viewing Token Usage

  1. Go to Settings → Integrations
  2. Scroll to AI Usage section
  3. You'll see:
    • Tokens Used This Month — current usage vs allocation
    • Usage by Feature — breakdown by question generation, grading, student chat, etc.
    • Daily Usage Graph — track usage trends

How Tokens Are Tracked

Course37 tracks tokens at every AI interaction:

MetricDescription
Input TokensTokens sent to the AI (your prompt + context)
Output TokensTokens the AI generates (response)
Total TokensInput + Output (this is what counts toward your usage)

Every AI message stores its token count, so you can audit usage at any time.


Token Usage by Feature

FeatureTypical TokensNotes
MCQ Generation (5 questions)~2,000From topic text
Essay Grading~3,000Depends on essay length
Student AI Chat (1 message)~800-1,500Depends on conversation history
Content Suggestion~300-500Short suggestions
Translation~1,000+Depends on text length

Optimizing Token Usage

  1. Use smaller models for studentsgpt-4o-mini or Groq's llama-3.1-8b use fewer tokens per response
  2. Set a custom prompt — Concise prompts save input tokens on every message
  3. Use Groq for student chat — Groq's open-source models are the cheapest per token
  4. Monitor weekly — Check usage dashboard to catch unexpected spikes

Using Your Own API Keys vs Platform Tokens

Platform TokensYour Own API Keys
Monthly Limit200,000 tokensUnlimited (provider limits)
CostFree (included)Billed by your provider
Models AvailablePlatform defaultAny model your key supports
SpeedShared poolDedicated to your account
Best ForGetting started, low usageProduction, high student volume

Recommendation: Start with platform tokens to try AI features. When you have 50+ active students using AI chat, add your own Groq or OpenAI key.


Related Articles

AItokensusagebillinglimitsallocationmonthlytracking