Prompt Optimizer API

Write better prompts. Spend less on tokens. Get better results.

The Problem

Bad prompts waste tokens and produce bad results. You're paying for vague instructions, missing context, and unstructured outputs. This API scores, analyzes, and rewrites your prompts automatically.

Score & Analyze

Get a quality score (0-100) with specific issues identified

Auto-Optimize

Rewrite prompts for cost, quality, or speed targets

Cost Estimation

See token counts and costs across 9+ models

Templates

Battle-tested prompt templates for common tasks

Free

$0/mo
  • 100 requests/day
  • Prompt scoring
  • Basic analysis

Pro

$29/mo
  • Unlimited requests
  • Auto-optimization
  • Templates library
  • MCP integration
Get API Key — $29/mo

Quick start:

curl -X POST https://api.lazy-mac.com/prompt-optimizer/api/v1/analyze \ -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \ -d '{"prompt":"write something about dogs"}'

Built by lazymac · Templates · MCP