Skip to main content
Blitzy tracks platform usage for billing based on code generation and onboarding activities. Usage metrics aggregate at different organizational levels depending on your subscription type, enabling administrators to monitor consumption and manage quotas.

Metered Activities

Code Generation

Usage is recorded when AI successfully generates code for your projects:
MetricDescription
Lines GeneratedTotal lines of code added, edited, or removed
Files TouchedNumber of files modified during generation
Hours SavedEstimated developer time saved
Each pull request includes both the Agent Action Plan (AAP) and the Project Guide under blitzy/documentation. Only the Project Guide contributes to your LoC total - the AAP is not counted toward Lines Generated.
When it counts: Only successful code generation tasks contribute to usage. Failed or incomplete operations are not billed.

Code Onboarding

Usage is recorded when you successfully onboard an existing codebase:
MetricDescription
Lines OnboardedTotal lines of code imported into the system
Files OnboardedNumber of files processed during onboarding
When it counts: Usage is recorded upon successful onboarding completion and project graph updates.

Usage Aggregation by Subscription

Usage visibility and aggregation differ by subscription tier:
SubscriptionProjectUserTeamCompany
FreeYesYesNoNo
EnterpriseYesYesYesYes
Enterprise subscriptions provide comprehensive visibility across all organizational levels, enabling administrators to analyze usage patterns and optimize resource allocation.

Team Attribution

Attribution Requirements

For Enterprise subscriptions, usage is attributed to teams when both conditions are met:
  1. The user is a member of the team
  2. The team has access to the project
If either condition is false, usage is tracked only at the project and user levels.

Multiple Team Membership

When a user belongs to multiple teams with access to the same project:
  • Usage is attributed to each qualifying team independently
  • Each team’s metrics reflect the full usage amount
  • This enables accurate tracking for shared project scenarios
Example: A developer on both “Frontend Team” and “Platform Team” generates code on a shared project. The usage appears in both teams’ metrics.

Attribution Hierarchy

Usage flows through the following levels:
Project → User → Team(s) → Company
LevelWhat It Tracks
ProjectAll activity on a specific project
UserAll activity by a specific user across projects
TeamAll activity by team members on team-accessible projects
CompanyAll activity across the entire organization

No Team Access Scenarios

ScenarioResult
User has no team membershipUsage tracked at project and user level only
User’s teams lack project accessUsage tracked at project and user level only
Enterprise with no qualifying teamCompany-level tracking uses user’s company

Quotas & Overages

Subscription Quotas

Each subscription includes quotas for:
  • Lines Generated - Maximum code generation capacity
  • Lines Onboarded - Maximum codebase size for onboarding

Overage Handling

When usage exceeds plan limits:
  1. An overage record is created
  2. Platform access continues uninterrupted
  3. Overage amounts are tracked separately for billing
Overages are categorized by type (generation vs. onboarding) and tracked with payment status.
Free users will have ingestion blocked if the selected codebase surpasses the current limit.

Excluded Activities

The following activities are not metered:
  • Failed or incomplete operations
  • File mapping and analysis
  • Internal processing steps
Only completed code generation and onboarding operations count toward quotas.

Usage Summary

ActivityMetered?Quota Applies?
Completed code generationYesYes
Completed code onboardingYesYes
Failed operationsNoNo
File analysisNoNo

Teams & Roles

Team membership and access control

Project Sharing

Project access and team collaboration