drudilorenzo/openai-cost-logger
Thread-Safe OpenAI Cost Logger
When working with OpenAI models, this tool helps you track and understand the financial cost of every request you make. It takes the usage data from your OpenAI interactions and provides a clear breakdown of expenses. This is ideal for developers, researchers, or anyone building applications with OpenAI's API who needs to monitor spending.
No commits in the last 6 months.
Use this if you need a simple way to log and visualize the monetary cost incurred by your OpenAI API calls, especially in multi-threaded environments.
Not ideal if you're looking for a comprehensive billing solution that integrates with cloud cost management platforms beyond just OpenAI API usage.
Stars
8
Forks
1
Language
Jupyter Notebook
License
MIT
Category
Last pushed
May 28, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/drudilorenzo/openai-cost-logger"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
xllm-go/bypass
集成了openai-api、coze、deepseek、cursor、windsurf、qodo、blackbox、you、grok、bing 绘画 多款AI的聊天逆向接口适配到...
orkunkinay/openai_cost_calculator
Calculate exact USD cost of each OpenAI API call — no guesswork.
Mon-ius/Docker-Warp-Socks
Connet to CloudFlare WARP, exposing `socks5` proxy all together.
x-dr/chatgptProxyAPI
🔥 使用cloudflare 搭建免费的 OpenAI api代理 ,解决网络无法访问问题。支持流式输出
qingchencloud/cj2api
将 ChatJimmy 转换为 OpenAI 兼容 API 的 Cloudflare Worker | 零成本部署,支持流式输出,自带测试页