usage-based-pricing
Design pricing models that developers understand, accept, and can predict. Trigger phrases: usage-based pricing, API pricing, metered billing, devel…
它会碰到什么
逐条看命中(2 条严重或高危)
- 严重
references/detailed-guide.md:266instruction-harmful-additive5. **Security** - "SOC 2, GDPR, HIPAA included"
- 严重
SKILL.md:125instruction-harmful-additive- Bandwidth included in pricing
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Usage-Based Pricing
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use
Use this skill when you need design pricing models that developers understand, accept, and can predict. Trigger phrases: usage-based pricing, API pricing, metered billing, developer pricing, pricing page, cost calculator, pay as you go, pricing transparency, competitive pricing, developer billing.
Design pricing models that developers understand, accept, and can predict—without surprise bills or confusing metrics.
Usage Metrics Developers Accept
Good Metrics: Direct Value Correlation
API calls/requests
- Developers understand what triggers a call
- Easy to monitor and predict
- Scales with actual usage
- Example: Stripe charges per transaction, Twilio per message
Compute time
- Clear relationship to server costs
- Predictable for consistent workloads
- Fair for variable workloads
- Example: AWS Lambda per GB-second, Vercel build minutes
Storage
- Simple to understand
- Easy to predict growth
- Clear cost driver
- Example: S3 per GB stored, databases per GB
Bandwidth/data transfer
- Makes sense for CDN and hosting
- Can be surprising if not monitored
- Example: Cloudflare per GB, Vercel bandwidth
Active users (MAU)
- Works for auth and user-facing tools
- Aligns with customer's growth
- Example: Auth0, Firebase Auth
Problematic Metrics
"Compute units" or proprietary measures
Bad: "1 CU = 0.25 CPU seconds at 1.5GHz equivalent with 256MB memory allocation"
Developers can't estimate usage.
Compound metrics
Bad: "Charged per operation, where operation = read OR write OR delete,
multiplied by document size factor"
Too complex to predict.
Metrics that punish success
Bad: Per-user pricing that penalizes viral growth
Developer's successful launch becomes a cost crisis.
Metrics with hidden multipliers
Bad: "Per request, but each retry counts, and warming requests count,
and health checks count"
Actual usage is unpredictable.
Metric Selection Framework
| Metric | When It Works | When It Fails |
|--------|---------------|---------------|
| API calls | Discrete operations | Streaming, persistent connections |
| Compute time | Variable workloads | Idle resources still cost |
| Storage | Data products | Temporary/cache data |
| Bandwidth | CDN, media | Retry-heavy protocols |
| MAU | User-facing apps | Machine-to-machine |
| Seats | Collaboration tools | Individual developers |
Examples: Pricing That Works
Stripe
- Per-transaction percentage (2.9% + 30¢)
- Aligns with customer revenue
- Predictable and simple
- Volume discounts for scale
Twilio
- Per-message/per-minute pricing
- Clear unit costs
- Usage dashboard and alerts
- Prepaid credits for discount
Vercel
- Clear tier structure
- Generous free tier
- Usage-based for bandwidth/builds
- Team pricing separate
DigitalOcean
- Predictable monthly pricing
- Clear size/price relationship
- Hourly billing option
- Bandwidth included in pricing
Examples: Pricing Problems
Confusing Unit Pricing
Some cloud providers:
- Per "compute unit" (undefined)
- Multiple meters per service
- Different rates for different operations
- Bill requires expert interpretation
Enterprise Tax
Some companies:
- SSO requires enterprise tier
- SSO tier is 10x team tier
- No intermediate option
- Punishes security-conscious teams
Punishing Success
Some user-based pricing:
- Free tier: 100 users
- Paid tier: $0.10/user
- Viral success = immediate $$$
- Discourages growth
Limitations
- Use this skill only when the task clearly matches its upstream source and local project context.
- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/agentic-awesome-skills/skills/usage-based-pricing/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 3 个不同仓库或目录里都有叫 usage-based-pricing 的技能。它们内容并不相同,别混用:
- sickn33/agentic-awesome-skills — Design pricing models that developers understand, accept, and can predict. Trigger phrases
- sickn33/agentic-awesome-skills — Design pricing models that developers understand, accept, and can predict. Trigger phrases