litellm/litellm-rust/docs/customer-proxy
Nate Armstrong 693dae2a86
feat(gateway): claude chat completions on vertex ai (#47101)
vertex_ai/ deployments of Claude models now serve /v1/chat/completions,
streamed and not, instead of being refused. The request is the Anthropic
chat translation built for the vertex_ai host, as Python's
VertexAIAnthropicConfig builds it on top of AnthropicConfig: capabilities
read the vertex_ai/ cost map entry first and native structured output
reads only that entry, service_tier and speed are refused or dropped with
drop_params, and the Anthropic API betas are not added. The body drops
model, carries anthropic_version vertex-2023-10-16, folds output_format
into output_config and keeps effort only for models that take it, and
names its context management and caller betas in anthropic_beta and the
anthropic-beta header, filtered to what Vertex accepts, with the web
search beta alone when there are none.

The call goes to the publisher rawPredict URL for the project and
location, regional or global, or a custom api_base or VERTEXAI_API_BASE,
with a Google access token from vertex_credentials, the environment or
ADC. Streams call streamRawPredict with stream true, alt=sse on a custom
base, decode the Anthropic events as the anthropic/ path does and hand
usage to the hooks through ReportedUsage. Every remote image is
downloaded first, since Vertex takes none by URL, and the response names
the requested model.
2026-10-19 10:44:13 -07:00
..
azure-chat.svg feat(gateway): Azure OpenAI chat completions through the OpenAI passthrough 2026-10-19 09:59:06 -07:00
bedrock_messages-flow.svg feat(gateway): native Bedrock invoke for /v1/messages (#46814) 2026-10-16 12:43:01 -07:00
budgets.svg feat(gateway): enforce key, team, user, member and end-user budgets on shared spend counters (#47044) 2026-10-19 09:58:44 -07:00
chat-streaming.svg feat(gateway): Anthropic and Bedrock chat completions streaming 2026-10-19 09:59:07 -07:00
gemini-chat.svg feat(gateway): gemini chat completions on google ai studio and vertex ai (#47098) 2026-10-19 10:44:12 -07:00
hooks-pipeline.svg feat(gateway): hooks and observers around inference requests, with usage and cost (#47032) 2026-10-19 09:58:43 -07:00
loadtest-rig.svg feat(gateway): load-test kit, Docker build knobs and TCP_NODELAY for the customer proxy (#46806) 2026-10-16 12:42:59 -07:00
model-capacity.svg feat(gateway): model capacity hook, the proxy's dynamic rate limiter (#47055) 2026-10-19 09:58:45 -07:00
openai-compat-chat.svg feat(gateway): native chat for openai-compatible providers (#47099) 2026-10-19 10:44:13 -07:00
openai_chat-flow.svg feat(gateway): native OpenAI chat completions with SSE passthrough (#46813) 2026-10-16 12:43:00 -07:00
ops-drain.svg feat(gateway): health probes, Prometheus /metrics and graceful drain (#46808) 2026-10-16 12:43:00 -07:00
ops-metrics.svg feat(gateway): health probes, Prometheus /metrics and graceful drain (#46808) 2026-10-16 12:43:00 -07:00
prometheus.svg feat(gateway): prometheus observer with the proxy's metric and label names (#47060) 2026-10-19 09:58:46 -07:00
rate-limits.svg feat(gateway): enforce key, user, team, member and end-user rate limits on shared counters (#47050) 2026-10-19 09:58:44 -07:00
request-hooks.svg feat(gateway): configurable header, spend metadata and provider metadata hooks (#47054) 2026-10-19 09:58:45 -07:00
routing-cooldown.svg feat(router): load balance, retry and cool down across deployments of a model group (#46817) 2026-10-16 12:43:01 -07:00
routing-request-flow.svg feat(router): load balance, retry and cool down across deployments of a model group (#46817) 2026-10-16 12:43:01 -07:00
s3-log.svg feat(gateway): s3_v2 observer writing the proxy's logging payload to S3 (#47063) 2026-10-19 09:58:46 -07:00
shared_state-redis.svg feat(gateway): share router cooldowns and follow proxy key invalidations through Redis (#47017) 2026-10-17 16:34:03 -07:00
spend-writer.svg feat(gateway): write spend to the proxy's database from a native observer (#47041) 2026-10-19 09:58:43 -07:00
vertex-claude-chat.svg feat(gateway): claude chat completions on vertex ai (#47101) 2026-10-19 10:44:13 -07:00
virtual_keys-auth-flow.svg feat(gateway): accept virtual keys from LiteLLM_VerificationToken (#46819) 2026-10-16 12:43:01 -07:00