Overview
Pricing Intelligence uses the Pricing2Yaml format (formerly Yaml4SaaS) to represent SaaS pricing models in a structured, machine-readable format. This format enables rigorous mathematical analysis, validation, and optimization of pricing configurations. Pricing2Yaml is an implementation of the Pricing4SaaS conceptual model, designed to capture the complete pricing structure of SaaS platforms including plans, features, usage limits, and add-ons.Document Structure
A Pricing2Yaml document consists of five main sections:Metadata Section
The top-level metadata provides context for the pricing model:The name of the SaaS platform
Version of the Pricing2Yaml specification used
Date when this pricing model was captured
ISO currency code for all prices (e.g., USD, EUR)
Whether annual payment options are available
Features
Features represent the functionalities offered by the SaaS. Each feature is classified according to the Pricing4SaaS taxonomy.Feature Types
Pricing2Yaml defines eight feature types based on their purpose:INFORMATION
Analytics, reports, dashboards, and data visualization capabilities
INTEGRATION
Connections to external services, APIs, or platforms
DOMAIN
Core business functionality specific to the platform
AUTOMATION
Automated workflows, bots, and task scheduling
MANAGEMENT
User management, permissions, and access control
GUARANTEE
SLAs, uptime guarantees, and quality assurances
SUPPORT
Customer support channels and service levels
PAYMENT
Payment methods and billing options
Feature Definition
Each feature includes:Human-readable explanation of the feature
Data type:
BOOLEAN, NUMERIC, or TEXTDefault value when not explicitly overridden. Type must match
valueTypeFeature category from the Pricing4SaaS taxonomy
Extended Feature Properties
Certain feature types support additional properties: INTEGRATION features:Usage Limits
Usage limits define quantitative restrictions on features or resources.Limit Types
Based on the Pricing4SaaS model:NON_RENEWABLE
Fixed caps that don’t reset (e.g., maximum users, storage capacity)
RENEWABLE
Quotas that reset periodically (e.g., monthly API calls)
RESPONSE_DRIVEN
Limits based on system responses (e.g., concurrent requests)
TIME_DRIVEN
Temporal constraints (e.g., session duration)
Limit Definition
Example from Buffer’s pricing model:Explanation of what the limit controls
Always
NUMERIC for usage limitsDefault limit value
Unit of measurement (e.g., “GB”, “users”, “API calls/month”)
Limit classification (NON_RENEWABLE, RENEWABLE, etc.)
Features that this limit applies to
Plans
Plans are the base subscription tiers offered by the SaaS.Target audience or use case for this plan
Price when paid monthly
Price when paid annually (per month equivalent)
Billing unit (e.g., “user/month”, “channel/year”)
Feature overrides for this plan. Only include features that differ from defaults.
Usage limit overrides for this plan
Effective price (typically matches monthlyPrice)
Inheritance Model: Plans inherit all default feature and limit values. Only specify overrides in the plan definition. Features/limits set to
null in a plan explicitly disable those capabilities.Add-Ons
Add-ons are optional purchases that extend plan capabilities.List of plan names that can purchase this add-on
Additional monthly cost
Additional annual cost (per month equivalent)
Additional features unlocked by this add-on
New usage limits added by this add-on
Incremental increases to existing limits
Real-World Example
Here’s a simplified excerpt from Buffer’s actual pricing model:Configuration Space
Each Pricing2Yaml model defines a configuration space — the set of all valid subscription combinations:- Base plan selection (exactly one)
- Add-on selections (zero or more, subject to
availableForconstraints) - Effective features and limits (computed from plan + add-ons)
Next: Harvey Agent
Learn how the Harvey agent reasons about pricing models using the ReAct pattern
Further Reading
MCP Tools
iPricing tool for fetching Pricing2Yaml documents
Validation
CSP-based validation and analysis
Real Examples
Browse real SaaS pricing models
Pricing4SaaS Paper
Academic foundation