mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-23 20:26:28 +00:00
docs - update openapi swagger docs
This commit is contained in:
@@ -5874,6 +5874,8 @@ async def calculate_spend(request: Request):
|
||||
|
||||
Calculate spend **before** making call:
|
||||
|
||||
Note: If you see a spend of $0.0 you need to set custom_pricing for your model: https://docs.litellm.ai/docs/proxy/custom_pricing
|
||||
|
||||
```
|
||||
curl --location 'http://localhost:4000/spend/calculate'
|
||||
--header 'Authorization: Bearer sk-1234'
|
||||
|
||||
Reference in New Issue
Block a user