{"id":28801352,"url":"https://github.com/tyler007-siddesh/ccost","last_synced_at":"2025-07-06T08:32:42.424Z","repository":{"id":299254148,"uuid":"1002319889","full_name":"Tyler007-siddesh/ccost","owner":"Tyler007-siddesh","description":"ccost helps you track your Claude API usage accurately and manage costs effectively. With features like intelligent deduplication and multi-currency support, it simplifies your cost analysis. 🛠️✨","archived":false,"fork":false,"pushed_at":"2025-06-15T15:15:44.000Z","size":393,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-15T16:29:43.923Z","etag":null,"topics":["anthropic","api-usage","claude","cli","cost-tracking","currency-conversion","github-config","monitoring","rust","tui"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tyler007-siddesh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-15T07:52:46.000Z","updated_at":"2025-06-15T15:15:47.000Z","dependencies_parsed_at":"2025-06-15T16:30:22.894Z","dependency_job_id":"6526b80f-9273-4984-b698-d8471dd2f300","html_url":"https://github.com/Tyler007-siddesh/ccost","commit_stats":null,"previous_names":["tyler007-siddesh/ccost"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tyler007-siddesh/ccost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyler007-siddesh%2Fccost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyler007-siddesh%2Fccost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyler007-siddesh%2Fccost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyler007-siddesh%2Fccost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tyler007-siddesh","download_url":"https://codeload.github.com/Tyler007-siddesh/ccost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tyler007-siddesh%2Fccost/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260507131,"owners_count":23019463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anthropic","api-usage","claude","cli","cost-tracking","currency-conversion","github-config","monitoring","rust","tui"],"created_at":"2025-06-18T07:09:16.232Z","updated_at":"2025-07-06T08:32:42.412Z","avatar_url":"https://github.com/Tyler007-siddesh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊 ccost: Claude API Cost Tracking Tool\n\nWelcome to **ccost**, a powerful tool designed for tracking and analyzing costs associated with the Claude API. This repository provides you with features like intelligent deduplication, multi-currency support, real-time monitoring, and comprehensive project analysis. \n\n![ccost](https://img.shields.io/badge/version-1.0.0-brightgreen.svg) ![License](https://img.shields.io/badge/license-MIT-blue.svg) ![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)\n\n## 🚀 Features\n\n- **Accurate Tracking**: Monitor your Claude API usage in real-time.\n- **Cost Analysis**: Gain insights into your spending with detailed reports.\n- **Intelligent Deduplication**: Eliminate duplicate entries for cleaner data.\n- **Multi-Currency Support**: Analyze costs in various currencies.\n- **Comprehensive Project Analysis**: Break down costs by project for better budgeting.\n\n## 📥 Getting Started\n\nTo get started with **ccost**, download the latest release from the [Releases section](https://github.com/Tyler007-siddesh/ccost/releases). You will find a compiled executable that you can run directly.\n\n### Installation\n\n1. Visit the [Releases section](https://github.com/Tyler007-siddesh/ccost/releases).\n2. Download the appropriate file for your operating system.\n3. Execute the file in your terminal.\n\n### Prerequisites\n\n- Rust programming language installed on your machine.\n- Access to the Claude API.\n- Basic understanding of command-line interfaces.\n\n## 🔧 Usage\n\nOnce you have installed **ccost**, you can start using it by running the following command in your terminal:\n\n```bash\n./ccost --help\n```\n\nThis command will display all available options and commands. You can track your API usage by specifying your API key and other parameters.\n\n### Example Command\n\n```bash\n./ccost track --api-key YOUR_API_KEY --currency USD\n```\n\nThis command will track your API usage and display costs in USD.\n\n## 📊 Project Analysis\n\n**ccost** allows you to analyze costs by project. Use the following command to generate a project report:\n\n```bash\n./ccost report --project YOUR_PROJECT_NAME\n```\n\nThis command will generate a detailed report, helping you understand where your resources are being allocated.\n\n## 💡 Intelligent Deduplication\n\nOne of the standout features of **ccost** is its ability to intelligently deduplicate API calls. This ensures that you only pay for unique requests. To enable deduplication, use the following command:\n\n```bash\n./ccost deduplicate --enable\n```\n\nThis will automatically remove duplicate entries from your tracking data.\n\n## 🌍 Multi-Currency Support\n\nWith **ccost**, you can analyze costs in various currencies. Simply specify the desired currency when running your commands:\n\n```bash\n./ccost track --api-key YOUR_API_KEY --currency EUR\n```\n\nThis command will track your usage and display costs in Euros.\n\n## 📈 Real-Time Monitoring\n\n**ccost** provides real-time monitoring of your API usage. To enable this feature, run:\n\n```bash\n./ccost monitor --api-key YOUR_API_KEY\n```\n\nYou will receive updates on your usage as they happen, allowing you to manage your costs effectively.\n\n## 📜 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## 📞 Support\n\nIf you encounter any issues or have questions, feel free to open an issue in the repository. Your feedback is valuable and helps improve the tool.\n\n## 🤝 Contributing\n\nContributions are welcome! Please read the [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to get started.\n\n## 📚 Topics\n\nThis repository covers a range of topics, including:\n\n- **Anthropic**: Understand the ethical implications of AI usage.\n- **API Usage**: Learn how to efficiently track API calls.\n- **Claude**: Explore the capabilities of the Claude API.\n- **CLI**: Get familiar with command-line interfaces.\n- **Cost Tracking**: Discover how to monitor expenses.\n- **Currency Conversion**: Understand multi-currency support.\n- **Deduplication**: Learn about data cleaning techniques.\n- **Monitoring**: Implement real-time tracking solutions.\n- **Rust**: Utilize Rust for performance and reliability.\n- **TUI**: Explore terminal user interfaces.\n\n## 🌟 Acknowledgments\n\nWe would like to thank the open-source community for their invaluable contributions. Your support helps make projects like **ccost** possible.\n\n## 📅 Roadmap\n\n- **Version 1.1**: Add support for additional APIs.\n- **Version 1.2**: Implement a web interface for easier tracking.\n- **Version 1.3**: Enhance reporting features with graphs and charts.\n\nStay tuned for updates!\n\n## 🛠️ Future Features\n\n- **User Authentication**: Secure your API key with user accounts.\n- **Enhanced Analytics**: Provide more detailed insights into usage patterns.\n- **Custom Alerts**: Set up notifications for specific usage thresholds.\n\n## 📊 Conclusion\n\n**ccost** is your go-to tool for managing Claude API costs. With features like intelligent deduplication and multi-currency support, you can track your usage accurately and efficiently. For the latest updates, visit the [Releases section](https://github.com/Tyler007-siddesh/ccost/releases).\n\nThank you for using **ccost**! We look forward to your feedback and contributions.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyler007-siddesh%2Fccost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyler007-siddesh%2Fccost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyler007-siddesh%2Fccost/lists"}