본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

openrouter-usage

rosseyre 제작

Browser & Automation
782clawskills.sh가 보고한 다운로드 수
2조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Fetch real-time OpenRouter usage totals and historical per-model spend.

설명

이 스킬이 하는 일

Fetches real-time and historical cost data from the OpenRouter API. Shows today, week, and month spend totals alongside a per-model breakdown of recent activity.

Gives CLI-accessible spend breakdowns without logging into the OpenRouter web dashboard.

사용 시점

  • Checking how much you've spent on AI models today
  • Reviewing which models consumed the most budget last week
  • Monitoring monthly spend against your OpenRouter balance
  • Auditing per-model costs before a billing cycle closes
  • Comparing model spend across a recent project

예시 워크플로

입력

User asks: How much have I spent on OpenRouter this month and which models cost the most?

에이전트
  1. 1

    Authenticate with OPENROUTER_API_KEY

  2. 2

    Fetch live totals from the /auth/key endpoint

  3. 3

    Fetch per-model activity for the past 7 days from the /activity endpoint using OPENROUTER_MGMT_KEY

  4. 4

    Rank models by spend

  5. 5

    Format results into a cost summary

출력

Today: $0.42 | Week: $3.18 | Month: $11.55 | Balance: $38.45 / $50.00 — Recent Models: gpt-4o: $4.12 (23 requests), claude-3-5-sonnet: $3.91 (18 requests)

요구 사항

  • OPENROUTER_API_KEY from openrouter.ai
  • OPENROUTER_MGMT_KEY from openrouter.ai (optional, enables per-model breakdown)

설치

clawhub install rosseyre/openrouter-usage

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크