lonlie/openai-chatgpt-billing

实现免登录查询OpenAI ChatGPT用量及余额,包含前端html页面和后端的主要逻辑,简洁高效,可以自己部署实现。 支持通过key(格式:sk-xxx)或者session key(格式:sees-xxx)查询。同时适用于共享大号额度查询的场景,可以查询指定用户公共ID(user_public_id或user_id,格式:user-xxx)的用量情况。 支持指定日期用量查询。 查询结果包含:剩余额度、总额度、已用额度、是否绑卡、key到期时间。 针对官方每分钟5次的限制做了优化。 可以分别统计各模型分别的用量。This project that allows login-free querying of OpenAI ChatGPT usage and balance.

25
/ 100
Experimental

This tool helps you track your OpenAI ChatGPT API usage and remaining balance without needing to log into the official OpenAI website. You provide your API key or session key, and it gives you details like total spent, remaining credit, whether a payment method is linked, and the key's expiration date. This is useful for anyone managing OpenAI API costs, especially those sharing accounts or tracking usage for specific projects.

No commits in the last 6 months.

Use this if you need a quick, login-free way to monitor your OpenAI API spending, manage shared account budgets, or track usage for specific users or models.

Not ideal if you require highly precise DALL-E image generation usage statistics, as those figures might be less accurate.

API cost management budget tracking AI resource monitoring OpenAI usage account management
No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 8 / 25
Maturity 8 / 25
Community 9 / 25

How are scores calculated?

Stars

57

Forks

4

Language

HTML

License

Last pushed

Oct 18, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/lonlie/openai-chatgpt-billing"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.