Thanks to visit codestin.com
Credit goes to github.com

Skip to content

llm-pricing is a package for calculating the complex and intricate usage fees of LLMs (Large Language Models).

Notifications You must be signed in to change notification settings

erukiti/llm-pricing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llm-pricing

llm-pricing is a package for calculating the complex and intricate usage fees of LLMs (Large Language Models).

Caution

Please do not use this for critical purposes as errors and incorrect pricing for models may occur. This is intended only as an estimate for fee calculations.

Install

npm i llm-pricing

TODO

  • Track historical data to accurately calculate past prices
  • Support pricing for both Vertex AI and AI Studio in Google Gemini
  • Implement support for Google Gemini Context Caching
  • Add embedding support
  • Implement multimodal support
  • Add unit testing

About

llm-pricing is a package for calculating the complex and intricate usage fees of LLMs (Large Language Models).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published