What is an OCU?
An OCU (Ona Compute Unit) is Ona’s standard unit of measurement for resource consumption. OCUs represent the computational resources used by your environments and AI features. Key points about OCUs:- Standardized measurement: OCUs provide a consistent way to measure resource usage across different features
- Time-based consumption: OCUs are consumed over time while resources are active
- Credit conversion: Your subscription credits are converted to OCUs for actual usage tracking
- Resource scaling: Different environment sizes and AI operations consume OCUs at different rates
Environment Usage
Running environments consume OCUs based on their computational requirements and duration.How Environment OCUs Work
OCUs are spent depending on your usage. Agentic capabilities: (approximate examples)- Explain a small code base: 1 OCU
- Explain a large, complex code base: 3 OCUs
- Create a new web app from scratch: 4 OCUs
- Adding a new feature to a medium-sized code base: 8 OCUs
- OCUs are consumed while environments are running
- Consumption is proportional to the amount of resources used. Examples include:
- A regular VM (4vCPUs / 16GB RAM): 1 OCU / hour
- A GPU-accelerated VM (16 vCPUs / 64GB RAM): 7 OCUs / hour
 
How Conversion Works
Credit system:- Monthly allocation: Subscription plans include a specific number of credits
- OCU conversion: Credits are converted to OCUs at a fixed rate
- Usage tracking: OCU consumption is tracked in real-time
- Credit depletion: When OCUs are consumed, equivalent credits are deducted
Optimizing OCU Usage
Maximize your credit efficiency with these optimization strategies.Environment Optimization
Best practices:- Delete unused environments: Remove environments when not needed
- Right-size environments: Choose appropriate environment size for your tasks
AI Usage Optimization
Efficient AI usage:- Targeted requests: Ask specific, focused questions
- Context awareness: Provide relevant context to get better responses
- Review before requesting: Check if information is available in documentation first
- Batch similar requests: Combine related questions when possible
Troubleshooting Usage Issues
Common usage-related issues and solutions.High OCU Consumption
Potential causes:- Long-running environments: Environments left running unnecessarily
- Oversized environments: Using larger environments than needed
- Frequent AI usage: Heavy reliance on AI features
- Multiple concurrent environments: Running several environments simultaneously
- Review active environments: Check and stop unused environments
- Optimize environment size: Use smallest suitable environment configuration
- Use environment sharing: Share environments within teams when appropriate
Credit Depletion
When credits run low:- Top-up credits: Purchase additional credits for immediate access
- Upgrade subscription: Move to higher-tier plan with more credits
- Optimize usage: Implement usage optimization strategies
Next Steps
- Billing Overview - Manage subscriptions, payments, and credit top-ups
- Environment Inventory - Track team environment usage
- Organizations Overview - Manage team settings and policies