# AI Model Unit Economics AI Agent Connect

> Calculate gross margins, viability, and optimal pricing for AI model API services.

## Overview
- **Category:** finance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_RJTBYNFd9vpy4XTBgFIRD1CJKMT7WCYJycIqY98F/ai-agent-connect
- **Tags:** unit-economics, pricing, margin-analysis, ai-business, profitability

## Description

This MCP server provides essential financial modeling tools for AI model businesses. It allows agents to perform detailed unit economics analysis by calculating gross margin per call using `get_margin_analysis`. Users can assess business health with `check_viability` to ensure margins meet profitability thresholds. The server also supports complex volume discount modeling via `calculate_tiered_pricing` and can suggest ideal price points to hit specific profit targets using `optimize_pricing`.

## Tools

### get_margin_analysis
Calculates the current gross margin percentage for a specific pricing scenario

### optimize_pricing
Suggests an adjusted price per call to achieve a target gross margin

### calculate_tiered_pricing
Evaluates how volume discounts across different usage tiers impact total profitability

### check_viability
Determines if the current unit economics meet the business's profitability thresholds

## Prompt Examples

**Prompt:** 
```
What is my gross margin if I charge $0.05 per call with costs of $0.01 compute, $0.01 data, and $0.01 support?
```

**Response:** 
```
Your gross margin is 60.0%, with a profit of $0.02 per call.
```

**Prompt:** 
```
Is my current model viable if my margin is 30% and my minimum threshold is 40%?
```

**Response:** 
```
No, the model is not viable. There is a margin gap of 10.0%.
```

**Prompt:** 
```
What price should I charge to get a 70% margin if my total costs are $0.03 per call?
```

**Response:** 
```
To achieve a 70% margin, the suggested price per call is $0.10.
```

## Frequently Asked Questions

**How do I calculate my profit per API call?**
You can use the `get_margin_analysis` tool by providing the price per call and the individual costs for compute, data, and support.

**Can this tool help with volume discount strategies?**
Yes, the `calculate_tiered_pricing` tool evaluates how different usage tiers and volume discounts impact your total profitability.

**How can I find the right price to reach a specific margin?**
Use the `optimize_pricing` tool to suggest an adjusted price per call based on your current costs and target gross margin.
