Understand OpenRouter model pricing tiers and cost calculation. Use when budgeting or comparing model costs. Trigger with phrases like 'openrouter pricing', 'openrouter cost', 'model pricing', 'openrouter budget'.
From openrouter-packnpx claudepluginhub nickloveinvesting/nick-love-plugins --plugin openrouter-packThis skill is limited to using the following tools:
references/cost-comparison-tool.mdreferences/cost-optimization.mdreferences/credit-system.mdreferences/errors.mdreferences/examples.mdreferences/model-pricing-tiers.mdreferences/monitoring-costs.mdGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Details PluginEval's skill quality evaluation: 3 layers (static, LLM judge), 10 dimensions, rubrics, formulas, anti-patterns, badges. Use to interpret scores, improve triggering, calibrate thresholds.
This skill explains OpenRouter's per-token pricing model, how to calculate costs for different models, and strategies for staying within budget.
/models endpoint and inspect pricing.prompt and pricing.completion fields for each model(prompt_tokens * prompt_price + completion_tokens * completion_price) using the usage object from each responseX-OpenRouter-Cost response header or query /api/v1/auth/key to check remaining creditsgoogle/gemma-2-9b-it:free) and reserve expensive models for complex reasoning| Error | Cause | Fix |
|---|---|---|
| 402 Payment Required | Insufficient credits for the chosen model | Top up credits or switch to a cheaper/free model |
| Unexpected costs | Completion tokens exceeded max_tokens | Always set max_tokens to cap output length |
| Price mismatch | Using outdated pricing data | Re-query /models endpoint; pricing updates dynamically |
See ${CLAUDE_SKILL_DIR}/references/errors.md for full error reference.
See ${CLAUDE_SKILL_DIR}/references/examples.md for runnable code samples.