mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-28 00:00:38 +00:00
* test(e2e): move the Claude Code matrix to Opus, Sonnet and Haiku 5.5 and add Fable 5.2 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(e2e): drop Fable 5.2 from the Bedrock cells of the Claude Code matrix 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> * test(e2e): move the GPT cells of the Claude Code matrix to GPT-6 and 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> * test(e2e): shorten the Bedrock Fable omission notes to a TODO Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> * test(e2e): drop the repeated Azure Terra notes and keep one TODO in the config Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
218 lines
8.2 KiB
YAML
218 lines
8.2 KiB
YAML
# Proxy routing config for the Claude Code Compatibility Matrix PR gate.
|
|
#
|
|
# The tests under `tests/e2e/claude_code/` only know **alias** names (e.g.
|
|
# `claude-haiku-5-5-bedrock-invoke`). The proxy is the layer that maps
|
|
# each alias to a real upstream model id, region, and credentials.
|
|
#
|
|
# Adding a new (feature, provider) cell is a three-step change in the
|
|
# test repo (manifest + test file + alias here); changing which upstream
|
|
# model a cell exercises is a one-step change here, with no test edits.
|
|
#
|
|
# Aliases:
|
|
# - claude-{tier} → Anthropic API
|
|
# - claude-{tier}-bedrock-invoke → Bedrock InvokeModel API
|
|
# - claude-{tier}-bedrock-converse → Bedrock Converse API
|
|
# - claude-{tier}-vertex → GCP Vertex AI
|
|
# - claude-{tier}-azure → Microsoft Foundry (Anthropic deployments)
|
|
# - gpt-{version}-{tier}-openai → OpenAI API
|
|
# - gpt-{version}-{tier}-azure-openai → Azure OpenAI deployments
|
|
# - gpt-{version}-{tier}-bedrock-mantle → Bedrock Mantle (Responses API)
|
|
#
|
|
# GPT tiers are sol / terra / luna / astra, each on the newest version the
|
|
# route serves. There are no GPT aliases for GCP: Vertex AI does not
|
|
# offer the closed-weight GPT-6 family, so
|
|
# the matrix's `vertex_ai_gpt` column reports not_applicable without
|
|
# ever reaching the proxy.
|
|
|
|
model_list:
|
|
# ---- Anthropic ----
|
|
- model_name: claude-haiku-5-5
|
|
litellm_params:
|
|
model: anthropic/claude-haiku-5-5
|
|
api_key: os.environ/ANTHROPIC_API_KEY
|
|
- model_name: claude-sonnet-5-5
|
|
litellm_params:
|
|
model: anthropic/claude-sonnet-5-5
|
|
api_key: os.environ/ANTHROPIC_API_KEY
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
- model_name: claude-opus-5-5
|
|
litellm_params:
|
|
model: anthropic/claude-opus-5-5
|
|
api_key: os.environ/ANTHROPIC_API_KEY
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
- model_name: claude-fable-5-2
|
|
litellm_params:
|
|
model: anthropic/claude-fable-5-2
|
|
api_key: os.environ/ANTHROPIC_API_KEY
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
|
|
# ---- Bedrock (InvokeModel) ----
|
|
- model_name: claude-haiku-5-5-bedrock-invoke
|
|
litellm_params:
|
|
model: bedrock/us.anthropic.claude-haiku-5-5
|
|
aws_region_name: us-east-1
|
|
- model_name: claude-sonnet-5-5-bedrock-invoke
|
|
litellm_params:
|
|
model: bedrock/us.anthropic.claude-sonnet-5-5
|
|
aws_region_name: us-east-1
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
- model_name: claude-opus-5-5-bedrock-invoke
|
|
litellm_params:
|
|
model: bedrock/us.anthropic.claude-opus-5-5
|
|
aws_region_name: us-east-1
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
# TODO: add Fable 5.2 once the stage account has an AWS Marketplace subscription for it. Bedrock answers 403 "Model access is denied" until then
|
|
|
|
# ---- Bedrock (Converse) ----
|
|
- model_name: claude-haiku-5-5-bedrock-converse
|
|
litellm_params:
|
|
model: bedrock/converse/us.anthropic.claude-haiku-5-5
|
|
aws_region_name: us-east-1
|
|
- model_name: claude-sonnet-5-5-bedrock-converse
|
|
litellm_params:
|
|
model: bedrock/converse/us.anthropic.claude-sonnet-5-5
|
|
aws_region_name: us-east-1
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
- model_name: claude-opus-5-5-bedrock-converse
|
|
litellm_params:
|
|
model: bedrock/converse/us.anthropic.claude-opus-5-5
|
|
aws_region_name: us-east-1
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
# TODO: add Fable 5.2 once the stage account has an AWS Marketplace subscription for it. Bedrock answers 403 "Model access is denied" until then
|
|
|
|
# ---- Vertex AI ----
|
|
# `use_in_pass_through: true` registers each deployment's
|
|
# project/location/credentials with the /vertex_ai passthrough
|
|
# router, which the `passthrough` row needs to resolve
|
|
# .../models/{alias}:streamRawPredict URLs. That registration only
|
|
# reads the canonical `vertex_project`/`vertex_location` param names
|
|
# (not the `vertex_ai_*` aliases); the chat translation path accepts
|
|
# both.
|
|
- model_name: claude-haiku-5-5-vertex
|
|
litellm_params:
|
|
model: vertex_ai/claude-haiku-5-5
|
|
vertex_project: os.environ/VERTEXAI_PROJECT
|
|
vertex_location: global
|
|
use_in_pass_through: true
|
|
- model_name: claude-sonnet-5-5-vertex
|
|
litellm_params:
|
|
model: vertex_ai/claude-sonnet-5-5
|
|
vertex_project: os.environ/VERTEXAI_PROJECT
|
|
vertex_location: global
|
|
use_in_pass_through: true
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
- model_name: claude-opus-5-5-vertex
|
|
litellm_params:
|
|
model: vertex_ai/claude-opus-5-5
|
|
vertex_project: os.environ/VERTEXAI_PROJECT
|
|
vertex_location: global
|
|
use_in_pass_through: true
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
|
|
# ---- Microsoft Foundry (Anthropic deployments on Azure) ----
|
|
- model_name: claude-haiku-5-5-azure
|
|
litellm_params:
|
|
model: azure_ai/claude-haiku-5-5
|
|
api_base: os.environ/AZURE_AI_API_BASE
|
|
api_key: os.environ/AZURE_AI_API_KEY
|
|
- model_name: claude-sonnet-5-5-azure
|
|
litellm_params:
|
|
model: azure_ai/claude-sonnet-5-5
|
|
api_base: os.environ/AZURE_AI_API_BASE
|
|
api_key: os.environ/AZURE_AI_API_KEY
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
- model_name: claude-opus-5-5-azure
|
|
litellm_params:
|
|
model: azure_ai/claude-opus-5-5
|
|
api_base: os.environ/AZURE_AI_API_BASE
|
|
api_key: os.environ/AZURE_AI_API_KEY
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
- model_name: claude-fable-5-2-azure
|
|
litellm_params:
|
|
model: azure_ai/claude-fable-5-2
|
|
api_base: os.environ/AZURE_AI_API_BASE
|
|
api_key: os.environ/AZURE_AI_API_KEY
|
|
extra_headers:
|
|
anthropic-beta: "context-1m-2025-08-07"
|
|
|
|
# ---- OpenAI (GPT-6) ----
|
|
- model_name: gpt-6-2-sol-openai
|
|
litellm_params:
|
|
model: openai/gpt-6.2-sol
|
|
api_key: os.environ/OPENAI_API_KEY
|
|
- model_name: gpt-6-1-terra-openai
|
|
litellm_params:
|
|
model: openai/gpt-6.1-terra
|
|
api_key: os.environ/OPENAI_API_KEY
|
|
- model_name: gpt-6-luna-openai
|
|
litellm_params:
|
|
model: openai/gpt-6-luna
|
|
api_key: os.environ/OPENAI_API_KEY
|
|
- model_name: gpt-6-2-astra-openai
|
|
litellm_params:
|
|
model: openai/gpt-6.2-astra
|
|
api_key: os.environ/OPENAI_API_KEY
|
|
|
|
# ---- Azure OpenAI (GPT-6) ----
|
|
# TODO: move Terra off gpt-5.6-terra once Azure lists a GPT-6 Terra. Its catalog stops at gpt-6.1-sol, gpt-6-luna and gpt-6-astra
|
|
- model_name: gpt-6-1-sol-azure-openai
|
|
litellm_params:
|
|
model: azure/gpt-6.1-sol
|
|
api_base: os.environ/AZURE_API_BASE
|
|
api_key: os.environ/AZURE_API_KEY
|
|
- model_name: gpt-5-6-terra-azure-openai
|
|
litellm_params:
|
|
model: azure/gpt-5.6-terra
|
|
api_base: os.environ/AZURE_API_BASE
|
|
api_key: os.environ/AZURE_API_KEY
|
|
- model_name: gpt-6-luna-azure-openai
|
|
litellm_params:
|
|
model: azure/gpt-6-luna
|
|
api_base: os.environ/AZURE_API_BASE
|
|
api_key: os.environ/AZURE_API_KEY
|
|
- model_name: gpt-6-astra-azure-openai
|
|
litellm_params:
|
|
model: azure/gpt-6-astra
|
|
api_base: os.environ/AZURE_API_BASE
|
|
api_key: os.environ/AZURE_API_KEY
|
|
|
|
# ---- Bedrock Mantle (GPT-6, Responses API) ----
|
|
# One region keeps the column comparable across tiers; us-east-1
|
|
# serves all four models.
|
|
- model_name: gpt-6-2-sol-bedrock-mantle
|
|
litellm_params:
|
|
model: bedrock_mantle/openai.gpt-6.2-sol
|
|
aws_region_name: us-east-1
|
|
- model_name: gpt-6-1-terra-bedrock-mantle
|
|
litellm_params:
|
|
model: bedrock_mantle/openai.gpt-6.1-terra
|
|
aws_region_name: us-east-1
|
|
- model_name: gpt-6-luna-bedrock-mantle
|
|
litellm_params:
|
|
model: bedrock_mantle/openai.gpt-6-luna
|
|
aws_region_name: us-east-1
|
|
- model_name: gpt-6-2-astra-bedrock-mantle
|
|
litellm_params:
|
|
model: bedrock_mantle/openai.gpt-6.2-astra
|
|
aws_region_name: us-east-1
|
|
|
|
general_settings:
|
|
# Claude Code sends provider-specific headers (e.g. anthropic-beta) we
|
|
# want to forward verbatim to the upstream so the wire-shape under
|
|
# test matches what real customers send.
|
|
forward_client_headers_to_llm_api: true
|
|
|
|
litellm_settings:
|
|
drop_params: true
|
|
modify_params: true
|