MusePi

Provider quirks: special casings, streams, auth, and catalog handling

Per-provider deep dive for packages/ai transports: what each provider special-cases beyond the shared pipeline, how its stream differs from the plain SSE/delta model, how it authenticates and tracks usage/quotas, and what packages/catalog does specially for its models (descriptors, discovery, identity, thinking metadata, pricing).

Related references:

OpenAI Chat Completions

The OpenAI Chat Completions provider implements HTTP POST JSON body streaming over Server-Sent Events (SSE) for the standard OpenAI /chat/completions wire contract (ChatCompletionCreateParamsStreaming request schema and ChatCompletionChunk event payloads). It serves as the primary workhorse transport for OpenAI models as well as dozens of OpenAI-compatible gateways and third-party providers including Groq, Cerebras, Mistral, DeepSeek, Fireworks, Zhipu (Z.AI), Qwen (DashScope), Kimi (Moonshot), Synthetic, GitLab Duo, OpenRouter, Vercel AI Gateway, CoreWeave, HuggingFace, Nvidia NIM, Novita, GMI Cloud, Baseten, NanoGPT, and Sakana/Fugu. The transport is implemented across packages/ai/src/providers/openai-completions.ts (main streaming runner streamOpenAICompletions), packages/ai/src/providers/openai-chat-wire.ts (vendored wire types), packages/ai/src/providers/openai-shared.ts (shared request/policy/usage helpers), packages/ai/src/providers/openai-reasoning-fallback.ts (400 reasoning-effort recovery), packages/ai/src/utils/openai-http.ts (HTTP SSE client postOpenAIStream), and packages/ai/src/utils/empty-completion-retry.ts (withEmptyCompletionRetry wrapper).

Special casings

Stream behavior

Auth & usage

Catalog model handling

OpenAI Responses

The OpenAI Responses provider (packages/ai/src/providers/openai-responses.ts) handles OpenAI’s stateful /v1/responses HTTP Server-Sent Events (SSE) streaming wire protocol (types defined in openai-responses-wire.ts, shared encoding and decoding logic in openai-shared.ts). Unlike chat completions, the Responses API operates on a structured item sequence (ResponseInput) containing typed input/output items (input_text, input_image, input_file, message, function_call, custom_tool_call, computer_call, reasoning), supports server-side context chaining via previous_response_id, explicit prompt-cache breakpoints, and native reasoning summaries and encrypted content blocks.

Special casings

Stream behavior

Auth & usage

Catalog model handling

OpenAI Codex

The OpenAI Codex provider integrates ChatGPT Plus/Pro subscription models using the OpenAI Responses API surface over SSE or WebSocket transport. Requests target the ChatGPT backend (https://chatgpt.com/backend-api/codex/responses or custom base URL) using ChatGPT OAuth tokens with account-level isolation. Entry modules include streaming in packages/ai/src/providers/openai-codex-responses.ts, request transformation in packages/ai/src/providers/openai-codex/request-transformer.ts, error and rate-limit parsing in packages/ai/src/providers/openai-codex/response-handler.ts, quota and usage tracking in packages/ai/src/usage/openai-codex.ts, reset management in packages/ai/src/usage/openai-codex-reset.ts, base URL normalization in packages/ai/src/usage/openai-codex-base-url.ts, provider registry in packages/ai/src/registry/openai-codex.ts, and OAuth login flow in packages/ai/src/registry/oauth/openai-codex.ts.

Special casings

Stream behavior

Auth & usage

Catalog model handling

Azure OpenAI

Azure OpenAI Responses provider (azure-openai-responses) handles transport, endpoint resolution, and compatibility wrapping for OpenAI-family models (GPT-4/4.1/4o, GPT-5 series, o-series, Codex) served over Azure OpenAI’s Responses API. It uses the internal postOpenAIStream transport (packages/ai/src/utils/openai-http.ts) to make JSON-POST / SSE requests. Stream generation is initialized in streamAzureOpenAIResponses (packages/ai/src/providers/azure-openai-responses.ts), while shared Responses input/output processing logic lives in packages/ai/src/providers/openai-shared.ts.

Special casings

Stream behavior

Auth & usage

Catalog model handling

Anthropic Messages

The Anthropic provider (packages/ai/src/providers/anthropic.ts) implements the Anthropic Messages API protocol over HTTPS POST to /v1/messages (or /v1/messages?beta=true) using Server-Sent Events (SSE) for streaming. Custom HTTP client transport is provided by AnthropicMessagesClient (packages/ai/src/providers/anthropic-client.ts), replacing @anthropic-ai/sdk with built-in retry and timeout logic. Wire structures and SSE payloads are typed in packages/ai/src/providers/anthropic-wire.ts. Client fingerprinting constants (version, user agent, tool prefix) live in packages/ai/src/providers/claude-code-fingerprint.ts, while low-level Node HTTPS socket reuse and header ordering are handled by coworkFetch (packages/ai/src/providers/cowork-fetch.ts).

Special casings

Stream behavior

Auth & usage

Catalog model handling

Google Gemini

Google Gemini integrations use REST/SSE over HTTP (POST https://generativelanguage.googleapis.com/v1beta/models/{model}:streamGenerateContent?alt=sse). Core provider entry points are packages/ai/src/providers/google.ts (streamGoogle), packages/ai/src/providers/google-shared.ts (streamGoogleGenAI, buildGoogleGenerateContentParams, convertMessages, consumeGoogleStream), and packages/ai/src/providers/google-types.ts.

Special casings

Stream behavior

Auth & usage

Catalog model handling

Google Vertex AI

The Google Vertex AI provider enables streaming generation for Gemini models hosted on Google Cloud Vertex AI as well as third-party models (such as Anthropic Claude) served via Vertex endpoints. Entry points include streamGoogleVertex in packages/ai/src/providers/google-vertex.ts for Gemini models (API type "google-vertex"), streamAnthropic via createVertexAuthenticatedFetch in packages/ai/src/stream.ts for Claude models (API type "anthropic-messages"), and ADC authentication in packages/ai/src/providers/google-auth.ts. Transport uses HTTPS REST / SSE with either Application Default Credentials (ADC OAuth Bearer tokens) or Vertex Express Mode API key (x-goog-api-key).

Special casings

Stream behavior

Auth & usage

Catalog model handling

Google Gemini CLI / Antigravity

Google Cloud Code Assist (CCA) transport wrapper accessing Gemini and Claude models over /v1internal:streamGenerateContent SSE endpoints. Implementation spans packages/ai/src/providers/google-gemini-cli.ts (shared execution engine, request construction, stream parsing, and planning leak filters), packages/ai/src/registry/google-gemini-cli.ts & packages/ai/src/registry/google-antigravity.ts (provider definitions and OAuth lazy-loaders), packages/ai/src/registry/oauth/google-gemini-cli.ts & google-antigravity.ts (OAuth login flows, project discovery, and onboarding), packages/ai/src/usage/google-antigravity.ts & packages/ai/src/usage/gemini.ts (quota tracking and credential ranking), and packages/catalog/src/discovery/antigravity.ts (model catalog discovery).

Special casings

Stream behavior

Auth & usage

Catalog model handling

Amazon Bedrock

Amazon Bedrock (amazon-bedrock provider, bedrock-converse-stream API) communicates directly with bedrock-runtime.{region}.amazonaws.com/model/{modelId}/converse-stream via HTTPS POST requests using AWS SigV4 signatures or explicit bearer tokens, decoding binary application/vnd.amazon.eventstream responses. The implementation bypasses heavy AWS SDK dependencies (@aws-sdk/*, @smithy/*), executing native fetches signed with WebCrypto and decoded via a lightweight eventstream parser. Entry modules comprise packages/ai/src/providers/amazon-bedrock.ts (streamBedrock), packages/ai/src/registry/amazon-bedrock.ts (amazonBedrockProvider), packages/ai/src/registry/aws.ts, packages/ai/src/providers/aws-credentials.ts (resolveAwsCredentials), packages/ai/src/providers/aws-eventstream.ts (decodeEventStream), and packages/ai/src/providers/aws-sigv4.ts (signRequest).

Special casings

Stream behavior

Auth & usage

Catalog model handling

Amazon Bedrock Mantle

Amazon Bedrock Mantle is AWS’s gateway endpoint serving OpenAI-compatible models (such as openai.gpt-5.4, openai.gpt-5.5, and openai.gpt-5.6 Luna/Sol/Terra variants) over the OpenAI Responses API (openai-responses) protocol rather than Bedrock’s native Converse JSON transport (amazon-bedrock). Requests target region-interpolated endpoints (https://bedrock-mantle.{region}.api.aws/openai/v1) with OpenAI Responses API payloads (/responses). Entry modules are packages/ai/src/providers/bedrock-mantle.ts, packages/ai/src/registry/bedrock-mantle.ts, and catalog setup in packages/catalog/src/provider-models/openai-compat.ts.

Special casings

Stream behavior

Auth & usage

Catalog model handling

Kimi Code

Kimi Code (kimi-code) and Moonshot (moonshot) provide access to Moonshot AI’s model family through dual-transport execution—wrapping OpenAI-compatible chat completions (/coding/v1/chat/completions) and Anthropic-compatible messages (/coding/v1/messages). Entry points are packages/ai/src/providers/kimi.ts (streamKimi) and packages/ai/src/providers/openai-anthropic-shim.ts (streamOpenAIAnthropicShim), with model discovery and catalog descriptors configured in packages/catalog/src/provider-models/descriptors.ts and packages/catalog/src/provider-models/openai-compat.ts.

Special casings

Stream behavior

Auth & usage

Catalog model handling

Ollama

The Ollama integration consists of two distinct provider definitions in packages/ai: ollama for local Ollama instances (using openai-responses or openai-completions API via baseUrl pointing to local endpoint /v1, defaulting to http://127.0.0.1:11434/v1), and ollama-cloud for Ollama Cloud (using native ollama-chat API transport at https://ollama.com/api/chat). Entry modules are packages/ai/src/providers/ollama.ts for native streaming, packages/catalog/src/provider-models/openai-compat.ts for local Ollama catalog options (ollamaModelManagerOptions), and packages/catalog/src/provider-models/ollama.ts for Ollama Cloud catalog options (ollamaCloudModelManagerOptions).

Special casings

Stream behavior

Auth & usage

Catalog model handling

Cursor

Cursor’s integration in packages/ai operates over an HTTP/2 Connect RPC transport (/agent.v1.AgentService/Run) sending length-prefixed binary Protobuf messages (AgentClientMessage and AgentServerMessage). Key implementation entry points include packages/ai/src/providers/cursor.ts for connection lifecycle, Connect message streaming, and frame dispatching; packages/ai/src/providers/cursor-pi-args.ts for pure argument and path transformations; packages/ai/src/providers/cursor/exec-modern.ts for local tool result frame builders; packages/ai/src/registry/cursor.ts and packages/ai/src/registry/oauth/cursor.ts for PKCE browser authentication and token refresh; packages/ai/src/usage/cursor.ts for multi-endpoint quota tracking; and packages/catalog/src/discovery/cursor.ts for Connect RPC model discovery.

Special casings

Stream behavior

Auth & usage

Catalog model handling

Devin

The Devin integration (devin-agent API) communicates with Codeium Cascade backend services over HTTP/1.1 using the Connect protocol and gRPC/Protobuf messages. Its implementation spans provider stream logic in packages/ai/src/providers/devin.ts (streamDevin, DEVIN_API_URL), provider registry entry in packages/ai/src/registry/devin.ts (devinProvider), CLI OAuth handling in packages/ai/src/registry/oauth/devin.ts (loginDevin), and Connect protobuf schemas located in packages/catalog/src/discovery/devin-gen/exa/*.

Special casings

Stream behavior

Auth & usage

Catalog model handling

GitLab Duo

GitLab Duo is integrated via two distinct providers in OMP: GitLab Duo Non-Agentic (gitlab-duo), which proxies LLM requests through GitLab AI Gateway using standard HTTP/SSE sub-providers, and GitLab Duo Agent (gitlab-duo-agent), which connects to the GitLab Duo Workflow Service (DWS) over a WebSocket-based agent execution protocol. Entry modules for gitlab-duo are packages/ai/src/providers/gitlab-duo.ts and packages/ai/src/registry/gitlab-duo.ts (OAuth in packages/ai/src/registry/oauth/gitlab-duo.ts), while gitlab-duo-agent is implemented in packages/ai/src/providers/gitlab-duo-workflow.ts, packages/ai/src/registry/gitlab-duo-workflow.ts (OAuth in packages/ai/src/registry/oauth/gitlab-duo-workflow.ts), and catalog discovery in packages/catalog/src/discovery/gitlab-duo-workflow.ts.

Special casings

Stream behavior

Auth & usage

Catalog model handling

Pi Native

Pi Native is a lossless internal server/client transport protocol used when a pi-ai client (such as containerized musepi or a sidecar agent slot) delegates request execution to a musepi auth-gateway holding real provider credentials. Activated when a Model sets transport: "pi-native", streamSimple in packages/ai/src/stream.ts short-circuits local provider resolution and POSTs the canonical Context directly to /v1/pi/stream. Primary entry modules are packages/ai/src/providers/pi-native-client.ts (streamPiNative) on the client side, packages/ai/src/providers/pi-native-server.ts (parseRequest, encodeStream, formatError) on the wire framing side, and packages/ai/src/auth-gateway/server.ts (POST /v1/pi/stream route handler) on the server side.

Special casings

Stream behavior

Auth & usage

Catalog model handling


Catalog providers

Every CATALOG_PROVIDERS entry (packages/catalog/src/provider-models/descriptors.ts) that is not itself a transport, one section per provider id, alphabetical. These providers ride one of the transports documented above; each section covers only what the provider adds on top: special casings, auth and usage/quota tracking, and catalog wiring. Providers whose id IS a transport (anthropic, openai, openai-codex, azure, google, google-vertex, amazon-bedrock, bedrock-mantle, cursor, devin) are covered by their transport sections in the first half. Shared-engine providers (google-gemini-cli, google-antigravity, gitlab-duo, gitlab-duo-agent, kimi-code, moonshot, ollama, ollama-cloud) get both: engine mechanics above, per-id auth/usage/catalog wiring below.

ai& (aiand)

ai& (aiand) is an OpenAI-compatible inference API provider (aiand.com) offering open-weights and flagship LLMs with dynamic model catalog discovery, reasoning effort metadata, and token usage pricing. Transport: OpenAI Chat Completions.

Special casings

Auth & usage

Catalog model handling

AIML API (aimlapi)

AIML API is an AI model aggregator platform providing access to diverse multi-vendor models through a unified OpenAI-compatible endpoint. It uses the OpenAI Chat Completions (openai-completions) transport pipeline.

Special casings

Auth & usage

Catalog model handling

Alibaba Coding Plan (alibaba-coding-plan)

Alibaba Coding Plan provides coding-oriented model endpoints hosted on Alibaba Cloud’s DashScope platform. It uses the OpenAI Chat Completions transport (openai-completions) connecting to international (https://coding-intl.dashscope.aliyuncs.com/v1) or mainland China (https://coding.dashscope.aliyuncs.com/v1) endpoints.

Special casings

Auth & usage

Catalog model handling

Stream behavior

QwenCloud Token Plan (alibaba-token-plan)

QwenCloud Token Plan provides model subscription access to Alibaba Cloud’s Qwen and DeepSeek model suites. It operates using the OpenAI Chat Completions transport (openai-completions API schema) over HTTP POST JSON and Server-Sent Events (SSE) streaming (packages/ai/src/providers/openai-shared.ts).

Special casings

Auth & usage

Catalog model handling

Baseten (baseten)

Baseten provides high-performance infrastructure for hosting open-weight LLMs (including Moonshot Kimi, DeepSeek, Zhipu GLM, and gpt-oss series). Requests execute over the OpenAI Chat Completions transport (openai-completions API) targeting default base URL https://inference.baseten.co/v1.

Special casings

Auth & usage

Catalog model handling

Cerebras (cerebras)

Cerebras provides ultra-fast inference on wafer-scale engine hardware for open-weights models such as zai-glm-4.7, gpt-oss-120b, qwen-3-235b-a22b-instruct-2507, and gemma-4-31b. It communicates via the OpenAI Chat Completions (openai-completions) transport.

Special casings

Auth & usage

Catalog model handling

Cloudflare AI Gateway (cloudflare-ai-gateway)

Cloudflare AI Gateway proxies requests through Cloudflare’s edge infrastructure to model providers, utilizing the Anthropic Messages transport. Base URLs require substituting <account> and <gateway> path placeholders with the user’s specific Cloudflare account ID and gateway slug in model configurations.

Special casings

Auth & usage

Catalog model handling

CoreWeave Serverless Inference (coreweave)

CoreWeave Serverless Inference provides hosted AI model inference powered by Weights & Biases (W&B) infrastructure at https://api.inference.wandb.ai/v1. It operates using the “OpenAI Chat Completions” transport.

Special casings

Auth & usage

Catalog model handling

DeepSeek (deepseek)

The DeepSeek provider interfaces directly with DeepSeek’s API (https://api.deepseek.com/v1) using the OpenAI Chat Completions transport (openai-completions). It powers official DeepSeek models like deepseek-v4-pro and deepseek-v4-flash, implementing provider-specific reasoning flags, token-stripping stream filters, custom prompt-cache usage accounting, and Bearer-sanitized API key storage.

Special casings

Auth & usage

Catalog model handling

Fire Pass (firepass)

Fire Pass is a Fireworks AI subscription tier providing dedicated high-throughput router access to Kimi K2.6 Turbo. It uses the OpenAI Chat Completions transport (https://api.fireworks.ai/inference/v1) with Fireworks router endpoint translation.

Special casings

Auth & usage

Catalog model handling

Fireworks (fireworks)

Fireworks (packages/ai/src/registry/fireworks.ts) is a high-throughput AI inference provider serving serverless and dedicated models via an OpenAI-compatible HTTP REST API (https://api.fireworks.ai/inference/v1). It uses the OpenAI Chat Completions transport (streamOpenAICompletions in packages/ai/src/providers/openai-completions.ts) with custom model ID wire translation, thinking parameter conflict resolution, and priority tier handling.

Special casings

Auth & usage

Catalog model handling

GitHub Copilot (github-copilot)

GitHub Copilot routes multi-vendor model execution (OpenAI GPT, Anthropic Claude, xAI Grok, Google Gemini) through GitHub’s unified proxy endpoints (https://api.githubcopilot.com or Enterprise copilot-api.<domain>). The provider dynamically dispatches across three wire transports: OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages.

Special casings

Auth & usage

Catalog model handling

GitLab Duo Non-Agentic (gitlab-duo)

GitLab Duo Non-Agentic (gitlab-duo) proxies Duo Chat LLM completion requests to GitLab AI Gateway proxy endpoints. Depending on the target model mapping, it dynamically delegates execution to the Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses wire transports. It rides the shared GitLab Duo transport section.

Special casings

Auth & usage

Catalog model handling

GitLab Duo Agent (gitlab-duo-agent)

The gitlab-duo-agent provider connects OMP to the GitLab Duo Workflow Service (DWS) for agentic execution over a WebSocket action-bridge protocol. It rides the GitLab Duo transport section.

Special casings

Auth & usage

Catalog model handling

GMI Cloud (gmi-cloud)

GMI Cloud is an AI GPU infrastructure and cloud model inference provider hosting open-weight and proprietary model endpoints. It operates over the OpenAI Chat Completions transport using the standard /v1 wire protocol hosted at https://api.gmi-serving.com/v1.

Special casings

Auth & usage

Catalog model handling

Google Antigravity (google-antigravity)

The Google Antigravity provider (google-antigravity) routes requests to Google Cloud Code Assist daily/sandbox endpoints (daily-cloudcode-pa.googleapis.com) using dedicated OAuth credentials. It provides access to Google Gemini 3.x/2.5 models as well as Anthropic Claude and OpenAI GPT-OSS models using the shared “Google Gemini CLI / Antigravity” transport (packages/ai/src/providers/google-gemini-cli.ts).

Special casings

Auth & usage

Catalog model handling

Google Gemini CLI (google-gemini-cli)

Google Cloud Code Assist (Gemini CLI) (google-gemini-cli) is Google’s OAuth-authenticated developer free and workspace tier providing direct access to Gemini models over the Cloud Code Assist API endpoint (https://cloudcode-pa.googleapis.com). Rides the shared Google Gemini CLI / Antigravity transport section (packages/ai/src/providers/google-gemini-cli.ts).

Special casings

Auth & usage

Catalog model handling

Groq (groq)

Groq provides high-speed LLM inference powered by custom LPU hardware for open-weights models using the OpenAI Chat Completions transport (https://api.groq.com/openai/v1).

Special casings

Auth & usage

Catalog model handling

Hugging Face Inference (huggingface)

Hugging Face Inference provides access to open-source model serverless endpoints hosted on the Hugging Face Hub using the OpenAI Chat Completions transport (openai-completions) pointing to https://router.huggingface.co/v1. The provider enables serverless LLM generation across models including DeepSeek-R1.

Special casings

Auth & usage

Catalog model handling

Kilo Gateway (kilo)

Kilo Gateway (kilo) is an AI model aggregator and proxy service (https://api.kilo.ai/api/gateway) using the OpenAI Chat Completions transport (api: "openai-completions"). It supports authentication via KILO_API_KEY or device-code OAuth flow (/login kilo), and allows unauthenticated dynamic model discovery from its OpenAI-compatible /models catalog endpoint.

Special casings

Auth & usage

Catalog model handling

Kimi Code (kimi-code)

Kimi Code provides subscription-backed access to Kimi models (kimi-for-coding, k3) via Moonshot AI’s /coding/v1 API endpoints. It rides the Kimi Code transport pipeline, delegating request execution to streamKimi (packages/ai/src/providers/kimi.ts) and streamOpenAIAnthropicShim (packages/ai/src/providers/openai-anthropic-shim.ts).

Special casings

Auth & usage

Catalog model handling

LiteLLM (litellm)

LiteLLM is an open-source AI proxy and gateway that unifies access to multiple LLM providers behind an OpenAI-compatible API host. In pi, it operates using the OpenAI Chat Completions (openai-completions) transport pipeline.

Special casings

Auth & usage

Catalog model handling

LM Studio (lm-studio)

LM Studio is a local OpenAI-compatible model server running on user hardware (defaulting to http://127.0.0.1:1234/v1). It uses the OpenAI Chat Completions transport (api: "openai-completions") to stream chat completions and tool calls.

Special casings

Stream behavior

Auth & usage

Catalog model handling

Meta Model API (meta)

Meta Model API is Meta’s commercial API platform hosting first-party models such as muse-spark-1.1. It interacts with the model service via the OpenAI Responses transport targeting https://api.meta.ai/v1.

Special casings

Auth & usage

Catalog model handling

MiniMax (minimax)

MiniMax provides foundation models (including MiniMax-M3 and M2 generation) accessible via regional international (api.minimax.io) and mainland China (api.minimaxi.com) endpoints. Transport depends on descriptor type: standard minimax and minimax-cn use “Anthropic Messages” (/anthropic), while MiniMax Token Plan minimax-code and minimax-code-cn use “OpenAI Chat Completions” (/v1).

Special casings

Auth & usage

Catalog model handling

MiniMax Token Plan (minimax-code)

The MiniMax Token Plan provider (minimax-code, alongside its mainland China regional variant minimax-code-cn) provides access to MiniMax subscription models such as MiniMax-M3 and MiniMax-M2.5 using the OpenAI Chat Completions transport over HTTP POST SSE (https://api.minimax.io/v1 for international, https://api.minimaxi.com/v1 for China). In contrast to plain minimax (which routes over the Anthropic Messages transport using standard static API key authentication), minimax-code uses an interactive subscription login flow and features token plan quota monitoring via musepi usage.

Special casings

Auth & usage

Catalog model handling

MiniMax Token Plan (China) (minimax-code-cn)

MiniMax Token Plan (China) provides access to MiniMax models for mainland China subscribers using the OpenAI Chat Completions transport (openai-completions). It connects to China regional endpoints for subscription onboarding, API key validation, and model execution.

Special casings

Auth & usage

Catalog model handling

Mistral (mistral)

Mistral AI provides access to Mistral, Codestral, Devstral, Ministral, and Pixtral models via api.mistral.ai/v1. Requests use the OpenAI Chat Completions transport (openai-completions).

Special casings

Auth & usage

Catalog model handling

Moonshot (moonshot)

Moonshot is the pay-as-you-go open platform provider for Moonshot AI endpoints (https://api.moonshot.ai/v1 or mainland China https://api.moonshot.cn/v1). It rides the OpenAI Chat Completions transport engine (openai-completions API surface) and shares Kimi-family dialect and thinking mechanics (isKimiModelId in packages/catalog/src/identity/family.ts). It is distinct from kimi-code, which uses subscription device OAuth and subscription endpoints (api.kimi.com / /coding/v1/*).

Special casings

Auth & usage

Catalog model handling

NanoGPT (nanogpt)

NanoGPT is a pay-per-token API gateway exposing diverse open-weights and commercial language models via an OpenAI-compatible interface. It executes requests using the OpenAI Chat Completions transport (openai-completions) with a default base URL of https://nano-gpt.com/api/v1.

Special casings

Auth & usage

Catalog model handling

Novita (novita)

Novita AI is an AI cloud platform offering serverless OpenAI-compatible LLM inference for open models. It uses the OpenAI Chat Completions transport over https://api.novita.ai/openai/v1.

Special casings

Auth & usage

Catalog model handling

NVIDIA (nvidia)

NVIDIA NIM (Inference Microservice) provides access to hosted open and proprietary foundation models via the OpenAI Chat Completions transport (openai-completions API). Base endpoints default to https://integrate.api.nvidia.com/v1.

Special casings

Auth & usage

Catalog model handling

Ollama (ollama)

Local OpenAI-compatible provider integration running on local or self-hosted Ollama instances (defaulting to base URL http://127.0.0.1:11434/v1). Discovered models ride the shared Ollama and OpenAI Responses transport engines.

Special casings

Auth & usage

Catalog model handling

Ollama Cloud (ollama-cloud)

Ollama Cloud provides managed cloud access to open-weight LLMs via native ollama-chat protocol endpoints at https://ollama.com. It rides the Ollama transport section, distinguishing itself from local Ollama by requiring explicit API key authentication and enforcing cloud-specific history sanitization and output token caps.

Special casings

Auth & usage

Catalog model handling

OpenCode Go (opencode-go)

OpenCode Go provides access to multi-provider subscription models (including Kimi, DeepSeek, GLM, Qwen, and MiniMax) through a unified gateway at https://opencode.ai/zen/go. Depending on the target model, requests route over the OpenAI Chat Completions or Anthropic Messages transport pipelines with dynamic API resolution.

Special casings

Auth & usage

Catalog model handling

OpenCode Zen (opencode-zen)

OpenCode Zen (opencode-zen) is a subscription service providing access to multi-vendor AI models (Anthropic Claude, DeepSeek, MiniMax, Gemini, etc.) routed through unified proxy endpoints at https://opencode.ai/zen. Requests are dispatched dynamically across multiple underlying transport APIs—primarily “Anthropic Messages” (/zen), “OpenAI Chat Completions” (/zen/v1), “OpenAI Responses” (/zen/v1), and “Google Generative AI” (/zen/v1)—based on catalog resolution rules, with claude-opus-4-8 designated as its default model.

Special casings

Auth & usage

Catalog model handling

OpenRouter (openrouter)

OpenRouter is a unified multi-provider routing gateway serving hundreds of third-party models over OpenAI-compatible interfaces. Requests execute using the pseudo-API openrouter, dispatching by default to the OpenAI Responses transport or falling back to OpenAI Chat Completions based on environment configuration.

Special casings

Auth & usage

Catalog model handling

Qianfan (qianfan)

Qianfan (Baidu Cloud) provides access to Baidu’s hosted model family via an OpenAI-compatible v2 API using the OpenAI Chat Completions transport. Entry points include packages/ai/src/registry/qianfan.ts (qianfanProvider, loginQianfan) for provider registration and API key authentication, packages/catalog/src/provider-models/descriptors.ts (CATALOG_PROVIDERS) for catalog registration, and packages/catalog/src/provider-models/openai-compat.ts (qianfanModelManagerOptions) for model manager options.

Special casings

Auth & usage

Catalog model handling

Qwen Portal (qwen-portal)

Qwen Portal provides access to Qwen hosted models via an OpenAI-compatible endpoint at https://portal.qwen.ai/v1. It uses the OpenAI Chat Completions transport for model execution and tool calling.

Special casings

Auth & usage

Catalog model handling

Sakana AI (sakana)

Sakana AI provides reasoning models from the Fugu model family hosted via api.sakana.ai. Requests are routed through the stateful OpenAI Responses transport (api: "openai-responses").

Special casings

Auth & usage

Catalog model handling

SiliconFlow (siliconflow)

SiliconFlow is a high-performance AI inference platform providing access to open-source models (such as DeepSeek and GLM). It uses the OpenAI Chat Completions transport (https://api.siliconflow.com/v1 for global, https://api.siliconflow.cn/v1 for China region).

Special casings

Auth & usage

Catalog model handling

SiliconFlow (China) (siliconflow-cn)

SiliconFlow (China) is the domestic China deployment of SiliconFlow’s AI model platform, offering OpenAI-compatible LLM inference for open-weight models tailored for regional availability. It uses the OpenAI Chat Completions transport (openai-completions) with base URL https://api.siliconflow.cn/v1.

Special casings

Auth & usage

Catalog model handling

Synthetic (synthetic)

Synthetic is an AI platform offering dual API format support for its models, exposing both OpenAI-compatible (https://api.synthetic.new/openai/v1/chat/completions) and Anthropic-compatible (https://api.synthetic.new/anthropic/v1/messages) endpoints. Calls default to the OpenAI Chat Completions transport, but can switch dynamically to the Anthropic Messages transport when configured.

Special casings

Auth & usage

Catalog model handling

Together (together)

Together is a cloud inference provider offering access to various open-source and proprietary foundation models via an OpenAI Chat Completions-compatible API.

Special casings

Auth & usage

Catalog model handling

Umans AI Coding Plan (umans)

Umans AI Coding Plan is a proxy service for AI coding models, operating via the Anthropic Messages wire format (“Anthropic Messages”) with its default base URL set to https://api.code.umans.ai.

Special casings

Auth & usage

Catalog model handling

Venice (venice)

Venice is a privacy-focused AI platform delivering uncensored and open-source models. It operates over the OpenAI Chat Completions transport (api: "openai-completions") with default base URL https://api.venice.ai/api/v1.

Special casings

Auth & usage

Catalog model handling

Vercel AI Gateway (vercel-ai-gateway)

Vercel AI Gateway routes LLM requests through a unified proxy (https://ai-gateway.vercel.sh) to underlying upstream providers (such as Anthropic, OpenAI, or Bedrock). It operates across the Anthropic Messages (anthropic-messages), OpenAI Chat Completions (openai-completions), and OpenAI Responses (openai-responses) transport protocols depending on model configuration.

Special casings

vLLM (Local OpenAI-compatible) (vllm)

vLLM is an open-source high-throughput LLM serving engine running local or self-hosted OpenAI-compatible inference servers. It uses the OpenAI Chat Completions transport over HTTP/SSE. Entry modules include packages/ai/src/registry/vllm.ts for authentication and credential handling, and packages/catalog/src/provider-models/openai-compat.ts (vllmModelManagerOptions) for catalog options and dynamic model discovery.

Special casings

Auth & usage

Catalog model handling

Wafer Serverless (wafer-serverless)

Wafer Serverless is a pay-as-you-go provider proxying multiple upstream models (such as Zhipu GLM, Moonshot Kimi, Alibaba Qwen, and DeepSeek) through an OpenAI-compatible API at https://pass.wafer.ai/v1. It relies on the OpenAI Chat Completions transport (openai-completions).

Special casings

Auth & usage

Catalog model handling

xAI API (xai)

xAI API (xai) provides access to xAI’s Grok model suite using standard API key authentication. It routes inference requests through the OpenAI Chat Completions transport (https://api.x.ai/v1), distinct from xai-oauth which uses OAuth bearer tokens and the OpenAI Responses transport.

Special casings

Auth & usage

Catalog model handling

xAI Grok OAuth (SuperGrok) (xai-oauth)

xAI Grok OAuth provides subscription-backed access (SuperGrok / X Premium+) to xAI Grok models over the OpenAI Responses transport (api: "openai-responses", baseUrl: "https://api.x.ai/v1"). Authentication uses RFC 8628 device code flow against https://auth.x.ai, while usage tracking probes the dedicated SuperGrok CLI billing proxy.

Special casings

Auth & usage

Catalog model handling

Xiaomi MiMo (xiaomi)

Xiaomi MiMo delivers Xiaomi’s proprietary MiMo model family (such as mimo-v2.5 and mimo-v2.5-pro) over OpenAI-compatible endpoints. Requests execute over the OpenAI Chat Completions transport using standard pay-as-you-go base URLs (https://api.xiaomimimo.com/v1) or regional Token Plan base URLs (https://token-plan-{sgp,ams,cn}.xiaomimimo.com/v1).

Special casings

Stream behavior

Auth & usage

Catalog model handling

Xiaomi Token Plan (Europe) (xiaomi-token-plan-ams)

Xiaomi Token Plan (Europe) (xiaomi-token-plan-ams) provides regional access to Xiaomi’s MiMo model family (such as mimo-v2.5 and mimo-v2-omni) via Xiaomi’s European Token Plan gateway (https://token-plan-ams.xiaomimimo.com/v1). It uses the OpenAI Chat Completions transport (api: "openai-completions"). This regional provider allows CLI login (musepi login) and dynamic model lookup to store and validate tp- API keys against the European cluster without falling back across regions.

Special casings

Auth & usage

Catalog model handling

Xiaomi Token Plan (China) (xiaomi-token-plan-cn)

Xiaomi Token Plan (China) is the regional China endpoint for Xiaomi MiMo’s Token Plan subscription service (https://token-plan-cn.xiaomimimo.com/v1). It provides access to MiMo AI models using regional tp-... API keys. It uses the “OpenAI Chat Completions” transport.

Special casings

Auth & usage

Catalog model handling

Xiaomi Token Plan (Singapore) (xiaomi-token-plan-sgp)

The Xiaomi Token Plan (Singapore) provider (xiaomi-token-plan-sgp) routes requests to Xiaomi’s Singapore Token Plan cluster using the OpenAI Chat Completions transport (openai-completions). It provides dedicated access to Xiaomi MiMo models (mimo-v2.5, mimo-v2-omni) using region-bound tp-... API keys targeted at https://token-plan-sgp.xiaomimimo.com/v1. This regional entry allows login and model storage isolated from standard Xiaomi MiMo (xiaomi) and other regional token plan endpoints (xiaomi-token-plan-ams, xiaomi-token-plan-cn).

Special casings

Auth & usage

Catalog model handling

Z.AI (GLM Coding Plan) (zai)

Z.AI provides GLM family models (such as glm-5.2) via Zhipu AI’s coding plan infrastructure using the Anthropic Messages transport (https://api.z.ai/api/anthropic). Authentication supports both direct API keys and an OAuth browser sign-in flow that mints a durable API key.

Special casings

Auth & usage

Catalog model handling

ZenMux (zenmux)

ZenMux is a multi-provider gateway using dual transport routing based on model ownership. Models owned by Anthropic (identified by owned_by: "anthropic" or an anthropic/ prefix) route through Anthropic Messages (https://zenmux.ai/api/anthropic), while all other models route through OpenAI Chat Completions (https://zenmux.ai/api/v1).

Special casings

Auth & usage

Catalog model handling

Zhipu Coding Plan (智谱) (zhipu-coding-plan)

Zhipu (智谱) BigModel’s domestic coding-plan provider using the OpenAI Chat Completions transport (openai-completions API). It routes requests to Zhipu’s dedicated Coding Plan endpoint (https://open.bigmodel.cn/api/coding/paas/v4) rather than the general BigModel endpoint to ensure API calls consume coding-plan quota instead of account balance.

Special casings

Auth & usage

Catalog model handling