Token Usage¶
AI Studio provides comprehensive token usage tracking across all pods and AI models. Monitor consumption, set budgets, and optimize costs.
Overview¶
Token usage tracking includes:
- Per-Model Breakdown — See which models consume the most tokens
- Per-Pod Tracking — Monitor consumption by project
- Per-Task Detail — Understand token cost of individual tasks
- Audit Log — Complete history of all token consumption
- Budget Controls — Set limits and alerts
Token Consumption by Model¶
Different AI models have different token costs:
| Model | Input Cost | Output Cost | Best For |
|---|---|---|---|
| Claude 3.5 Sonnet | Higher | Higher | Complex reasoning, architecture |
| GPT-4o | Medium | Medium | General tasks, documentation |
| Gemini 1.5 Pro | Medium | Medium | Large context, multi-file analysis |
| DeepSeek Coder | Lower | Lower | Cost-efficient code generation |
Viewing Model Breakdown¶
- Navigate to AI Studio
- Click Token Usage
- View the model breakdown chart:
Token Usage by Model (This Month)
┌─────────────────────────────────────────┐
│ Claude 3.5 Sonnet ████████ 45% │
│ GPT-4o ██████ 30% │
│ Gemini 1.5 Pro ████ 15% │
│ DeepSeek Coder ██ 10% │
└─────────────────────────────────────────┘
Per-Pod Usage¶
Each pod tracks its own token consumption:
| Pod | Tokens Used | Budget | Remaining |
|---|---|---|---|
| API Migration | 125,000 | 200,000 | 75,000 |
| Mobile App | 89,000 | 150,000 | 61,000 |
| Documentation | 34,000 | 50,000 | 16,000 |
Pod Usage Detail¶
Click on a pod to see:
- Total tokens consumed
- Breakdown by model
- Breakdown by task
- Daily consumption trend
- Remaining budget
Per-Task Usage¶
Individual tasks show their token cost:
| Task | Model | Input Tokens | Output Tokens | Total |
|---|---|---|---|---|
| Design API schema | Claude 3.5 | 2,500 | 4,200 | 6,700 |
| Write unit tests | GPT-4o | 1,800 | 3,100 | 4,900 |
| Refactor module | DeepSeek | 3,200 | 2,800 | 6,000 |
Audit Log¶
The token audit log records every AI operation:
| Timestamp | Pod | Task | Model | Input | Output | Total |
|---|---|---|---|---|---|---|
| 2026-06-08 14:32 | API Migration | Design schema | Claude 3.5 | 2,500 | 4,200 | 6,700 |
| 2026-06-08 14:28 | Mobile App | Write tests | GPT-4o | 1,800 | 3,100 | 4,900 |
| 2026-06-08 14:15 | API Migration | Refactor | DeepSeek | 3,200 | 2,800 | 6,000 |
Filtering the Audit Log¶
Filter by:
- Date Range — Specific time period
- Pod — Single pod or all pods
- Model — Specific AI model
- Task — Individual task
Exporting Audit Data¶
- Navigate to the audit log
- Apply filters
- Click Export
- Choose format: CSV or JSON
- Download the report
Subscription Plans¶
AI Studio offers three subscription tiers:
Solo¶
| Feature | Details |
|---|---|
| Pods | 1 active pod |
| Monthly Tokens | 500,000 tokens |
| Models | All models available |
| File Storage | 5 GB |
| Team Members | 1 (yourself) |
| Support | Community support |
Starter¶
| Feature | Details |
|---|---|
| Pods | 5 active pods |
| Monthly Tokens | 2,000,000 tokens |
| Models | All models available |
| File Storage | 25 GB |
| Team Members | Up to 5 |
| Support | Email support |
Pro¶
| Feature | Details |
|---|---|
| Pods | Unlimited pods |
| Monthly Tokens | 10,000,000 tokens |
| Models | All models + priority access |
| File Storage | 100 GB |
| Team Members | Unlimited |
| Support | Priority support + SLA |
Managing Your Subscription¶
- Navigate to AI Studio → Subscription
- View current plan details
- Click Upgrade or Downgrade to change plans
- Changes take effect at the next billing cycle
Budget Controls¶
Setting a Monthly Budget¶
- Navigate to AI Studio → Token Usage
- Click Set Budget
- Enter your monthly token limit
- Choose action when limit is reached:
- Alert Only — Continue but notify administrators
- Pause Pods — Suspend all AI processing
- Block New Tasks — Prevent new task creation
- Click Save
Budget Alerts¶
Configure alerts at threshold levels:
| Threshold | Action |
|---|---|
| 50% | Email notification |
| 75% | Email + dashboard warning |
| 90% | Email + dashboard warning + Slack alert |
| 100% | Execute budget action (alert/pause/block) |
Token Top-Ups¶
If you need more tokens mid-cycle:
- Navigate to AI Studio → Subscription
- Click Buy More Tokens
- Select top-up amount:
- 100,000 tokens
- 500,000 tokens
- 1,000,000 tokens
- Custom amount
- Confirm purchase
Top-up tokens are added immediately and don’t affect your next billing cycle.
Cost Optimization¶
Tips for Reducing Token Usage¶
- Use DeepSeek for routine tasks — Lower cost for standard code generation
- Batch similar tasks — Combine related work to reduce context overhead
- Provide clear requirements — Reduces iteration and rework
- Limit file context — Only attach necessary files to pods
- Review before re-running — Check if existing output can be modified
Model Selection Guide¶
| Task Type | Recommended Model | Cost |
|---|---|---|
| Simple code generation | DeepSeek Coder | $ |
| Documentation writing | GPT-4o | $$ |
| Architecture design | Claude 3.5 Sonnet | $$$ |
| Large file analysis | Gemini 1.5 Pro | $$ |
| Code refactoring | DeepSeek Coder | $ |
| Complex debugging | Claude 3.5 Sonnet | $$$ |
Reporting¶
Usage Reports¶
Available reports:
| Report | Description |
|---|---|
| Daily Summary | Token usage per day |
| Weekly Trend | Week-over-week comparison |
| Monthly Report | Full monthly breakdown |
| Pod Comparison | Usage across all pods |
| Model Analysis | Cost-effectiveness by model |
Scheduled Reports¶
Set up automated report delivery:
- Click Schedule Report
- Choose report type
- Set frequency (daily, weekly, monthly)
- Add recipient emails
- Click Save
Best Practices¶
- Monitor daily — Check token usage at the start of each day
- Set budgets early — Establish limits before usage grows
- Review audit logs — Identify unexpected consumption patterns
- Right-size models — Use cost-efficient models when appropriate
- Plan token needs — Estimate requirements before starting large projects
What’s Next¶
- Pods — Manage AI project teams
- AI Gateway — Learn about the underlying infrastructure
Aún con dudas? Pregunta en Discord o explore tutoriales