openai-cost-calculator

A library to estimate OpenAI API costs based on token usage.

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install openai-cost-calculator

Releases

Version Released Bullseye
Python 3.9
Bookworm
Python 3.11
Files
0.1.1 2025-03-20    
0.1.0 2025-03-15    

Issues with this package?

Page last updated 2025-03-20 10:41:58 UTC