From 497ab410cb593ddccb6252d0c6991f48c542ed63 Mon Sep 17 00:00:00 2001 From: Liam Monaghan Date: Tue, 30 Dec 2025 23:16:01 -0500 Subject: [PATCH 1/2] updated pay-as-you-go pricing.yaml --- pay-as-you-go/pricing.yaml | 70 +++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/pay-as-you-go/pricing.yaml b/pay-as-you-go/pricing.yaml index ce21aa4..5c6330f 100644 --- a/pay-as-you-go/pricing.yaml +++ b/pay-as-you-go/pricing.yaml @@ -16,18 +16,18 @@ products: active: true default: true slug: "free" - prices: - - intervalUnit: null - name: "Free Plan" - intervalCount: null - type: "single_payment" - trialPeriodDays: null - isDefault: true - unitPrice: 0 - usageEventsPerUnit: null - active: true - slug: "free" - usageMeterId: null + price: + intervalUnit: null + name: "Free Plan" + intervalCount: null + type: "single_payment" + trialPeriodDays: null + isDefault: true + unitPrice: 0 + usageEventsPerUnit: null + active: true + slug: "free" + usageMeterId: null features: [] - product: name: "message_credits" @@ -36,17 +36,17 @@ products: pluralQuantityLabel: "units" default: false slug: "message_credits" - prices: - - intervalUnit: "month" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 0 - usageEventsPerUnit: 1 - active: true - slug: "message_credits" - usageMeterSlug: "message_credits" + price: + intervalUnit: "month" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 0 + usageEventsPerUnit: 1 + active: true + slug: "message_credits" + usageMeterSlug: "message_credits" features: [] - product: name: "Message Topup" @@ -55,18 +55,18 @@ products: active: true default: false slug: "message_topup" - prices: - - intervalUnit: null - name: "Default Price" - intervalCount: null - type: "single_payment" - trialPeriodDays: null - isDefault: true - unitPrice: 10000 - usageEventsPerUnit: null - active: true - slug: "message_topup" - usageMeterId: null + price: + intervalUnit: null + name: "Default Price" + intervalCount: null + type: "single_payment" + trialPeriodDays: null + isDefault: true + unitPrice: 10000 + usageEventsPerUnit: null + active: true + slug: "message_topup" + usageMeterId: null features: - "100_messages" usageMeters: From d76a3c43820363d210d9b3d782603226e89d4788 Mon Sep 17 00:00:00 2001 From: Liam Monaghan Date: Tue, 30 Dec 2025 23:29:41 -0500 Subject: [PATCH 2/2] fixed other example pricing.yaml files --- generation-based-subscription/pricing.yaml | 206 ++++++++-------- tiered-usage-gated-subscription/pricing.yaml | 232 +++++++++---------- usage-limit-subscription/pricing.yaml | 114 ++++----- 3 files changed, 276 insertions(+), 276 deletions(-) diff --git a/generation-based-subscription/pricing.yaml b/generation-based-subscription/pricing.yaml index d1e4293..2e6dd45 100644 --- a/generation-based-subscription/pricing.yaml +++ b/generation-based-subscription/pricing.yaml @@ -110,17 +110,17 @@ products: active: true default: false slug: "basic_monthly" - prices: - - intervalUnit: "month" - name: "Basic Plan (Monthly)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 1000 - usageEventsPerUnit: null - active: true - slug: "basic_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Basic Plan (Monthly)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 1000 + usageEventsPerUnit: null + active: true + slug: "basic_monthly" + usageMeterId: null features: - "basic_fast_generations" - "general_commercial_terms" @@ -132,18 +132,18 @@ products: active: true default: false slug: "fast_generation_top_ups" - prices: - - intervalUnit: null - name: "Fast Generation Top-Up" - intervalCount: null - type: "single_payment" - trialPeriodDays: null - isDefault: true - unitPrice: 400 - usageEventsPerUnit: null - active: true - slug: "fast_generation_top_up" - usageMeterId: null + price: + intervalUnit: null + name: "Fast Generation Top-Up" + intervalCount: null + type: "single_payment" + trialPeriodDays: null + isDefault: true + unitPrice: 400 + usageEventsPerUnit: null + active: true + slug: "fast_generation_top_up" + usageMeterId: null features: - "fast_generation_top_up_credit" - product: @@ -152,35 +152,35 @@ products: active: true default: false slug: "fast_generation_usage_price" - prices: - - intervalUnit: "month" - name: "Fast Generation Usage" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 5 - usageEventsPerUnit: 1 - active: true - slug: "fast_generation_usage" - usageMeterSlug: "fast_generations" + price: + intervalUnit: "month" + name: "Fast Generation Usage" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 5 + usageEventsPerUnit: 1 + active: true + slug: "fast_generation_usage" + usageMeterSlug: "fast_generations" features: [] - product: name: "Free Plan" active: true default: true slug: "free" - prices: - - intervalUnit: "month" - name: "Free Plan" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 0 - usageEventsPerUnit: null - active: true - slug: "free" - usageMeterId: null + price: + intervalUnit: "month" + name: "Free Plan" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 0 + usageEventsPerUnit: null + active: true + slug: "free" + usageMeterId: null features: [] - product: name: "HD Video Minute Top-Ups" @@ -188,18 +188,18 @@ products: active: true default: false slug: "hd_video_minute_top_ups" - prices: - - intervalUnit: null - name: "HD Video Minute Top-Up" - intervalCount: null - type: "single_payment" - trialPeriodDays: null - isDefault: true - unitPrice: 1000 - usageEventsPerUnit: null - active: true - slug: "hd_video_minute_top_up" - usageMeterId: null + price: + intervalUnit: null + name: "HD Video Minute Top-Up" + intervalCount: null + type: "single_payment" + trialPeriodDays: null + isDefault: true + unitPrice: 1000 + usageEventsPerUnit: null + active: true + slug: "hd_video_minute_top_up" + usageMeterId: null features: - "hd_video_minute_top_up_credit" - product: @@ -208,18 +208,18 @@ products: active: true default: false slug: "hd_video_minute_usage_price" - prices: - - intervalUnit: "month" - name: "HD Video Minute Usage" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 100 - usageEventsPerUnit: 1 - active: true - slug: "hd_video_minute_usage" - usageMeterSlug: "hd_video_minutes" + price: + intervalUnit: "month" + name: "HD Video Minute Usage" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 100 + usageEventsPerUnit: 1 + active: true + slug: "hd_video_minute_usage" + usageMeterSlug: "hd_video_minutes" features: [] - product: name: "Mega" @@ -227,17 +227,17 @@ products: active: true default: false slug: "mega_monthly" - prices: - - intervalUnit: "month" - name: "Mega Plan (Monthly)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 12000 - usageEventsPerUnit: null - active: true - slug: "mega_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Mega Plan (Monthly)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 12000 + usageEventsPerUnit: null + active: true + slug: "mega_monthly" + usageMeterId: null features: - "mega_fast_generations" - "mega_hd_video_minutes" @@ -253,17 +253,17 @@ products: active: true default: false slug: "pro_monthly" - prices: - - intervalUnit: "month" - name: "Pro Plan (Monthly)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 6000 - usageEventsPerUnit: null - active: true - slug: "pro_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Pro Plan (Monthly)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 6000 + usageEventsPerUnit: null + active: true + slug: "pro_monthly" + usageMeterId: null features: - "pro_fast_generations" - "pro_hd_video_minutes" @@ -279,17 +279,17 @@ products: active: true default: false slug: "standard_monthly" - prices: - - intervalUnit: "month" - name: "Standard Plan (Monthly)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 3000 - usageEventsPerUnit: null - active: true - slug: "standard_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Standard Plan (Monthly)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 3000 + usageEventsPerUnit: null + active: true + slug: "standard_monthly" + usageMeterId: null features: - "standard_fast_generations" - "standard_hd_video_minutes" diff --git a/tiered-usage-gated-subscription/pricing.yaml b/tiered-usage-gated-subscription/pricing.yaml index 4a6d691..5df8eac 100644 --- a/tiered-usage-gated-subscription/pricing.yaml +++ b/tiered-usage-gated-subscription/pricing.yaml @@ -156,17 +156,17 @@ products: pluralQuantityLabel: "users" default: false slug: "business_monthly" - prices: - - intervalUnit: "month" - name: "Business Plan (per user/month)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 3000 - usageEventsPerUnit: null - active: true - slug: "business_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Business Plan (per user/month)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 3000 + usageEventsPerUnit: null + active: true + slug: "business_monthly" + usageMeterId: null features: - "gpt_5_fast" - "gpt_5_thinking" @@ -194,17 +194,17 @@ products: active: true default: true slug: "free_tier" - prices: - - intervalUnit: "month" - name: "Free Plan" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 0 - usageEventsPerUnit: null - active: true - slug: "free_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Free Plan" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 0 + usageEventsPerUnit: null + active: true + slug: "free_monthly" + usageMeterId: null features: - "gpt_5_fast" - "context_16k" @@ -220,18 +220,18 @@ products: active: true default: false slug: "o3_tracking" - prices: - - intervalUnit: "month" - name: "Default Price" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 0 - usageEventsPerUnit: 1 - active: true - slug: "o3_tracking" - usageMeterSlug: "o3_messages" + price: + intervalUnit: "month" + name: "Default Price" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 0 + usageEventsPerUnit: 1 + active: true + slug: "o3_tracking" + usageMeterSlug: "o3_messages" features: [] - product: name: "o4 mini-high Tracking" @@ -239,18 +239,18 @@ products: active: true default: false slug: "o4_mini_high_tracking" - prices: - - intervalUnit: "month" - name: "Default Price" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 0 - usageEventsPerUnit: 1 - active: true - slug: "o4_mini_high_tracking" - usageMeterSlug: "o4_mini_high_messages" + price: + intervalUnit: "month" + name: "Default Price" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 0 + usageEventsPerUnit: 1 + active: true + slug: "o4_mini_high_tracking" + usageMeterSlug: "o4_mini_high_messages" features: [] - product: name: "o4 mini Tracking" @@ -258,18 +258,18 @@ products: active: true default: false slug: "o4_mini_tracking" - prices: - - intervalUnit: "month" - name: "Default Price" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 0 - usageEventsPerUnit: 1 - active: true - slug: "o4_mini_tracking" - usageMeterSlug: "o4_mini_messages" + price: + intervalUnit: "month" + name: "Default Price" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 0 + usageEventsPerUnit: 1 + active: true + slug: "o4_mini_tracking" + usageMeterSlug: "o4_mini_messages" features: [] - product: name: "GPT5 Tracking" @@ -277,18 +277,18 @@ products: active: true default: false slug: "gpt5_tracking" - prices: - - intervalUnit: "month" - name: "Default Price" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 0 - usageEventsPerUnit: 1 - active: true - slug: "gpt5_tracking" - usageMeterSlug: "gpt_5_thinking_messages" + price: + intervalUnit: "month" + name: "Default Price" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 0 + usageEventsPerUnit: 1 + active: true + slug: "gpt5_tracking" + usageMeterSlug: "gpt_5_thinking_messages" features: [] - product: name: "Agent Tracking" @@ -296,18 +296,18 @@ products: active: true default: false slug: "agent_tracking" - prices: - - intervalUnit: "month" - name: "Default Price" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 0 - usageEventsPerUnit: 1 - active: true - slug: "agent_tracking" - usageMeterSlug: "agent_messages" + price: + intervalUnit: "month" + name: "Default Price" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 0 + usageEventsPerUnit: 1 + active: true + slug: "agent_tracking" + usageMeterSlug: "agent_messages" features: [] - product: name: "Deep Research Tracking" @@ -315,18 +315,18 @@ products: active: true default: false slug: "deep_research_tracking" - prices: - - intervalUnit: "month" - name: "Default Price" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 0 - usageEventsPerUnit: 1 - active: true - slug: "deep_research_tracking" - usageMeterSlug: "deep_research_requests" + price: + intervalUnit: "month" + name: "Default Price" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 0 + usageEventsPerUnit: 1 + active: true + slug: "deep_research_tracking" + usageMeterSlug: "deep_research_requests" features: [] - product: name: "Plus" @@ -334,17 +334,17 @@ products: active: true default: false slug: "plus" - prices: - - intervalUnit: "month" - name: "Plus Plan (Monthly)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 2000 - usageEventsPerUnit: null - active: true - slug: "plus_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Plus Plan (Monthly)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 2000 + usageEventsPerUnit: null + active: true + slug: "plus_monthly" + usageMeterId: null features: - "gpt_5_fast" - "gpt_5_thinking" @@ -371,17 +371,17 @@ products: active: true default: false slug: "pro" - prices: - - intervalUnit: "month" - name: "Pro Plan (Monthly)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 20000 - usageEventsPerUnit: null - active: true - slug: "pro_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Pro Plan (Monthly)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 20000 + usageEventsPerUnit: null + active: true + slug: "pro_monthly" + usageMeterId: null features: - "gpt_5_fast" - "gpt_5_thinking" diff --git a/usage-limit-subscription/pricing.yaml b/usage-limit-subscription/pricing.yaml index f202cd6..467487e 100644 --- a/usage-limit-subscription/pricing.yaml +++ b/usage-limit-subscription/pricing.yaml @@ -62,18 +62,18 @@ products: pluralQuantityLabel: "requests" default: false slug: "fast_request_overages" - prices: - - intervalUnit: "month" - name: "Fast Request Overage" - intervalCount: 1 - type: "usage" - trialPeriodDays: null - isDefault: true - unitPrice: 10 - usageEventsPerUnit: 1 - active: true - slug: "fast_request_overage" - usageMeterSlug: "fast_premium_requests" + price: + intervalUnit: "month" + name: "Fast Request Overage" + intervalCount: 1 + type: "usage" + trialPeriodDays: null + isDefault: true + unitPrice: 10 + usageEventsPerUnit: 1 + active: true + slug: "fast_request_overage" + usageMeterSlug: "fast_premium_requests" features: [] - product: name: "Hobby" @@ -81,17 +81,17 @@ products: active: true default: true slug: "hobby" - prices: - - intervalUnit: "month" - name: "Hobby Plan (Free)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 0 - usageEventsPerUnit: null - active: true - slug: "hobby_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Hobby Plan (Free)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 0 + usageEventsPerUnit: null + active: true + slug: "hobby_monthly" + usageMeterId: null features: - "hobby_trial_requests" - product: @@ -100,18 +100,18 @@ products: active: true default: false slug: "pro_monthly" - prices: - - intervalUnit: "month" - name: "Pro Plan (Monthly)" - intervalCount: 1 - type: "subscription" - trialPeriodDays: 14 - isDefault: true - unitPrice: 2000 - usageEventsPerUnit: null - active: true - slug: "pro_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Pro Plan (Monthly)" + intervalCount: 1 + type: "subscription" + trialPeriodDays: 14 + isDefault: true + unitPrice: 2000 + usageEventsPerUnit: null + active: true + slug: "pro_monthly" + usageMeterId: null features: - "pro_fast_requests" - "unlimited_slow_requests" @@ -123,17 +123,17 @@ products: active: true default: false slug: "pro_plus" - prices: - - intervalUnit: "month" - name: "Pro+ Plan (Monthly)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 6000 - usageEventsPerUnit: null - active: true - slug: "pro_plus_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Pro+ Plan (Monthly)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 6000 + usageEventsPerUnit: null + active: true + slug: "pro_plus_monthly" + usageMeterId: null features: - "pro_plus_fast_requests" - "unlimited_slow_requests" @@ -145,17 +145,17 @@ products: active: true default: false slug: "ultra" - prices: - - intervalUnit: "month" - name: "Ultra Plan (Monthly)" - intervalCount: 1 - type: "subscription" - isDefault: true - unitPrice: 20000 - usageEventsPerUnit: null - active: true - slug: "ultra_monthly" - usageMeterId: null + price: + intervalUnit: "month" + name: "Ultra Plan (Monthly)" + intervalCount: 1 + type: "subscription" + isDefault: true + unitPrice: 20000 + usageEventsPerUnit: null + active: true + slug: "ultra_monthly" + usageMeterId: null features: - "ultra_fast_requests" - "unlimited_slow_requests"