mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
- Add OpenAITokenCounter using POST /v1/responses/input_tokens endpoint - Add litellm.acount_tokens() public async API that auto-routes to provider APIs - Add proxy endpoint POST /v1/responses/input_tokens for OpenAI-compatible counting - Transform chat tools format to Responses API format for correct token counting - Fall back to local tiktoken when provider API unavailable Fixes #22302 |
||
|---|---|---|
| .. | ||
| my-website | ||