# Price-Anything (price.fastmesh.dev) > Deterministic 5-domain microeconomics and pricing optimization engine for SaaS founders, AI API builders, e-commerce operators, and autonomous AI agents. Pure Python 3 stdlib deterministic math with recomputable gross-margin lift, copyable JSON + HTML pricing cards, cross-tenant competitor benchmark caching, native JSON-RPC 2.0 MCP, 0%-commission treg hub QuickJS recipe, and a strict $0 charge on HTTP 422 invalid inputs. ## Core Identity & Service URLs - Base URL: https://price.fastmesh.dev - Interactive 5-Second Try-Now Studio: https://price.fastmesh.dev/ - Service Health Check: https://price.fastmesh.dev/health - OpenAPI 3.1.0 Specification: https://price.fastmesh.dev/openapi.json - Native Streamable MCP Endpoint (JSON-RPC 2.0): https://price.fastmesh.dev/mcp - Agent Skill Instructions: https://price.fastmesh.dev/skill.md - Support Contact: ops@fastmesh.dev ## API Endpoints - `GET /health` — Service liveness, active domain registry, cache & ledger status. - `POST /api/v1/optimize` — Unified polymorphic pricing optimizer across all 5 domains (`domain` in JSON body). - `POST /api/v1/optimize/{domain}` — Domain-scoped pricing endpoint (`saas_tiers`, `ai_credits`, `ecom_elasticity`, `van_westendorp`, `ppp_global`). - `POST /api/v1/batch` — Concurrent multi-SKU batch pricing solver with hard per-request budget and item ceiling (`max_budget_micros`, `max_items`). - `POST /mcp` — Native JSON-RPC 2.0 MCP server (`initialize`, `notifications/initialized`, `ping`, `tools/list`, `tools/call`). - `POST /api/v1/checkout` — Self-serve Creem prepaid credit-pack checkout ($19 Starter / $79 Growth / $199 Scale). - `GET /api/v1/credits/balance` — Tenant prepaid credit balance and recent ledger entries (`X-Tenant-Id` or `?tenant_id=`). - `POST /webhooks/creem` — Idempotent Creem payment webhook verified via HMAC-SHA256 (`creem-signature`). - `GET /openapi.json` — Complete OpenAPI 3.1.0 machine-readable schema. - `GET /llms.txt` — This LLM and agent discovery manifest. - `GET /skill.md` — Installable agent skill guide with copy-paste REST & MCP payloads. ## 5 Deterministic Pricing Domains 1. `saas_tiers` — SaaS Subscription & Feature Tiering Optimizer - Parses current tiers or public competitor pricing HTML/JSON, detects free-tier cannibalization and tier-step imbalances, solves an optimal 3-to-4 tier structure with Decoy Tier anchor and optimal annual billing discount, and returns recomputable gross-margin lift plus embeddable JSON and HTML pricing cards. 2. `ai_credits` — AI / API Usage Metering & Prepaid Credit-Pack Bundler - Computes cache-adjusted per-call COGS, heavy/medium/light user call distributions, conservative breakage safety floors, optimal prepaid credit-pack ladders ($19/$79/$199 or custom), and margin-protected overage unit rates. 3. `ecom_elasticity` — E-Commerce SKU Price Elasticity & Promo Profit Solver - Fits exact OLS log-log demand elasticity (`epsilon = d ln Q / d ln P`) from historical `(price, quantity)` pairs, solves the Lerner-index gross-margin-maximizing retail price with explicit economic caps for inelastic (`|epsilon| <= 1`) and hyper-elastic (`|epsilon| > 8`) regimes, emits automatic RED-FLAG negative-margin warnings when `COGS >= price`, and solves bundle / spend-$X-get-$Y-off profit floors. 4. `van_westendorp` — Van Westendorp PSM & Gabor-Granger Survey Parser - Parses raw CSV or JSON respondent willingness-to-pay rows (`too_cheap`, `cheap`/`bargain`, `expensive`, `too_expensive`) plus optional Gabor-Granger purchase probabilities, and deterministically computes exact piecewise-linear CDF intersections (`PMC`, `PME`, `OPP`, `IDP`), acceptable price corridor, and revenue/profit peaks. 5. `ppp_global` — Global Purchasing Power Parity & Competitor Spread Localized Pricer - Computes localized charm-rounded regional pricing tiers for `US`, `EU`, `UK`, `JP`, `IN`, `BR`, and `SEA` (plus custom markets) blending PPP indices, competitor spread, COGS margin floor, and anti-arbitrage VPN floor. ## Native MCP Tools (`POST /mcp`) - `price_optimize` — Polymorphic dispatcher accepting `domain` plus domain payload. - `price_optimize_saas_tiers` — SaaS tiering, decoy anchor, cannibalization audit, and HTML card generator. - `price_optimize_ai_credits` — AI/API prepaid credit-pack and overage margin optimizer. - `price_optimize_ecom_elasticity` — OLS log-log SKU elasticity, Lerner index, negative-margin guard, and promo floor. - `price_optimize_van_westendorp` — Van Westendorp PSM (`PMC`/`PME`/`OPP`/`IDP`) and Gabor-Granger revenue solver. - `price_optimize_ppp_global` — 7-region global PPP localization with anti-arbitrage VPN floor. - `price_optimize_batch` — Concurrent multi-SKU batch pricing under hard budget lock. ## Pricing, $0 Invalid-Input Policy & Privacy Guarantees - Prepaid Credit Packs (No subscription lock-in, non-expiring credits, zero revenue split): - Starter Pack (`price_anything_starter_19`): $19 one-time — 100 optimization credits ($0.19/credit) - Growth Pack (`price_anything_growth_79`, Recommended): $79 one-time — 600 optimization credits ($0.1317/credit, 30.7% savings) - Scale Pack (`price_anything_scale_199`): $199 one-time — 2,000 optimization credits ($0.0995/credit, 47.6% savings) - Domain Outcome Pricing (direct API / treg hub micro-USD): `saas_tiers` $0.15 (`150000`), `ai_credits` $0.15 (`150000`), `ecom_elasticity` $0.12 (`120000`), `van_westendorp` $0.20 (`200000`), `ppp_global` $0.10 (`100000`). - Strict $0 Invalid-Input Guarantee: Any negative price, negative COGS, empty array, NaN/Inf, missing required field, malformed JSON, or unsupported domain returns HTTP `422` with `{"ok": false, "billable": false, "charged_micros": 0, "error": "..."}`. Zero credits are debited on failed or invalid calls. - Cross-Tenant Archive Cache: 7d-30d verified competitor pricing cache with `cache_hit: true|false` visibility and 10% same-tenant recheck rate. - Privacy & Data Policy: Zero customer pricing payload resale; zero third-party model training on customer inputs. - Software Disclaimer: Deterministic microeconomic pricing optimization software tooling only; final commercial pricing decisions remain with the operator. ## Reference Guides (SEO/GEO Library) - https://price.fastmesh.dev/guides/saas-decoy-tier-pricing-calculator - https://price.fastmesh.dev/guides/saas-annual-discount-optimizer - https://price.fastmesh.dev/guides/saas-free-tier-cannibalization-audit - https://price.fastmesh.dev/guides/b2b-seat-vs-usage-hybrid-pricing - https://price.fastmesh.dev/guides/developer-tool-pricing-page-teardown - https://price.fastmesh.dev/guides/ai-api-credit-pack-pricing-calculator - https://price.fastmesh.dev/guides/prepaid-token-bundle-breakage-model - https://price.fastmesh.dev/guides/gpu-inference-margin-protection-pricing - https://price.fastmesh.dev/guides/ai-agent-overage-tiering-calculator - https://price.fastmesh.dev/guides/ecommerce-log-log-price-elasticity-calculator - https://price.fastmesh.dev/guides/lerner-index-optimal-retail-price-solver - https://price.fastmesh.dev/guides/ecommerce-bundle-discount-profit-floor - https://price.fastmesh.dev/guides/sku-negative-margin-detector-api - https://price.fastmesh.dev/guides/seasonal-markdown-clearance-optimizer - https://price.fastmesh.dev/guides/van-westendorp-psm-online-solver - https://price.fastmesh.dev/guides/gabor-granger-revenue-curve-calculator - https://price.fastmesh.dev/guides/b2b-willingness-to-pay-survey-parser - https://price.fastmesh.dev/guides/global-ppp-regional-pricing-matrix - https://price.fastmesh.dev/guides/anti-arbitrage-vpn-price-floor-calculator - https://price.fastmesh.dev/guides/saas-localized-pricing-india-brazil-sea - https://price.fastmesh.dev/guides/japan-uk-saas-tier-localization-guide - https://price.fastmesh.dev/guides/multi-currency-pricing-parity-api-guide