LiteLLM v1.102.0: what the cometapi/ route covers for chat, embeddings and Responses

LiteLLM shipped v1.102.0 on September 22, 2026 (release), a release whose notes include several Responses API changes — a native Responses API config for another provider, refusal-block preservation in the Anthropic translation layer, and spend accounting for WebSocket Responses sessions. That is a good moment to look at how CometAPI’s Responses endpoint actually reaches callers through LiteLLM, because the answer is less obvious than the provider list suggests.

The prefix routes chat and embeddings

CometAPI’s own LiteLLM page describes the native route: “CometAPI is natively supported — use the cometapi/ prefix to route requests through CometAPI’s model catalog,” with completion(model="cometapi/your-model-id", ...) and an acompletion(..., stream=True) variant (CometAPI docs, page last modified July 2, 2026), mirrored on LiteLLM’s provider page.

That prefix is served by dedicated provider code rather than by the JSON registry. In litellm/main.py at tag v1.102.0, chat completions dispatch to a cometapi branch, and embeddings do the same through their own branch, reading COMETAPI_KEY and defaulting the base URL to https://api.cometapi.com/v1; the provider directory at that tag lists chat, embed and image_generation, and it is the image-generation branch alone that also accepts COMETAPI_API_KEY, as a fallback. CometAPI’s endpoint index matches that picture — llms.txt documents POST /v1/responses and POST /v1/embeddings as operations in their own right.

What actually happens on the Responses path

litellm.responses(model="cometapi/...") does not raise an endpoint-support error. LiteLLM answers such a request through its chat-completions bridge: when a request resolves to no Responses provider config, the handler transforms it into a litellm.completion call instead. The cometapi provider has no Responses config — Python configs are checked first, and cometapi is not among them — so a cometapi/ model lands on that bridge, and the Responses-shaped envelope is served on top of a chat completion.

Direct finding, from the source rather than from a live key: the native route covers chat and embeddings, and Responses arrives through the bridge.

Where the JSON mechanism still matters

The JSON custom-provider path is a separate mechanism: add an entry to providers.json, and supported_endpoints: ["/v1/responses"] lets that provider inherit OpenAI’s Responses handling with no Python. The README documents the lookup and stops at the resolution step — json_loader.py checks supported_endpoints for /v1/responses, dynamic_config.py generates a config class inheriting from OpenAIResponsesAPIConfig, and get_provider_responses_api_config() returns the generated config (openai_like README). The reading I take, and it is an inference from the tagged code rather than a README statement: that is a declaration LiteLLM trusts, not a probe. At tag v1.102.0 the fallback tests JSONProviderRegistry.exists(provider_str) beside JSONProviderRegistry.supports_responses_api(provider_str), whose check is membership against the registry entry’s declared endpoints, so resolution ends at the registry entry. In the registry read on September 23, 28 providers are listed and 7 declare supported_endpoints; those counts move with the branch.

Two things worth deciding before relying on any of it:

  • The bridge is a translation layer, so Responses-only features reach CometAPI only as far as the underlying chat completion carries them — worth one request per feature you depend on.
  • Release cadence is fast: v1.102.0 was tagged September 20 and published September 22, so pinning an image and verifying at deploy time costs less than chasing upstream defaults. The release also documents cosign verification, with the pinned commit hash offered as the strongest key check. Inference, not a release claim: that verification path is what makes enforcing a pinned commit inexpensive.

Where does your coverage check live — a per-endpoint request in your own suite, a pinned gateway image, or the upstream registry?

LiteLLM v1.102.0 carries a fix that names the failure mode this Topic’s bridge analysis implies: fix(anthropic_responses): preserve Responses refusal blocks in Anthropic messages translation (release notes). A translation layer between two APIs drops any field it has not been taught to carry, and it does so politely — the hop returns a well-formed envelope, so nobody notices until someone asserts on the missing field.

The chat-completions bridge serving cometapi/ Responses calls is the same shape. _bridges_to_chat_completions routes a request to litellm_completion_transformation_handler.response_api_handler, so the call reaches the provider as a chat completion, and because the CometAPI provider registers only chat, embeddings and image generation, every cometapi/ Responses call takes that path.

The practical boundary: a 200 proves the transform ran, not that it preserved your data. Coverage for the bridge has to be asserted per field — the specific tool-call structure, the specific refusal block — because those are the things a transform loses silently.