Skip to content

docs: DEFAULT_ANTHROPIC_CHAT_MAX_TOKENS default is now 128000 - #2616

Merged
kerry-berri merged 1 commit into
mainfrom
litellm_anthropic_default_max_tokens_128k
Oct 27, 2026
Merged

kerry-berri merged 1 commit into
mainfrom
litellm_anthropic_default_max_tokens_128k

Conversation

@kerry-berri

@kerry-berri kerry-berri commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Updates the DEFAULT_ANTHROPIC_CHAT_MAX_TOKENS row in the proxy config settings table from "Default is 4096" to "Default is 128000", matching BerriAI/litellm#48502. This is the fallback max_tokens litellm sends to Anthropic when the caller sets none and the model has no cost-map row.

Link to Devin session: https://app.devin.ai/sessions/fbc55eed538941be81e05f1a5ff56d22
Open in Devin Desktop: https://app.devin.ai/desktop/session/fbc55eed538941be81e05f1a5ff56d22?variant=devin
Requested by: @kerry-berri

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@vercel

vercel Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
litellm Ready Ready Preview Oct 27, 2026 12:27am UTC

Request Review

@kerry-berri
kerry-berri enabled auto-merge (squash) October 27, 2026 00:26
@kerry-berri
kerry-berri merged commit 31c0399 into main Oct 27, 2026
6 checks passed
@kerry-berri
kerry-berri deleted the litellm_anthropic_default_max_tokens_128k branch October 27, 2026 00:28

This branch was previously deployed

1 inactive deployment
Preview — b56842d3 Deployed Oct 27, 2026 by vercel[bot]
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