atmn init command provides pre-built templates to quickly scaffold common pricing models. Each template demonstrates different billing patterns and feature types.
Available Templates
OpenAI Template
Use case: API-based services with credit consumptionFeatures: Credit system for different model tiers
T3 Chat Template
Use case: Messaging applications with seat-based billingFeatures: Seat management and message limits
Railway Template
Use case: Infrastructure services with resource-based pricingFeatures: Usage tiers and resource limits
Linear Template
Use case: SaaS tools with feature flags and usage limitsFeatures: Boolean features and flexible usage controls
Using Templates
Interactive Template Selection
Runatmn init to see the interactive template picker:
- Choose your preferred template
- Customize plan names and pricing (optional)
- Set up initial configuration
Template Customization
Each template can be customized during initialization:- Plan Names: Modify tier names (free → starter, pro → growth, etc.)
- Pricing: Adjust base prices and usage rates
- Features: Add or remove features from plans
- Limits: Change included quantities and reset intervals
Template Structure
All templates follow the same structure:Customizing Templates
After initialization, you can modify the generated configuration:Add New Features
Modify Pricing Models
Add Free Trials
Template Best Practices
Choosing the Right Template
OpenAI Template when you have:- Variable cost per operation
- Different service tiers (basic vs premium models)
- Credit/token-based consumption
- Per-user pricing (seats)
- Usage limits per user
- Team/organization billing
- Resource consumption (CPU, storage, bandwidth)
- Infrastructure-as-a-Service model
- Tiered resource pricing
- Feature-based differentiation
- Boolean feature flags
- Project/workspace limits
Modification Strategies
- Start Simple: Begin with the closest template
- Iterate: Use
atmn previewto test changes locally - Sync Often: Push changes with
atmn pushto test in sandbox - Validate: Use data commands to verify billing behavior

