Skip to main content
A model id is <vendor>/<model>, split at the first /: openrouter/anthropic/<model>, databricks/system.ai.<model>. The first part names an entry of the vendor registry, which says how to reach that vendor or gateway and which protocol it speaks. The registry is platform configuration, released with the platform as the model catalog is: a flow names an entry in a vendors entry of its genai.model.language and cannot add one.

The registry

One entry per vendor or gateway. An entry holds: A dialect’s options tune it without code. openai_chat reads four: cache (top_level, parts or none: where the cache mark goes, if anywhere), explicit_cache_off (a boolean), media_parts (the request part audio and video go in: input_audio, audio_url, video_url or file) and reasoning (object: the entry takes reasoning in its reasoning object). The other three dialects read none. request_defaults are request fields sent on every call, beneath the provider’s own vendor_settings. OpenRouter’s entry, as the registry file holds it:

The entries

  • openai: stateless; see OpenAI on the Responses API.
  • openrouter: PDFs are read by the model itself, never by OpenRouter’s paid OCR. Reasoning goes in the request’s reasoning object.
  • databricks: the endpoint each vendors entry gives is the workspace’s https://<workspace>/ai-gateway/mlflow/v1. It authenticates with a personal access token, as the api_key. Cache marks go on message parts.
  • openai_compatible: any server speaking Chat Completions; no cache marks.
  • vercel: no cache marks. Reasoning goes in the request’s reasoning object.
A vendor that serves no language model cannot be named in a vendors entry of a language model provider, and an entry that gives no endpoint where its registry entry has none is refused; both messages are on the language model page.

Dialects

A dialect is the protocol an entry speaks: the code that turns BlobHub’s messages, files, tools and settings into a request, and the vendor’s answer back into a message. There are four, all for language models: A dialect is code; an entry is configuration. A gateway whose differences the registry’s options cover is one more entry, with no new code.

Gateways speak Chat Completions

Chat Completions is the API every gateway serves most completely, so openai_chat serves them all. It reads, without configuration, the variants gateways return: reasoning as reasoning_details (OpenRouter, Vercel) or as parts inside content (Databricks), and cached tokens as prompt_tokens_details.cached_tokens or as Anthropic-style top-level fields. Reasoning a gateway returns is kept and sent back only to the same entry. One limit carries over from OpenAI’s API: OpenAI’s own models refuse tool calls together with reasoning on Chat Completions, through a gateway as much as directly.

OpenAI on the Responses API

The openai entry speaks the Responses API, used statelessly: the request always carries store: false, and BlobHub keeps the conversation. Reasoning crosses turns and tool calls through the encrypted reasoning items the API returns, which the request asks for on every call. What a turn answered with is kept, item by item, in the vendor_data of its blocks, and an assistant turn of OpenAI’s own sends those items back verbatim, in order.
  • A system message goes in instructions; its files go at the head of the first user turn.
  • seed, stop_sequences, frequency_penalty, presence_penalty and top_k are left out; the Settings left out: warning gives openai has no such setting as the reason for each.
  • json and json_schema are sent as the request’s text.format.
  • Audio and video are not carried; images and PDFs are.
Gemini stays on generate_content.

A flow’s own endpoint

A vendors entry’s base_url replaces the registry’s for that provider, for a server speaking the same dialect. openai_compatible is the entry for any OpenAI-compatible server that has no entry of its own, such as a company proxy or a model server of your own: it needs a base_url on every vendors entry that names it. Databricks is the same case for a workspace: each vendors entry gives its own workspace URL. A server of your own that speaks Chat Completions goes under openai_compatible, never under openai, which speaks the Responses API.

Gateway models and the catalog

A gateway serves hundreds of models under its own ids. The catalog lists the gateway ids the platform tests; any other id is an unknown model: accepted, every setting its dialect has a field for sent, capabilities unchecked with a warning, and the gateway deciding at the call. Databricks ids stay unknown, since a workspace’s models are its own.