model-usage

द्वारा deepgram

CodexBar CLI स्थानीय लागत उपयोग का उपयोग करके Codex या Claude के लिए प्रति-मॉडल उपयोग का सारांश प्रस्तुत करें, जिसमें वर्तमान (सबसे हालिया) मॉडल या पूर्ण मॉडल विवरण शामिल हो।…

npx skills add https://github.com/deepgram/dglabs-deepclaw --skill model-usage

Model usage

Overview

Get per-model usage cost from CodexBar's local cost logs. Supports "current model" (most recent daily entry) or "all models" summaries for Codex or Claude.

TODO: add Linux CLI support guidance once CodexBar CLI install path is documented for Linux.

Quick start

  1. Fetch cost JSON via CodexBar CLI or pass a JSON file.
  2. Use the bundled script to summarize by model.
python {baseDir}/scripts/model_usage.py --provider codex --mode current
python {baseDir}/scripts/model_usage.py --provider codex --mode all
python {baseDir}/scripts/model_usage.py --provider claude --mode all --format json --pretty

Current model logic

  • Uses the most recent daily row with modelBreakdowns.
  • Picks the model with the highest cost in that row.
  • Falls back to the last entry in modelsUsed when breakdowns are missing.
  • Override with --model <name> when you need a specific model.

Inputs

  • Default: runs codexbar cost --format json --provider <codex|claude>.
  • File or stdin:
codexbar cost --provider codex --format json > /tmp/cost.json
python {baseDir}/scripts/model_usage.py --input /tmp/cost.json --mode all
cat /tmp/cost.json | python {baseDir}/scripts/model_usage.py --input - --mode current

Output

  • Text (default) or JSON (--format json --pretty).
  • Values are cost-only per model; tokens are not split by model in CodexBar output.

References

  • Read references/codexbar-cli.md for CLI flags and cost JSON fields.

deepgram की और Skills

deepclaw-voice
deepgram
OpenClaw पर Deepgram Voice Agent API का उपयोग करके फोन
apple-notes
deepgram
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks OpenClaw to add a note, list…
bear-notes
deepgram
grizzly CLI के माध्यम से Bear नोट्स बनाएं, खोजें और प्रबंधित करें।
github
deepgram
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
setup-mcp
deepgram
आप उपयोगकर्ता के लिए Deepgram MCP एकीकरण सेट कर रहे हैं। इन चरणों का पालन करें:
starters
deepgram
एक कार्यशील डेमो क्लोन करें और निर्माण शुरू करें। हर स्टार्टर एक न्यूनतम, चलाने योग्य ऐप है जिसे आप विस्तारित कर सकते हैं।
deepgram-js-audio-intelligence
deepgram
Use when writing or reviewing JavaScript/TypeScript in this repo that calls Deepgram audio analytics overlays on `/v1/listen` - summarize, topics, intents,…
apple-reminders
deepgram
Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.