Skip to content

docs(pass_through): correct cost tracking coverage claims - #894

Merged
mateo-berri merged 1 commit into
mainfrom
litellm_passthrough_cost_tracking_docs
Aug 14, 2026
Merged

docs(pass_through): correct cost tracking coverage claims#894
mateo-berri merged 1 commit into
mainfrom
litellm_passthrough_cost_tracking_docs

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

The passthrough docs' cost tracking claims drifted from the code. openai_passthrough.md said cost tracking is not supported, but the proxy tracks chat completions, image generations, image edits, and the Responses API there today, with embeddings landing in BerriAI/litellm#36660. azure_passthrough.md had the same stale flat no while v1 API paths are tracked through the shared OpenAI handler, and intro.md claimed usage is tracked across all endpoints, which overstates it. mistral.md and vllm.md were checked too and stay as they are: no cost handler exists for either, so their tables are still accurate

This updates the three stale files, points base_url at /openai_passthrough consistently in the OpenAI client example, and adds an embeddings curl example. Verified live against a DB-backed proxy running the BerriAI/litellm#36660 branch: a /openai_passthrough/v1/embeddings call for text-embedding-3-small wrote a spend log row and billed the key exactly (6 tokens, $0.00000012), and on today's base branch the same call bills nothing. Best merged after BerriAI/litellm#36660 so the embeddings claim is never ahead of the code


Note

Cursor Bugbot is generating a summary for commit 4d5c1cb. Configure here.

@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview Aug 14, 2026 3:31am

Request Review

@mateo-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 4d5c1cb. Configure here.

@mateo-berri
mateo-berri merged commit 0e2d312 into main Aug 14, 2026
3 checks passed
@mateo-berri
mateo-berri deleted the litellm_passthrough_cost_tracking_docs branch August 14, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant