api-cost-aggregator

Aggregate API and AI spending across OpenClaw, OpenAI, Anthropic, and AWS into a normalized summary.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/ms-moar/ccc-media --skill api-cost-aggregator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-cost-aggregator
Source: https://github.com/ms-moar/ccc-media/tree/main/ailabspro/files/extracted/v44-10-openclaw-uses/10-openclaw-uses/skills/api-cost-aggregator
Command: npx skills add https://github.com/ms-moar/ccc-media --skill api-cost-aggregator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq, aws, openclaw.

What problem does it solve?

Provides a single combined view of AI and API spending across multiple providers so teams no longer need to manually collect or compare billing reports from different vendors.

Core Features & Use Cases

  • Multi-provider aggregation: Collects cost estimates and actual bills from OpenClaw internal tracking, OpenAI, Anthropic, and AWS Bedrock.
  • Provider-aware reporting: Marks providers that require admin keys and gracefully skips or annotates missing configuration.
  • Use Case: Finance or engineering teams can run a single script to produce a JSON or table summary for monthly reporting, cost attribution, and quick anomaly checks.

Quick Start

Run the aggregate-costs.sh script in the skill's bin directory to generate a combined JSON cost summary across configured providers.

Frequently Asked Questions about api-cost-aggregator

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

FAQPage Schema
How do I aggregate AI and API costs across multiple providers like OpenAI and Anthropic?

The Skill requires configured AWS CLI credentials and admin API keys for OpenAI and Anthropic when available. It gracefully skips or annotates missing configurations, marking providers that require admin keys while still returning available cost data.

What is the best way to get a unified billing view for AWS Bedrock and OpenAI spending?

Yes, this Skill is designed for both engineering and finance workflows that need consolidated daily or monthly billing views. It produces provider-level breakdowns that support cost optimization, reporting, and quick anomaly checks without manual vendor comparison.

How do I consolidate OpenClaw internal tracking with external vendor bills for reporting?

Consolidating OpenClaw internal tracking with external vendor bills requires gathering internal cost estimates alongside OpenAI, Anthropic, and AWS billing data. The Skill merges these sources into a combined JSON summary, eliminating the need to manually collect or compare separate reports.

Do I need AWS CLI credentials to retrieve cost summaries from multiple AI providers?

AWS CLI credentials are required to retrieve AWS Bedrock cost data within the aggregated summary. The Skill also uses admin API keys for OpenAI and Anthropic when available, annotating any providers with missing configuration rather than failing the entire run.