openrouter-usage-analytics

Track and analyze OpenRouter API usage, costs, tokens, and latency.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/Thedougler/agent-template --skill openrouter-usage-analytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openrouter-usage-analytics
Source: https://github.com/Thedougler/agent-template/tree/main/.github/skills/openrouter-usage-analytics
Command: npx skills add https://github.com/Thedougler/agent-template --skill openrouter-usage-analytics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you understand and optimize your spending and resource utilization on the OpenRouter platform by tracking usage patterns.

Core Features & Use Cases

  • Usage Tracking: Logs API calls, token counts, latency, and costs.
  • Cost Optimization: Identifies expensive models or usage spikes.
  • Performance Monitoring: Analyzes latency and error rates.
  • Use Case: A team notices their OpenRouter bill is higher than expected. They use this skill to generate a report showing which models are used most frequently and during which hours, allowing them to adjust their strategy or negotiate better rates.

Quick Start

Analyze OpenRouter usage patterns for the last 30 days.

Frequently Asked Questions about openrouter-usage-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track OpenRouter API usage and costs across different models?

You can track OpenRouter API usage by logging API calls, token counts, and costs to generate detailed usage summaries and model-specific breakdowns for resource optimization.

What is the best way to optimize OpenRouter expenses and reduce my API bill?

Optimizing OpenRouter expenses involves tracking usage patterns to identify expensive models or usage spikes. By analyzing detailed time-series data, you can adjust your strategy and negotiate better rates to reduce your API bill.

How does API latency monitoring work for OpenRouter models?

API latency monitoring works by tracking response times and error rates across different OpenRouter models. Analyzing this performance metrics data helps you evaluate model efficiency and optimize resource allocation.

Do I need analytics infrastructure to monitor OpenRouter token consumption?

You need integration with the OpenRouter API, and optional analytics infrastructure is required for comprehensive monitoring. This setup facilitates tracking token consumption and generating detailed time-series usage data.

Can I generate a time-series report of OpenRouter API calls for the last 30 days?

You can generate a time-series report of OpenRouter API calls for the last 30 days. This report provides detailed usage summaries showing which models are used most frequently and during which hours.