BerriAI / litellm

Python SDK, Proxy Server (LLM Gateway) to call 100+ LLM APIs in OpenAI format - [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, Replicate, Groq]
https://docs.litellm.ai/docs/
Other
13.39k stars 1.57k forks source link

[Bug]: fix cost tracking for gpt-4-vision-preview #1470

Closed krrishdholakia closed 9 months ago

krrishdholakia commented 9 months ago

What happened?

User not able to see cost for key when using gpt-4-vision-preview image

Relevant log output

No response

Twitter / LinkedIn details

cc: @SharmaSamarth1

krrishdholakia commented 9 months ago

This is now fixed, we were missing gpt-4-1106-vision-preview in the model cost map

Attaching screenshots to show this now works. No updates required for users.

Screenshot 2024-01-17 at 10 24 11 AM Screenshot 2024-01-17 at 10 24 15 AM
krrishdholakia commented 9 months ago

cc: @SharmaSamarth1