---
name: vercel-cost-tuning
description: |
  Optimize Vercel costs through tier selection, sampling, and usage monitoring.
  Use when analyzing Vercel billing, reducing API costs,
  or implementing usage monitoring and budget alerts.
  Trigger with phrases like "vercel cost", "vercel billing",
  "reduce vercel costs", "vercel pricing", "vercel expensive", "vercel budget".
allowed-tools: Read, Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
---

# Vercel Cost Tuning

## Prerequisites
- Access to Vercel billing dashboard
- Understanding of current usage patterns
- Database for usage tracking (optional)
- Alerting system configured (optional)

## Instructions

### Step 1: Analyze Current Usage
Review Vercel dashboard for usage patterns and costs.

### Step 2: Select Optimal Tier
Use the cost estimation function to find the right tier.

### Step 3: Implement Monitoring
Add usage tracking to catch budget overruns early.

### Step 4: Apply Optimizations
Enable batching, caching, and sampling where appropriate.

## Output
- Optimized tier selection
- Usage monitoring implemented
- Budget alerts configured
- Cost reduction strategies applied

## Error Handling

See `{baseDir}/references/errors.md` for comprehensive error handling.

## Examples

See `{baseDir}/references/examples.md` for detailed examples.

## Resources
- [Vercel Pricing](https://vercel.com/pricing)
- [Vercel Billing Dashboard](https://dashboard.vercel.com/billing)
