# Analyze AI API profitability and pricing tiers. AI Agent Connect

> AI API Margin Analyzer helps you figure out if your current pricing structure actually makes you money. This MCP evaluates the profitability of complex AI API usage tiers, helping you model the impact of discounts and overage fees. You can calculate margins across different usage levels and get recommendations for optimal pricing thresholds to maximize total profit. It's built for finance teams who need hard numbers on API revenue.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_88KdScUXHUpSwfnr93Oc1y7yaRMzUhTnKeLxD3TT/ai-agent-connect
- **Tags:** pricing, margin, api, profitability, tiers

## Description

Running an AI platform means your pricing structure is constantly changing. You need to know if your current tiers are profitable, especially when you introduce discounts or variable usage fees. This MCP gives you the tools to model that complexity. You can use it to calculate the individual profitability percentage for every defined pricing tier. Need to know how much revenue you lose when you offer a commit discount? The MCP evaluates that impact for you. You can also get a high-level overview of how usage volume is distributed across your tiers. Finally, the system suggests the best pricing tier thresholds and unit prices to maximize your total profit, giving you a clear path forward for your billing model.

## Tools

### analyze_tier_margins
Calculates the individual profitability percentage for each defined pricing tier

### calculate_discount_impact
Evaluates how much revenue and margin are sacrificed when applying commit discounts and overage pricing

### get_usage_summary
Provides a high-level overview of how usage volume is distributed across the tiers

### recommend_optimal_structure
Suggests the best pricing tier thresholds and unit prices to maximize total profit

## Prompt Examples

**Prompt:** 
```
What is the margin for my current tiers?
```

**Response:** 
```
The margin for the Standard Tier is 45%, the Growth Tier is 38%, and the Enterprise Tier is 52%.
```

**Prompt:** 
```
Show me a summary of my usage distribution.
```

**Response:** 
```
Total volume is 1,500 units. The primary tier is the Growth Tier, which accounts for 60% of the total volume.
```

**Prompt:** 
```
How much revenue do I lose by offering a 10% commit discount?
```

**Response:** 
```
The total discount loss is $5,000, resulting in an effective margin reduction of 4.2%.
```

## Capabilities

### Assess Tier Profitability
Your agent uses this capability when you ask for the margin percentage of your current pricing tiers.

### Model Discount Loss
The MCP runs this when you need to know the financial hit from offering commit discounts or overage fees.

### Analyze Usage Distribution
You trigger this when you want a quick, high-level view of where your total usage volume is coming from.

### Suggest Optimal Pricing
The system uses this when you want the best possible pricing structure to maximize overall profit.

## Use Cases

### Testing New Discount Structures
Your team wants to offer a 15% discount on annual commits. You use the MCP to calculate the exact margin reduction this discount causes.

### Revising Tier Boundaries
You suspect your 'Growth' tier is too low. You run the optimal structure tool to find a higher threshold that increases overall revenue.

### Quarterly Profit Review
Finance needs to know if the current mix of usage volume is balanced. You run the usage summary to identify which tiers are underutilized.

### Pricing Model Stress Test
Before a major product launch, you run the profitability analysis to ensure the new API usage model remains highly profitable.

## Benefits

- You calculate the exact profitability percentage for every defined pricing tier.
- You quantify the revenue and margin loss caused by commit discounts and overage fees.
- You get a clear, data-driven recommendation for pricing thresholds that maximize profit.
- You see a high-level summary of how usage volume is distributed across your tiers.

## How It Works

Connect your preferred AI client to this MCP. You then prompt your agent with a specific financial question, and the MCP executes the necessary calculation using its specialized tools.

1. Connect your AI client (Claude, Cursor, Windsurf, etc.) to the Vinkius catalog.
2. Tell your agent the financial question you need answered (e.g., 'What is the margin loss?').
3. The MCP identifies the correct tool (like `calculate_discount_impact`) and runs the calculation.
4. Your agent receives a precise, actionable financial result.

## Frequently Asked Questions

**Is this MCP only for API usage?**
No. While it specializes in API usage, its core function is evaluating profitability across any defined usage tiers, making it useful for subscription billing models too.

**Does it tell me if my pricing is good?**
It doesn't give a simple 'yes' or 'no.' Instead, it provides hard metrics, like the optimal tier structure and the exact margin loss from discounts, so you can make an informed decision.

**Can I use this with my existing billing system?**
This MCP analyzes the data you provide to it. It helps you model the financial outcomes, giving you the numbers you need to update your billing system.

**What kind of discounts can I analyze?**
You can evaluate the impact of commit discounts and overage pricing, which are common variables in usage-based billing.
