Skip to content

test(e2e): move the Claude Code matrix to Opus, Sonnet and Haiku 5.5, Fable 5.2 and GPT-6 - #54305

Merged
mateo-berri merged 5 commits into
mainfrom
litellm_claude_code_matrix_newest_models
Nov 25, 2026
Merged

mateo-berri merged 5 commits into
mainfrom
litellm_claude_code_matrix_newest_models

Conversation

@mateo-berri

@mateo-berri mateo-berri commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Handwritten 1-3 sentence description

The Claude Code compatibility matrix was still testing Opus 4.7, Sonnet 4.5 and Haiku 4.5 because nothing bumps those names when newer models ship. This moves every provider to Opus 5.5, Sonnet 5.5 and Haiku 5.5 and adds Fable 5.2 as a fourth model wherever the provider serves it, so the matrix tests what customers run today. The GPT columns move the same way, from GPT-5.6 to the newest GPT-6 model each provider serves, with GPT-6 Astra added as a fourth model

Details

Link to Devin session: https://app.devin.ai/sessions/c0dc44c493d84f1eabf8e0cb94473e76
Open in Devin Desktop: https://app.devin.ai/desktop/session/c0dc44c493d84f1eabf8e0cb94473e76?variant=devin
Requested by: @mateo-berri
GPT-6 commit 4ac768c added by the matrix automation: https://app.devin.ai/sessions/8299569430154025969e22916028fc00 (Desktop)

TLDR

Problem this solves:

  • Matrix hard-codes Opus 4.7, Sonnet 4.5/4.6, Haiku 4.5
  • The flaky Bedrock web_search cell is on an old Opus
  • Fable is not tested at all
  • The GPT cells are still on GPT-5.6 and Astra is not tested

How it solves it:

  • Every alias in test_config.yaml and the cells moves to 5.5
  • Fable 5.2 added on Anthropic and Azure
  • No Fable on Vertex: the CI project gets 429 quota exceeded for anthropic-claude-fable
  • No Fable on Bedrock Invoke or Converse: the stage account has no Marketplace subscription for it, so Bedrock answers 403
  • OpenAI and Bedrock Mantle move to gpt-6.2-sol, gpt-6.1-terra, gpt-6-luna and add gpt-6.2-astra
  • Azure OpenAI moves to gpt-6.1-sol, gpt-6-luna and adds gpt-6-astra. Terra stays on gpt-5.6-terra because Azure has no GPT-6 Terra

Screenshots / Proof of Fix

Test-only change, no product code. Ran at c13bf91 against a local proxy started from tests/e2e/claude_code/test_config.yaml with real Anthropic, Bedrock, Vertex and Azure Foundry credentials and Claude Code 2.1.330

  1. uv run --no-sync pytest claude_code -n 8 -q --deselect claude_code/long_context_1m -k "anthropic or azure or bedrock_invoke or bedrock_converse or vertex_ai" from tests/e2e: 74 passed, 4 skipped, 6 failed
  2. 4 of the 6 are the azure_openai GPT cells, which this PR does not touch and which had no credentials on my machine
  3. The other 2 are Bedrock count_tokens. Haiku, Sonnet and Opus 5.5 pass once the caller has bedrock-mantle:CountTokens. Fable 5.2 fails with 404 The model 'anthropic.claude-fable-5-2' does not exist, so it is left out of those two cells
  4. All five web_search cells pass, Bedrock Opus 5.5 included
  5. uv run --no-sync pytest tests/e2e_harness/claude_code -q: 29 passed
  6. The first CI run, litellm-e2e-pr build 2408 at c13bf91, had 53 passed, 17 skipped, 27 failed. All 27 were Fable 5.2 on Bedrock Invoke or Converse answering 403 Model access is denied due to IAM user or service role is not authorized to perform the required AWS Marketplace actions (aws-marketplace:ViewSubscriptions, aws-marketplace:Subscribe). Fable passed locally because the dev account has the subscription and the stage account CI uses does not, so bb80f3b drops it from the Bedrock cells and the config. Adding it back is a later PR once the stage account is subscribed
  7. In that same run the Bedrock count_tokens cells passed on 5.5, so the CI role has bedrock-mantle:CountTokens
  8. The CI run at the current tip 53d4268, litellm-e2e-pr build 2416, passed, and the run one commit earlier at b5d5552, build 2415, had 80 passed, 17 skipped, 0 failed. The Azure OpenAI column passed all 16 model rows on the GPT-6 names. The 17 skips are the 8 opt-in OpenAI and Bedrock Mantle GPT cells, the 5 long_context_1m cells, and 4 cells that were already skipped before this PR

Azure needed three new deployments on litellm-e2e-suite-resource (claude-sonnet-5-5, claude-haiku-5-5, claude-fable-5-2), which I created

GPT-6 move (4ac768c)

Probes on 2026-11-25, one POST /v1/messages per model through a local LiteLLM proxy with the exact model id in the config

Route Sol Terra Luna Astra (new)
OpenAI gpt-6.2-sol 200 gpt-6.1-terra 200 gpt-6-luna 200 gpt-6.2-astra 200
Bedrock Mantle openai.gpt-6.2-sol 200 openai.gpt-6.1-terra 200 openai.gpt-6-luna 200 openai.gpt-6.2-astra 200
Azure OpenAI gpt-6.1-sol 200 stays gpt-5.6-terra gpt-6-luna 200 gpt-6-astra 200
  • Azure left behind: gpt-6.2-sol, gpt-6.1-terra and gpt-6.2-astra answer 404 The API deployment for this resource does not exist, and the Azure model catalog for litellm-e2e-suite-resource does not list them, so no deployment could be created. Azure Sol and Astra sit on the newest version Azure lists, Terra stays on 5.6
  • Exclusions re-probed: Fable 5.2 on Vertex still answers 429 Quota exceeded for aiplatform.googleapis.com/global_online_prediction_requests_per_base_model with base model: anthropic-claude-fable, so it stays out. Fable 5.2 on Bedrock Invoke and Converse answers 200 on the dev account, but the stage account CI uses was not re-probed from here, so it stays out
  • Local run at 4ac768c with Claude Code 2.1.330, COMPAT_MANTLE_CELLS=1 COMPAT_OPENAI_GPT_CELLS=1 pytest claude_code -k "test_openai or test_azure_openai or test_bedrock_mantle or vertex_ai_gpt": 16 cells passed, 48 model rows pass (16 each on OpenAI, Azure OpenAI, Bedrock Mantle), 4 vertex_ai_gpt not_applicable
  • uv run --no-sync pytest tests/e2e_harness/claude_code -q: 29 passed. ruff check clean
  • Nothing created in Azure for the GPT move, the three deployments already existed. Provider spend well under $1
  • Not run for this commit: the Claude cells (unchanged by it)

Type

✅ Test

Caveats (if any)

Medium

  • long_context_1m has not run with the new models: all five cells are skipped on main as stage red, and this PR leaves that skip alone
  • Fable 5.2 has no Bedrock coverage until the stage account is subscribed to it
  • The OpenAI and Bedrock Mantle GPT cells are opt-in (COMPAT_OPENAI_GPT_CELLS, COMPAT_MANTLE_CELLS) and CI sets neither flag, so all 8 skipped in the CI run. Their only proof is the local run, and Bedrock Mantle was only reached on the dev account, never the stage account
  • One local pass per cell, so the web_search flake rate on Opus 5.5 is unknown

Low

  • Haiku 5.5 has a 1M window but is still left out of long_context_1m
  • Some comments still describe 4.x thinking behavior

QA runbook

  • tests/e2e/claude_code/*/test_{anthropic,azure,bedrock_invoke,bedrock_converse,vertex_ai,openai,azure_openai,bedrock_mantle}.py - same assertions as before, only the model aliases changed
    • Start a proxy with --config tests/e2e/claude_code/test_config.yaml and Anthropic, AWS, Vertex and Azure Foundry credentials
    • Send POST /v1/messages with "model": "claude-sonnet-5-5-bedrock-invoke" and expect 200; repeat for claude-opus-5-5-vertex, claude-haiku-5-5-azure and claude-fable-5-2-azure
    • Send the same request with gpt-6-2-sol-openai, gpt-6-2-astra-bedrock-mantle and gpt-6-astra-azure-openai and expect 200
    • Run claude -p "search the web for today's date" --model claude-opus-5-5-bedrock-invoke against the proxy and expect a WebSearch tool call
    • Sanity check: this test makes sense to add and is not hand-wavey (e.g., assert actual expected spend instead of just spend > 0) or potentially flaky

Note

Low Risk
Test-only matrix and proxy config updates; risk is extra CI cost/flake from new live models and provider coverage gaps (Fable on Bedrock, GPT opt-in skips) already called out in the PR.

Overview
Retargets the Claude Code compatibility e2e matrix and proxy aliases from Claude 4.x to Haiku/Sonnet/Opus 5.5, and from GPT-5.6 (Sol/Terra/Luna) to GPT-6 with a fourth Astra tier on OpenAI, Bedrock Mantle, and Azure OpenAI where deployed.

Claude: All cells and test_config.yaml use the new aliases; Fable 5.2 is added on Anthropic, Azure Foundry, and Anthropic/Azure long-context rows, but stays off Bedrock Invoke/Converse (no stage Marketplace access) and off Vertex/Bedrock count_tokens where upstream returns 404/403. Bedrock and Vertex paths keep three tiers only.

GPT: OpenAI and Mantle cells assert four models; _gpt_cells.py and stubs document GPT-6 and Astra. Azure OpenAI Terra still uses gpt-5-6-terra-azure-openai because Azure has no GPT-6 Terra deployment yet.

Harness/docs: manifest.yaml, run_compat.sh, and tests/e2e_harness/claude_code stub strings are aligned with the new names; no product/runtime code changes.

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

…and add Fable 5.2

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

@veria-ai

veria-ai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

No security issues were found in this pull request.

Reviews

@mateo-berri mateo-berri added the autoapprove This PR may be autoapproved by greptile. The author thinks that it does not need human review. label Nov 25, 2026
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

@greptile-apps

greptile-apps Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge, with the previous comment-rule finding fully addressed.

Summary

Updates the compatibility matrix to Claude 5.5, Fable 5.2 and provider-specific GPT-6 models. Azure Terra stays on GPT-5.6.

The latest commit removes repeated Azure fallback comments and keeps the reason in one justified TODO. No new issues were found.

mateo-berri explained that enabling the existing long-context skips would fail the gate for an unrelated stage issue. Greptile conceded that earlier finding.

  • Claude Code checks now cover the 5.5 models and Fable 5.2 where supported.
  • GPT compatibility checks now cover the newest models each provider offers.

Reviews (4) · Last reviewed commit: "test(e2e): drop the repeated Azure Terra..." · Reviewed by Greptile

@mateo-berri

Copy link
Copy Markdown
Contributor Author

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.

…atrix

The stage account behind the e2e Bedrock role has no Marketplace subscription for Fable 5.2, so every Bedrock Invoke and Converse call to it answers 403

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

Copy link
Copy Markdown
Contributor Author

@greptileai

Comment thread tests/e2e/claude_code/test_config.yaml Resolved
…add Astra

OpenAI and Bedrock Mantle move to gpt-6.2-sol, gpt-6.1-terra and gpt-6-luna and gain gpt-6.2-astra. Azure OpenAI moves to gpt-6.1-sol and gpt-6-luna, gains gpt-6-astra, and keeps gpt-5.6-terra because Azure has no GPT-6 Terra

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot changed the title test(e2e): move the Claude Code matrix to Opus, Sonnet and Haiku 5.5 and add Fable 5.2 test(e2e): move the Claude Code matrix to Opus, Sonnet and Haiku 5.5, Fable 5.2 and GPT-6 Nov 25, 2026
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@mateo-berri

Copy link
Copy Markdown
Contributor Author

@greptileai

…he config

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

Copy link
Copy Markdown
Contributor Author

@greptileai

@mateo-berri

Copy link
Copy Markdown
Contributor Author

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.

✅ 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 53d4268. Configure here.

@mateo-berri
mateo-berri merged commit 28b58b8 into main Nov 25, 2026
54 checks passed
@mateo-berri
mateo-berri deleted the litellm_claude_code_matrix_newest_models branch November 25, 2026 01:47
yuneng-berri added a commit that referenced this pull request Nov 28, 2026
…teg_e2e_tests

chore(release): backport #54092, #54111, #54112, #54202, #52923, #54246 and #54305 to rc/1.112.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoapprove This PR may be autoapproved by greptile. The author thinks that it does not need human review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant