mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
docs(cost_tracking.md): add litellm cost in proxy response headers to docs
This commit is contained in:
parent
539ecf9842
commit
8ef824cb66
2 changed files with 12 additions and 0 deletions
|
@ -114,6 +114,14 @@ print(response)
|
||||||
**Step3 - Verify Spend Tracked**
|
**Step3 - Verify Spend Tracked**
|
||||||
That's IT. Now Verify your spend was tracked
|
That's IT. Now Verify your spend was tracked
|
||||||
|
|
||||||
|
<Tabs>
|
||||||
|
<TabItem value="curl" label="Response Headers">
|
||||||
|
|
||||||
|
<Image img={require('../../img/response_cost_img.png')} />
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
<TabItem value="db" label="DB + UI">
|
||||||
|
|
||||||
The following spend gets tracked in Table `LiteLLM_SpendLogs`
|
The following spend gets tracked in Table `LiteLLM_SpendLogs`
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
@ -144,6 +152,10 @@ Use the `/global/spend/report` endpoint to get daily spend report per
|
||||||
- team
|
- team
|
||||||
- customer [this is `user` passed to `/chat/completions` request](#how-to-track-spend-with-litellm)
|
- customer [this is `user` passed to `/chat/completions` request](#how-to-track-spend-with-litellm)
|
||||||
|
|
||||||
|
</TabItem>
|
||||||
|
</Tabs>
|
||||||
|
|
||||||
|
|
||||||
<Tabs>
|
<Tabs>
|
||||||
|
|
||||||
<TabItem value="per team" label="Spend Per Team">
|
<TabItem value="per team" label="Spend Per Team">
|
||||||
|
|
BIN
docs/my-website/img/response_cost_img.png
Normal file
BIN
docs/my-website/img/response_cost_img.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
Loading…
Add table
Add a link
Reference in a new issue