Free for individual repos

Know what every AI agent run costs.

AgentMeter tracks token usage and cost for every AI agent run — in GitHub Actions CI and local coding sessions from Claude Code, Cursor, and Codex — in one dashboard. Per-run costs traced to issues and PRs. Local session costs traced to the developer and project. No infra. No config files.

View on GitHub Marketplace

By signing in you agree to our Terms and Privacy Policy.

AgentMeter cost summary posted as a GitHub PR comment
AgentMeter runs feed showing cost, engine, status, and duration per run
AgentMeter run detail showing full token breakdown and cost
AgentMeter team settings showing connected repos and member management

Cost surfaces directly in your PRs — no dashboard required.

How it works

From zero to tracking agent costs in under 5 minutes.

01

Install for CI

Add the AgentMeter Action from GitHub Marketplace to your existing GitHub Actions agent workflow. Works with Claude Code, Codex, and GitHub Agentic Workflows (gh-aw) — no changes to your agent config. Three lines of YAML.

02

Track local sessions

Use your AgentMeter API key with the CLI to report local Claude Code, Cursor, and Codex sessions. Cost is calculated server-side — no API keys sent. Same dashboard, same metrics, whether you're coding locally or in CI.

03

Auto-report

CI runs automatically post a cost summary on the PR or issue. Local sessions appear in the feed with project path and device name. No manual reporting — everything is captured.

04

See

Open the dashboard and see every run and local session with full cost breakdown. Filter by source, engine, or contributor. Spot expensive failures. Set budget alerts before you overspend.

Add in three lines

Drop this step after your existing agent action. No changes to your workflow logic.

.github/workflows/agent.yml
- name: Report agent costs
  uses: agentmeter/agentmeter-action@main
  if: always()
  with:
    api_key: ${{ secrets.AGENTMETER_API_KEY }}
    model: claude-sonnet-4-5
    status: ${{ steps.agent.outcome }}

View on GitHub Marketplace · Full docs & examples

Cost lands right on the PR

No dashboard required. Every agent run posts a cost summary as a PR comment — automatically.

A
agentmeter-botcommented2 minutes ago

⚡ AgentMeter — Run Summary

WorkflowStatusTokensCost
agent-implement✓ success48,302$0.58
agent-review✓ success12,891$0.15
Total61,193$0.73
▶ Token breakdown (agent-implement)

Input: 32,100 ($0.10)

Output: 8,400 ($0.13)

Cache writes: 5,600 ($0.02)

Cache reads: 2,202 ($0.00)

14 turns · 62% cache hit rate

View in AgentMeter →

The comment is created on the first run and updated as more runs complete.

Simple, honest pricing

Less than the cost of a single agent run. Per-org, not per-seat.

$0

Free

For individuals and open-source projects.

  • 1 repository (your choice)
  • 30-day data retention
  • Runs feed + run detail
  • PR cost comments
  • Claude & OpenAI models
Most popular
$19/mo

Pro

For teams running agents across multiple repos.

  • Unlimited repositories
  • 90-day data retention
  • Everything in Free
  • Cost trends dashboard
  • Unlimited team members with roles
  • Budget alerts — coming soon
  • CSV export — coming soon
Start Pro

Pro costs less than a single medium-complexity agent run. No setup fees.