Skip to content

fix(vertex-ai): correct claude-haiku-5-5 thinking and forced tool flags - #45116

Merged
kerry-berri merged 1 commit into
mainfrom
litellm-providers/price-sync-vertex-ai
Oct 7, 2026
Merged

kerry-berri merged 1 commit into
mainfrom
litellm-providers/price-sync-vertex-ai

Conversation

@berriai-litellm-provider-info-sync

@berriai-litellm-provider-info-sync berriai-litellm-provider-info-sync Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

#45108 merged vertex_ai/claude-haiku-5-5 and vertex_ai/claude-haiku-5-5@default into main while this sync was open, so this PR now only corrects two capability flags and the source on those two existing rows. The list API returns claude-haiku-5-5 at versions 20261005 and default, and both map to these keys because Anthropic states "claude-haiku-5-5 is a fixed model ID with no date suffix and no separate alias" (https://platform.claude.com/docs/en/models/haiku-5-5/migration-guide)

Rows

vertex_ai/claude-haiku-5-5 and vertex_ai/claude-haiku-5-5@default, kind page:

The rest of each row is unchanged from main. Per ruling vertex-ai-claude-haiku-5-5-drop-above-100k ("drop them for now"), neither row carries *_above_100k_tokens fields, including the _batches ones. Prompts over 100K tokens are undercharged (billed at the up to 100K rates instead of $0.50 / $2.50 per MTok and the matching cache and batch rates) until the 100K tier is supported for these rows

Delisted by the provider

Kept with no change per ruling vertex-ai-delisted-no-date-keep: deep-research-pro-preview-12-2025, gemini-2.5-flash-lite-preview-09-2025, gemini-2.5-flash-preview-09-2025, gemini-2.5-pro-preview-tts, gemini-3-pro-image-preview, gemini-3.1-flash-lite-preview, gemini-3.1-pro-preview-customtools, gemini-3.8-flash-cyber, gemini-embedding-2-preview, gemini-flash-experimental, gemini-live-2.5-flash-preview-native-audio-09-2025, gemini-robotics-er-1.5-preview, medlm-large, medlm-medium, text-embedding-preview-0409, text-unicorn, vertex_ai/chirp, vertex_ai/claude-3-sonnet, vertex_ai/codestral-2, vertex_ai/codestral-2501, vertex_ai/mistral-large-2411, vertex_ai/mistral-medium-3, vertex_ai/mistral-ocr-2505, vertex_ai/mistral-small-2503, vertex_ai/veo-3.1-fast-generate-preview, vertex_ai/veo-3.1-generate-preview

Already carry a deprecation_date: text-embedding-004, vertex_ai/claude-3-5-haiku, vertex_ai/claude-3-5-sonnet, vertex_ai/claude-3-haiku, vertex_ai/claude-3-opus, vertex_ai/claude-sonnet-4-5, vertex_ai/gemini-2.0-flash, vertex_ai/gemini-2.0-flash-lite, vertex_ai/gemini-2.5-flash-native-audio, vertex_ai/jamba-1.5, vertex_ai/jamba-1.5-large, vertex_ai/jamba-1.5-mini

Coverage gap, not delistings (speech, TTS, transcribe, MaaS and vector store ids the publisher model list does not return): vertex_ai/chirp_2, vertex_ai/chirp_3, vertex_ai/gemini-2.5-flash-preview-tts, vertex_ai/gemini-3.5-transcribe, vertex_ai/gemini-3.5-transcribe-live, vertex_ai/gemini-3.8-flash-tts, vertex_ai/gemini-3.8-flash-lite-tts, vertex_ai/gemini-omni-1.1-flash, vertex_ai/gemma-4-26b-a4b-it, vertex_ai/search_api

Pages changed

https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/google-models states no prices; the change is the navigation adding Haiku 5.5, so no row change from it


Note

Low Risk
Metadata-only updates to the model cost map; they change how thinking and tool_choice are validated for two Vertex Haiku 5.5 keys but do not touch auth, billing logic, or core request paths beyond those capability checks.

Overview
Corrects Vertex AI Claude Haiku 5.5 capability metadata for vertex_ai/claude-haiku-5-5 and vertex_ai/claude-haiku-5-5@default in model_prices_and_context_window.json (and the backup copy).

thinking_always_on is set from true to false so LiteLLM treats Haiku 5.5 as adaptive thinking (not always-on like Opus 5.5). supports_forced_tool_use is set from false to true so forced tool_choice is allowed instead of being rejected or downgraded. The source URL is updated from Google Gemini Enterprise pricing to Anthropic’s pricing docs, matching the existing per-token costs on those rows.

Reviewed by Cursor Bugbot for commit 07f8197. Bugbot is set up for automated code reviews on this repo. Configure here.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@greptile-apps

greptile-apps Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Updates model capability flags for Claude Haiku.

This metadata correction appears safe to merge

Summary

Corrects supports_forced_tool_use, thinking_always_on, and the pricing reference for both existing Vertex AI Haiku 5.5 aliases. Both catalogs contain the same changes. Prices remain unchanged

  • No new actionable issues found
  • Long-prompt undercharging remains explicitly deferred by berriai-litellm-provider-info-sync[bot] in the PR description, pending support for the 100K pricing tier
  • kerry-berri explained that the sampling lookup gap predates this sync. Greptile conceded that finding and retracted it

Reviews (3) · Last reviewed commit: "fix(vertex-ai): correct claude-haiku-5-5..." · Reviewed by Greptile

Comment thread model_prices_and_context_window.json Resolved
Comment thread model_prices_and_context_window.json Resolved
@codspeed

codspeed Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing litellm-providers/price-sync-vertex-ai (07f8197) with main (44bc165)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (5cd1126) during the generation of this report, so 44bc165 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kerry-berri
kerry-berri enabled auto-merge (squash) October 7, 2026 18:46
@berriai-litellm-provider-info-sync
berriai-litellm-provider-info-sync Bot force-pushed the litellm-providers/price-sync-vertex-ai branch from 596d851 to c46f79a Compare October 7, 2026 18:47
@kerry-berri

Copy link
Copy Markdown
Contributor

@greptileai

@kerry-berri

Copy link
Copy Markdown
Contributor

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale Bugbot comment from a previous run.

@berriai-litellm-provider-info-sync
berriai-litellm-provider-info-sync Bot force-pushed the litellm-providers/price-sync-vertex-ai branch from c46f79a to c234997 Compare October 7, 2026 18:53
@berriai-litellm-provider-info-sync berriai-litellm-provider-info-sync Bot changed the title feat(vertex-ai): add claude-haiku-5-5 fix(vertex-ai): correct claude-haiku-5-5 thinking and forced tool flags Oct 7, 2026
@berriai-litellm-provider-info-sync
berriai-litellm-provider-info-sync Bot force-pushed the litellm-providers/price-sync-vertex-ai branch from c234997 to 07f8197 Compare October 7, 2026 18:56
@kerry-berri

Copy link
Copy Markdown
Contributor

@greptileai

@kerry-berri

Copy link
Copy Markdown
Contributor

bugbot run

@kerry-berri
kerry-berri disabled auto-merge October 7, 2026 19:02
@kerry-berri
kerry-berri enabled auto-merge (squash) October 7, 2026 19:02
@kerry-berri
kerry-berri merged commit f0031e9 into main Oct 7, 2026
84 of 87 checks passed
@kerry-berri
kerry-berri deleted the litellm-providers/price-sync-vertex-ai branch October 7, 2026 19:05

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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 07f8197. Configure here.

stvnksslr added a commit to stvnksslr/litellm that referenced this pull request Oct 8, 2026
Takes the claude-haiku-5-5 and claude-haiku-5.5 cost map rows (Anthropic, Bedrock, Bedrock Mantle, Azure AI, Vertex AI, OpenRouter, Perplexity) from upstream v1.106.0-dev.2, along with the over-100k prompt tier fields and tests they need. The Vertex flag fix and the Azure integer prompt cache minimum come along with the rows.

Upstream sources: 5cd1126 (BerriAI#45108), 46d440a (BerriAI#45151, haiku-related hunks only), d174c43 (BerriAI#45114), f0031e9 (BerriAI#45116).

The rebased model info helper gets explicit kwargs for the four over-100k batch rates. The haiku config test calls the adaptive thinking helper on AnthropicModelInfo instead of the public alias that upstream added in a later refactor.
stvnksslr added a commit to stvnksslr/litellm that referenced this pull request Oct 12, 2026
Takes the claude-haiku-5-5 and claude-haiku-5.5 cost map rows (Anthropic, Bedrock, Bedrock Mantle, Azure AI, Vertex AI, OpenRouter, Perplexity) from upstream v1.106.0-dev.2, along with the over-100k prompt tier fields and tests they need. The Vertex flag fix and the Azure integer prompt cache minimum come along with the rows.

Upstream sources: 5cd1126 (BerriAI#45108), 46d440a (BerriAI#45151, haiku-related hunks only), d174c43 (BerriAI#45114), f0031e9 (BerriAI#45116).

The rebased model info helper gets explicit kwargs for the four over-100k batch rates. The haiku config test calls the adaptive thinking helper on AnthropicModelInfo instead of the public alias that upstream added in a later refactor.
stvnksslr added a commit to stvnksslr/litellm that referenced this pull request Oct 14, 2026
Takes the claude-haiku-5-5 and claude-haiku-5.5 cost map rows (Anthropic, Bedrock, Bedrock Mantle, Azure AI, Vertex AI, OpenRouter, Perplexity) from upstream v1.106.0-dev.2, along with the over-100k prompt tier fields and tests they need. The Vertex flag fix and the Azure integer prompt cache minimum come along with the rows.

Upstream sources: 5cd1126 (BerriAI#45108), 46d440a (BerriAI#45151, haiku-related hunks only), d174c43 (BerriAI#45114), f0031e9 (BerriAI#45116).

The rebased model info helper gets explicit kwargs for the four over-100k batch rates. The haiku config test calls the adaptive thinking helper on AnthropicModelInfo instead of the public alias that upstream added in a later refactor.
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.

2 participants