Skip to content

Custom providers

If the model endpoint you want is not a built-in provider, add it as a custom provider: any OpenAI-compatible or Anthropic-compatible HTTP endpoint can be registered with a name, base URL, and key, then used in routing exactly like a built-in provider. Custom providers belong to your organization, and organization owners and admins manage them under Organization → Providers.

When you need one

  • Private LLM gateways: a corporate proxy (LiteLLM, Portkey, an internal gateway) that fronts approved models with your own auth.
  • Self-hosted inference: vLLM, Ollama, TGI, or llama.cpp servers running on your own hardware.
  • Regional or dedicated endpoints: a provider deployment pinned to a specific region or contract that the built-in entry does not cover.

Adding a provider

On Organization → Providers, click + Add provider. The form asks for:

  • Name (slug): a short identifier of 2 to 32 characters: lowercase letters, digits, - and _, starting with a letter or digit. This is how the provider appears in routing and usage reports, so pick something stable. crios-starter is reserved for the built-in starter model and crios-voice for the built-in voice.
  • Display name (optional): a friendlier label for the UI.
  • Protocol: how Crios talks to the endpoint:
    • OpenAI-compatible (chat/completions): requests go to {base URL}/chat/completions. Most gateways and self-hosted servers speak this. Include the version segment (for example /v1) in the base URL if your endpoint uses one.
    • Anthropic Messages: requests go to {base URL}/v1/messages, for endpoints that expose Anthropic's API shape. Give the endpoint root; a trailing /v1 is tolerated.
    • ElevenLabs (voice calls only), Deepgram (voice calls only), and the speech-to-text services, listed as AssemblyAI (speech to text only) and so on: see Speech providers.
  • API base URL: for example https://llm-gateway.internal.example.com/v1.
  • API key (optional — stored in Vault, never shown again): like built-in provider keys. Leave it empty for keyless endpoints such as a vLLM server on a private network.
  • Extra headers (optional): additional HTTP headers sent with every request (some gateways require a tenant or routing header).

Warning

Extra headers are stored as plain provider configuration and are visible to other admins. Put secrets in the API key field, which goes to Vault, never in a header value.

Start from the models.dev registry (optional) at the top of the form searches the providers the models.dev registry knows. Picking one fills in its name, display name, base URL, and protocol, and shows the environment variable its key usually lives in and a link to its docs, so you only add the key. Providers you already have are marked as configured.

Local endpoints must be allowed by the installation

A base URL that points at a private IP address, or at a host name that resolves to one (an Ollama, vLLM, llama.cpp, or LM Studio server on your network, for example) only works where the installation allows local LLM endpoints: its operator turns them on with the CRIOS_ALLOW_LOCAL_LLM setting, or its license grants them (an Enterprise license does). Otherwise testing or saving such a provider is refused with "Connecting to a local LLM endpoint (Ollama, vLLM, llama.cpp, LM Studio) must be enabled by an operator (CRIOS_ALLOW_LOCAL_LLM) or a license that grants it." See licensing. The installation's own built-in starter model is not affected: it is not a custom provider and needs no such permission.

Endpoints inside the installation's own network must be listed by its operator

A base URL that points inside the cluster Crios runs in (a Service or pod address, a *.svc or cluster.local name) or at the server itself (localhost, a loopback address) is refused with "This endpoint is inside the deployment's own network…", whether or not local LLM endpoints are allowed. If it is a model server your operator runs there, ask them to list its host and port in orchestrator.config.llmEndpointAllowList (configuration); a listed endpoint needs no local-LLM permission (the built-in local provider included, when its address is the listed one). On an installation whose cluster network ranges are not configured, every private address is treated this way. Link-local and cloud metadata addresses are never reachable. A base URL is a plain address: one with a query (?…), a fragment (#…) or user info (user@host) is refused; put credentials in an extra Authorization header. Azure Speech and Google Speech providers may keep a query (?cid=…, ?location=…). It must also be the final address: Crios does not follow a redirect from it, so if testing a provider reports a redirect, enter the URL it redirects to.

Self-hosted vLLM preset

The Self-hosted vLLM button above the form fields switches the form to a preset for an OpenAI-compatible vLLM server. The protocol is fixed to OpenAI, the name defaults to vllm, and three fields appear:

  • Model IDs: the model names your server serves (its --served-model-name values), one per line or comma-separated. Those models are registered in the catalog when you save, because vLLM has no public catalog to sync from. When you save, a name the server does not list is reported, so you can fix a typo.
  • Max context (tokens): leave it empty to use the context window your server reports (vLLM and SGLang report it), otherwise 8,192. You can change it later in the Model Catalog.
  • The models accept images (vision): tick it for a vision model such as Qwen-VL, so Crios sends it screenshots and image attachments. Your server's model list cannot say.

This preset is for a vLLM server you run yourself. The installation's built-in starter model is also served by vLLM, but it is managed by the installation and needs no provider entry.

The coding agent reads tool calls from the text of the model's reply. It asks for JSON, and it also reads the formats models fall back to: Qwen3-Coder's <function=…> calls, Hermes-style <tool_call>{…}</tool_call> blocks and MiniMax's <invoke> calls.

Speech providers

Voice calls hear and speak through the two voice routes. Besides the built-in voice, OpenAI, Groq and MiniMax, and any OpenAI-compatible endpoint (its /audio/transcriptions and /audio/speech), several speech APIs have a protocol of their own. The quickest way to add one is Set up in the Speech providers (voice calls) section of the Providers tab (Providers): it opens this form as Set up name, with the protocol, the name and display name, and the service's usual base URL or region already filled in (Azure AI Speech has none: its region is your resource's).

  • ElevenLabs (voice calls only): base URL https://api.elevenlabs.io. Speech to text with Scribe, text to speech with the Eleven models; the voices are your ElevenLabs account's, listed on the call.
  • Deepgram (voice calls only): base URL https://api.deepgram.com. Speech to text with Nova, text to speech with Aura-2 voices. Deepgram is also a built-in provider, so you can simply add its key on its card.
  • AssemblyAI, Soniox, Gladia and Speechmatics (speech to text only): the base URL is filled in for you.
  • Google Cloud Speech-to-Text (speech to text only): the base URL field becomes Region or endpoint URL: global (filled in), us, eu, or a region such as us-central1. The key is a service account's whole JSON key file; the account must be allowed to use Speech-to-Text.
  • Azure AI Speech (speech to text only): your Speech resource's region, such as westeurope, or its endpoint URL, and Key 1 or Key 2 of the resource.
  • Amazon Transcribe (speech to text only): the AWS region (us-east-1 filled in) or an endpoint URL. The key is ACCESS_KEY_ID:SECRET_ACCESS_KEY, or a JSON object with access_key_id, secret_access_key and an optional session_token; the identity needs the transcribe:StartStreamTranscriptionWebSocket permission.

All of them need an API key and transcribe while the caller talks. The speech-to-text services serve only the Speech to text route. Speech providers serve only the voice routes: they never appear in a chat route's provider list, have no models in the catalog (Import Models does not apply), and do not count as an AI provider for the built-in starter model. For ElevenLabs and Deepgram, Test connection and Check Health make an authenticated read (the account's voices on ElevenLabs, its projects on Deepgram), so a bad key shows up before a call does.

Test the connection

Click Test connection before saving. Crios calls the endpoint with your settings and reports the result. On success you see how many models the endpoint lists and the round-trip latency:

Connection OK — 14 models listed (312ms)

If the test fails, the error message usually points at the cause: a wrong base URL (404), a bad key (401), or a network path Crios cannot reach. Until a test passes, the save button reads Save anyway. That is useful when the endpoint is not up yet, but routes pointing at an unreachable provider fail until it is. After a successful test the button reads Save provider.

Getting models into the catalog

A provider is only useful once its models are in the catalog:

  • For OpenAI-compatible providers, click Import Models on the provider card. Crios reads the endpoint's own model listing and adds each model to the catalog, so a self-hosted gateway exposes exactly what it serves. Import again after you add models to the gateway.
  • Enable or disable individual models in Organization → Models, the same as built-in ones.

Agent history on a self-hosted model

A server you run yourself gets slower as a prompt grows, and many cache prompts only by exact prefix: they reuse the work for the unchanged start of a request and re-read everything after the first change. The Agent history column of Organization → Models sets how the agent treats its conversation history while it runs on a model:

  • Compact at (any model): the number of tokens of history at which the agent summarizes it (compacts). Leave it empty for the model's default: 65,536 tokens on a model you run yourself, 400,000 on MiniMax, and 65% of the context window on any other model. A value can be lower or higher than the default, up to 80% of the model's context window; the rest holds the instructions, the tools and the reply. A lower value keeps every request short and fast; a higher one keeps more of the work in view between summaries. Each compaction costs a summary call, and the agent re-reads the files it was working on. The field accepts 8,192 to 10,000,000 tokens.
  • Rewrite history (on by default; on a model you added or imported): the agent shortens old tool results and screenshots in its history to save tokens. Turn it off for a server that caches by prefix: the history then only grows at the end and the agent's current task rides in the last message, so each request reuses the server's cache. Requests carry more tokens until the next compaction. The built-in Anthropic provider's models are append-only by default, because Anthropic reads its prompt cache back by exact prefix; their rows show append-only.

When several models serve a session (different routes, or a fallback), the agent compacts at the smallest point among them, set or default, and keeps the history append-only if any of them has Rewrite history off. A session reads these settings when it starts; a change applies to the next session.

Using it in routing

Once the provider has a key (or was saved keyless) and models, it appears in the routing model pickers alongside built-in providers. Point any session type's primary or fallback at it. Custom providers never stand in: an organization whose only providers are custom ones keeps its unsaved routes on their default provider, where they fail, and its sessions are refused at start until it points its routes at its own provider (Model routing). A common pattern is a built-in provider as primary with your self-hosted endpoint as fallback, or the reverse for cost control.

Custom provider cards have the same key field, Check Health, and Enable / Disable buttons as built-ins (see providers), plus a Delete button. Costs for custom-provider calls appear in usage reporting at whatever prices the catalog carries for their models; a model with no price reports token counts only.