मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट394k · #64

model-usage

यह क्या करती है

यह AI एजेंट को CodexBar लागत लॉग पढ़ने और हर मॉडल पर उपयोग की लागत का सारांश बनाने के चरण बताती है। यह उन लोगों के लिए है जो जानना चाहते हैं कि उन्होंने किन AI मॉडलों के लिए कितना पैसा दिया।

कब इस्तेमाल करें

  • ✓जब आप जानना चाहते हों कि आपके हाल के Codex या Claude उपयोग की लागत कितनी रही।
  • ✓जब आप मॉडल के हिसाब से खर्च का विवरण चाहते हों।
  • ✓जब आपको सभी लॉग में किसी एक खास मॉडल की लागत चाहिए।

Skill का लिंक

https://github.com/openclaw/openclaw/blob/main/skills/model-usage/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/openclaw/openclaw/blob/main/skills/model-usage/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“पिछले महीने मैंने Claude मॉडलों पर कितना खर्च किया, मॉडल के हिसाब से बांटकर बताइए?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल CodexBar कमांड से या आपके निर्यात की गई फ़ाइल से स्थानीय उपयोग डेटा पढ़ती है, फिर लागत को मॉडल के अनुसार समूहित करती है। वह सबसे हाल का मॉडल या सभी मॉडलों का पूरा सारांश दिखाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

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.

CodexBar ships CLI builds for macOS and Linux. When codexbar is on PATH, the skill reads local usage directly; the bundled Python summarizer also accepts exported CodexBar JSON through --input anywhere Python is available.

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>.
  • macOS and Linux: use the bundled Homebrew formula installer above for live local usage reads. Linux users can also use CodexBar's AUR package or official release tarballs.
  • Other platforms: use --input with exported CodexBar JSON.
  • 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.
अक्सर पूछे जाने वाले सवाल

क्या इसे इंटरनेट चाहिए?

स्किल स्थानीय CodexBar लागत लॉग पढ़ती है, इसलिए वह आपके कंप्यूटर पर पहले से मौजूद डेटा या निर्यात की गई फ़ाइल से काम करती है।

क्या यह केवल मौजूदा मॉडल दिखा सकती है?

हां। current मोड सबसे हाल के दैनिक रिकॉर्ड में सबसे ज़्यादा लागत वाला मॉडल दिखाता है।

यह कौन-सी AI सेवाएं कवर करती है?

यह CodexBar से Codex और Claude के उपयोग को कवर करती है।

जानकारी

लेखक का मूल विवरण

Summarize CodexBar local cost logs by model for Codex or Claude, including current or full breakdowns.

repo: openclaw/openclaw

लोकप्रियता

GitHub स्टार
394k
रैंकिंग में स्थान
#64
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

discord-user-post

394k

यह आपके एजेंट को, आपकी मंज़ूरी के बाद, चैनल की पुष्टि करके आपके नाम से Discord डेस्कटॉप ऐप के ज़रिए संदेश भेजने देती है।

प्रोडक्टिविटीईमेल और मैसेज

discrawl

394k

यह आपके एजेंट को Discord संदेशों के सेव किए गए स्थानीय आर्काइव में खोजने, उसका सारांश बनाने और उसकी ताज़गी जांचने में मदद करती है।

डेटाडेटाबेस

gitcrawl

394k

यह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।

डेटाएनालिसिस और स्प्रेडशीट

graincrawl

394k

यह आपके एजेंट को सेव की गई Granola मीटिंग नोट्स और ट्रांसक्रिप्ट में खोजने, उनकी ताज़गी जांचने और किसी अवधि के हिसाब से गिनती करने देती है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills