Pricing Unit Economics
pricing_unit_economicsCompute unit economics from measured AI cost per call and usage profiles, then write pricing blocks to store/pricing.md for app pricing decisions.
Instructions
Compute unit economics from the measured AI cost per call and usage profiles, and write the generated blocks of store/pricing.md.
Use when: pricing a built app with real eval data. For quick what-if numbers at idea stage use aso_unit_economics. Returns: {ok, products: [{margin, ...}], path}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. | |
| apple_cut | No | Apple's commission as a fraction: 0.15 (Small Business Program, default) or 0.30. | |
| cost_text | No | Measured AI cost in USD per text call; omit to read from backend/eval/results. | |
| cost_photo | No | Measured AI cost in USD per photo call; omit to read from backend/eval/results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||