| name | adobe-cost-tuning |
| description | Optimize Adobe API costs across Firefly Services (generative credits),
PDF Services (document transactions), and Photoshop/Lightroom APIs.
Use when analyzing Adobe billing, reducing API costs,
or implementing usage monitoring and budget alerts.
Trigger with phrases like "adobe cost", "adobe billing", "adobe credits",
"reduce adobe costs", "adobe pricing", "adobe budget".
|
| allowed-tools | Read, Grep |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","design","adobe"] |
| compatibility | Designed for Claude Code |
Adobe Cost Tuning
Overview
Optimize costs across Adobe's consumption-based APIs. Each API family has different pricing models: Firefly uses generative credits, PDF Services uses document transactions, and Photoshop/Lightroom use API call credits.
Prerequisites
- Access to Adobe Admin Console billing (https://adminconsole.adobe.com)
- Understanding of current API usage patterns
- Monitoring infrastructure for usage tracking
Instructions
Step 1: Understand Adobe API Pricing Models
| API | Free Tier | Paid Unit | Key Limit |
|---|
| PDF Services | 500 tx/month | Document Transaction | Per-page for extract, per-file for create |
| Firefly API | Trial credits | Generative Credit | 1 credit per image generated |
| Photoshop API | Trial credits | API Credit | 1 credit per operation (cutout, actions, etc.) |
| Lightroom API | Trial credits | API Credit | 1 credit per auto-edit |
| I/O Events | Included | Free with entitlement | 3,000 events/5sec rate limit |
| Document Generation | Part of PDF Services | Document Transaction | Per-document generated |
Step 2: Track Usage per API
interface ApiUsageEntry {
api: 'firefly' | 'pdf-services' | 'photoshop' | 'lightroom';
operation: string;
timestamp: Date;
durationMs: number;
creditsUsed: number;
}
{
: [] = [];
(: <, >): {
..({ ...entry, : () });
}
(): <, { : ; : }> {
now = ();
monthStart = (now.(), now.(), );
monthly = ..( e. >= monthStart);
monthly.( {
key = entry.;
(!acc[key]) acc[key] = { : , : };
acc[key].++;
acc[key]. += entry.;
acc;
}, {} <, { : ; : }>);
}
(: , : ): { : ; : } {
summary = .();
used = summary[api]?. || ;
remaining = monthlyLimit - used;
{ remaining, : remaining < monthlyLimit * };
}
}