openrouter-analytics

Answer natural language questions about OpenRouter usage and billing data.

209|33|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/OpenRouterTeam/skills --skill openrouter-analytics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openrouter-analytics
Source: https://github.com/OpenRouterTeam/skills/tree/main/skills/openrouter-analytics
Command: npx skills add https://github.com/OpenRouterTeam/skills --skill openrouter-analytics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually querying OpenRouter's analytics API and parsing raw usage data to answer questions about spend, model performance, or billing is time-consuming and requires technical knowledge of the API schema. This Skill eliminates that friction by letting you ask natural language questions about your OpenRouter usage and getting clear, actionable answers.

Core Features & Use Cases

  • Natural Language Analytics Queries: Ask questions like "What was my spend this month?" or "Which models cost the most?" without writing API queries or parsing JSON responses.
  • Cost Optimization Guidance: Get tailored recommendations to reduce your OpenRouter bill, including identifying models with low cache hit rates, oversized prompts, or expensive alternatives.
  • Pre-Built Query Templates: Access ready-to-use queries for common use cases like tracking request volume, analyzing latency by provider, and monitoring token usage over time.
  • Use Case Example: A developer can ask "How can I reduce my OpenRouter costs?" and get a breakdown of their top-spending models, cache hit rates, and specific actionable steps to cut costs.

Quick Start

Use the openrouter-analytics skill to ask your natural language question about OpenRouter API usage, billing, spend, or cost optimization.

Frequently Asked Questions about openrouter-analytics

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

FAQPage Schema
How do I query OpenRouter usage data and API spend without writing code?

You can query OpenRouter usage data by asking natural language questions about spend, request volume, and model breakdown. The Skill translates your questions into API queries and returns structured usage metrics, eliminating the need for manual API query construction or JSON parsing.

How do I identify high-cost models and reduce my OpenRouter API billing?

To reduce OpenRouter API billing, you can request a cost optimization breakdown. The Skill analyzes your traffic patterns to identify high-cost models, low cache hit rates, and oversized prompts, providing specific actionable steps to cut infrastructure spend.

Do I need a specific API key to analyze OpenRouter latency and token usage?

Yes, analyzing OpenRouter latency and token usage requires a valid OpenRouter management or provisioning API key. The Skill uses this key to securely access OpenRouter Analytics API endpoints and retrieve your structured usage metrics.

What's the best way to monitor OpenRouter request volume and traffic patterns over time?

The best way to monitor OpenRouter request volume is by using pre-built query templates. These templates allow you to instantly track traffic patterns, analyze latency by provider, and monitor token usage over time without manual setup.

Can I get cost optimization guidance for my OpenRouter infrastructure spend?

Yes, you can get tailored cost optimization guidance for your OpenRouter infrastructure spend. The Skill evaluates your usage data to highlight expensive model alternatives and inefficient query patterns, delivering clear recommendations to lower your bill.