Skip to content

Conversation

@DmitriyAlergant
Copy link
Contributor

Title

Respect custom Anthropic API Base URL for /messages/count_tokens endpoint

Relevant issues

Fixes #15473

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • [passed in Codex] I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🐛 Bug Fix

@vercel
Copy link

vercel bot commented Oct 14, 2025

@DmitriyAlergant is attempting to deploy a commit to the CLERKIEAI Team on Vercel.

A member of the Team first needs to authorize it.

@ishaan-jaff ishaan-jaff changed the base branch from main to litellm_staging_oct_18 October 18, 2025 23:54
Copy link
Contributor

@ishaan-jaff ishaan-jaff left a comment

Choose a reason for hiding this comment

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

lgtm

@ishaan-jaff ishaan-jaff merged commit 1cd95ea into BerriAI:litellm_staging_oct_18 Oct 18, 2025
4 of 6 checks passed
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.

[Bug]: Anthropic /messages/count_tokens endpoint does not respect customized api_base URL

2 participants