michaelachmann/gpt-cost-estimator
A cost estimator for OpenAI API calls in tqdm loops.
Estimates the cost of using OpenAI's GPT models as you make API calls, displaying expenses in real-time. It integrates with progress bars to show individual and total costs directly in your workflow. This tool is for developers who integrate OpenAI models into their applications and need to manage or monitor API expenses.
No commits in the last 6 months. Available on PyPI.
Use this if you are developing an application that frequently calls OpenAI's API and need to track the cost of those calls as they happen, especially within data processing loops.
Not ideal if you are a non-developer seeking a general tool for budgeting OpenAI API usage without writing code.
Stars
20
Forks
3
Language
Python
License
MIT
Category
Last pushed
Nov 25, 2024
Commits (30d)
0
Dependencies
4
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/michaelachmann/gpt-cost-estimator"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
linshenkx/prompt-optimizer
一款提示词优化器,助力于编写高质量的提示词
Undertone0809/promptulate
🚀Lightweight Large language model automation and Autonomous Language Agents development...
CTLab-ITMO/CoolPrompt
Automatic Prompt Optimization Framework
microsoft/sammo
A library for prompt engineering and optimization (SAMMO = Structure-aware Multi-Objective...
Eladlev/AutoPrompt
A framework for prompt tuning using Intent-based Prompt Calibration