See: https://colab.research.google.com/drive/1_UuNv1XER8EAmpVeHfR3e5HS7of3z5DO?usp=sharing
To get current prices of the models, use /model/info endpoint.
Like mentioned on the main page, the usage of the API is limited to 30$ per month for projects.
x-key-max-budget, andx-litellm-key-spendBoth functionalities are demonstrated in the following Colab: https://colab.research.google.com/drive/1_UuNv1XER8EAmpVeHfR3e5HS7of3z5DO?usp=sharing
<aside> ⬅️
</aside>