Skip to main content
Glama
by clipsense
financial_simulation.py3.31 kB
#!/usr/bin/env python3 """Financial simulation for ClipSense pricing tiers""" # ACTUAL COSTS from end-to-end testing test_costs = [0.0208, 0.0281, 0.0242] avg_cost_per_analysis = sum(test_costs) / len(test_costs) print("="*80) print("CLIPSENSE FINANCIAL SIMULATION") print("="*80) print(f"\nActual cost per analysis (from testing): ${avg_cost_per_analysis:.4f}") print() # Pricing tiers tiers = { "FREE": {"price": 0, "limit": 3}, "PRO": {"price": 29, "limit": 50}, "TEAM": {"price": 99, "limit": 999999} # Current backend setting } print("CURRENT PRICING STRUCTURE:") print("-" * 80) for tier_name, tier_data in tiers.items(): limit_display = "UNLIMITED" if tier_data["limit"] >= 999999 else tier_data["limit"] print(f"{tier_name:10} | ${tier_data['price']:6.2f}/mo | {limit_display} analyses") print() # Profit/loss analysis print("PROFIT/LOSS ANALYSIS:") print("="*80) for tier_name, tier_data in tiers.items(): price = tier_data["price"] limit = tier_data["limit"] print(f"\n{tier_name} TIER (${price}/mo):") print("-" * 80) if tier_name == "FREE": scenarios = [3] elif tier_name == "PRO": scenarios = [10, 25, 50] # Low, medium, full usage else: # TEAM scenarios = [500, 1000, 2000, 4000, 5000, 10000] # Various usage levels for usage in scenarios: if usage > limit and limit < 999999: continue cost = usage * avg_cost_per_analysis profit = price - cost margin = (profit / price * 100) if price > 0 else 0 status = "✅" if profit > 0 else "❌ LOSS" print(f" {usage:5} analyses/mo: Cost=${cost:6.2f} | Profit=${profit:7.2f} | Margin={margin:6.1f}% {status}") # Break-even analysis for TEAM tier print("\n" + "="*80) print("TEAM TIER BREAK-EVEN ANALYSIS:") print("="*80) team_price = tiers["TEAM"]["price"] breakeven_analyses = team_price / avg_cost_per_analysis print(f"Break-even point: {breakeven_analyses:,.0f} analyses/month") print(f"Above {breakeven_analyses:,.0f} analyses = YOU LOSE MONEY") print() # Worst-case scenarios print("WORST-CASE SCENARIOS (TEAM tier at $99/mo):") print("-" * 80) worst_cases = [ ("Heavy QA team", 15000), ("Enterprise power user", 20000), ("Automated testing", 30000), ] for scenario_name, usage in worst_cases: cost = usage * avg_cost_per_analysis loss = cost - team_price print(f"{scenario_name:25} | {usage:6,} analyses | Cost=${cost:7.2f} | LOSS=${loss:7.2f}") print("\n" + "="*80) print("RECOMMENDATION:") print("="*80) print(""" ⚠️ UNLIMITED is financially dangerous with current costs! OPTIONS: 1. CAP the "TEAM" tier (RECOMMENDED) - Team: $99/mo for 500 analyses (cost=$12, profit=$87, 88% margin) - Enterprise: $299/mo for 2,000 analyses (cost=$48.40, profit=$250.60, 84% margin) - Custom pricing for 2,000+ analyses 2. RAISE Team tier price significantly - Team: $199/mo "unlimited" (safe up to 8,000 analyses) - Still risky if power users abuse 3. USAGE-BASED PRICING above threshold - Team: $99/mo for first 500, then $0.05/additional analysis - Protects margins while scaling revenue with usage CURRENT STATUS: Backend has UNLIMITED (999999), README says UNLIMITED Some docs say 500 - INCONSISTENT & RISKY """) print("="*80)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/clipsense/-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server