Skip to content

Model Hub ​

The Model Hub is the operational console for every inference endpoint your tenant exposes — chat, embedding, rerank, speech-to-text, text-to-speech, OCR, image generation, and moderation models — across all configured providers. It is the only place where you wire a provider credential to a logical model name, set pricing, configure guardrails, and watch live usage.

Each model you publish here becomes addressable through the OpenAI-compatible runtime described in Model Inference. The model field clients send in /v1/chat/completions is matched against the key column you see in this UI.

Overview ​

The landing page summarises everything deployed in the active project: counters for total models, LLM models, embedding models and providers, recent usage analytics, and per-model status badges.

Model Hub overview

What to look for on this screen:

  • Total models / LLM models / Embedding models / Providers counters reflect the active project only. Switch projects from the header pill (top right) to see another scope.
  • The status badge in the table is a hardcoded "Active" indicator — models do not carry a status field. When a request names a model key the runtime can't resolve, it throws and the call surfaces as an HTTP 500 from /v1/chat/completions.
  • Calls, Avg latency, Spend, Pricing are sourced from the rolling tracing window. The default is "Total" but the date-range picker above the table narrows the report.
  • Browse providers jumps to the provider list (described below). Create Model opens the provider catalog and then the deployment dialog, both described in Deploy a model.

Providers ​

Before you can deploy a model you need at least one provider configuration. Providers carry the credentials (API keys, endpoints, regions) and are scoped to either the tenant or a single project.

Providers list

Provider rows show:

  • Type — Model for inference providers, File for object storage, Vector for vector stores, Datasource for ingestion connectors. The Model Hub only consumes Model providers; the others power adjacent features but appear in the same list for convenience.
  • Driver — the contract implementation that backs the configuration (e.g. openai-compatible, local-filesystem). Multiple configurations can share a driver (typical when the same OpenAI-compatible endpoint is split across departments with different keys).
  • Status — active means the runtime accepts requests for any model attached to this provider. errored provider configurations cause all linked models to fail pre-flight.

Use Add provider to register a new credential set. The form fields are driven by the provider contract (see Providers for the contract structure), so each driver shows its own credential schema.

Deploy a model ​

Clicking Create Model on the Model Hub first opens the provider catalog, which lists the models the selected provider serves (see Add a model from the provider catalog). Picking a model there, or choosing Enter custom model, opens the Deploy model form. Everything required to make a model addressable through the runtime is on a single screen, with a live pre-flight panel on the right.

Add model catalog with one model selected

Sections, top to bottom:

  1. General
    • Display name (required) — what shows up in the table and in tracing.
    • Key (optional) — the value clients pass in the model field of API requests. If you leave it blank, the system derives one from the display name.
    • Category — LLM, Embedding, Rerank, Speech-to-Text, Text-to-Speech, OCR, Image Generation, Moderation, or Decision. Picking a non-LLM category hides the chat-only fields below and shows the fields that category needs instead (e.g. Image shows no context-window field; Moderation shows the detector settings described in Moderation detectors).
    • Description (optional).
  2. Provider & connection
    • Provider — choose any active provider whose driver supports the model category. The summary panel on the right reflects name, driver, and status as soon as you pick one. Coming from the catalog, the provider is already selected.
    • Model ID (required) — the provider-side identifier (e.g. gpt-4o-mini, claude-sonnet-4-6). This is what the runtime forwards upstream after auth and quota checks.
  3. Capabilities (LLM) — input modalities, reasoning, structured output, and tool-call support. These values form the model's explicit capability profile and are published by the OpenAI-compatible discovery endpoint; clients do not need to infer features from the alias name. Reasoning, structured-output, and tool-call support default on — the provider's own driver still caps what's actually possible, but a manual choice within that range persists instead of being silently reset. Turn one off from Edit if a specific deployment doesn't actually support it.
  4. Pricing — a currency, then prices per 1M tokens with separate input, output, cache read and cache write prices (see Prompt caching). Spend reports in the overview and in tracing both read from these numbers, so keep them in sync with the upstream contract.
  5. Limits — context window, maximum output tokens, temperature, and default max tokens, depending on the category (see Output limits).
  6. Reasoning, Prompt caching and, for drivers that offer a choice, Upstream API (LLM), then Request parameters.

The right column gives a Pre-flight checklist (provider selected, display name and Model ID set, pricing configured, category chosen) that flips from grey to green as each requirement is met. The footer counts them as N of 4 ready, and the Create model button only enables when all checks pass.

Add a model from the provider catalog ​

Create Model opens the Add model catalog: the models the selected provider can serve, asked from the provider itself, so the model ID, a display name, the category, the limits and, where known, the price come from the provider instead of being typed in by hand.

The catalog opens on the provider you came from: one you just added, or the provider named by ?addModelsFor=<key>. Otherwise it opens on the first active provider of the project. The Provider picker lists every model provider of the project, and disabled providers cannot be picked. A project without model providers shows Add provider instead.

Where the list comes from ​

DriverListed from
openaiLive: the provider's GET /v1/models.
openai-compatibleLive: GET <base URL>/models. Whatever extra details the server sends are read too: prices (OpenRouter, Together), context windows (OpenRouter, Groq, Mistral, Together, vLLM) and capability flags (OpenRouter, Mistral). A server without that route (404, 405 or 501) has no list.
togetherLive: Together's model list, with Together's own prices.
anthropicLive: GET /v1/models of the configured base URL, following pages. An endpoint without the route (404) has no list.
azureLive: the deployments of the Azure OpenAI resource. The entry is the deployment name, shown with the model it serves. When Azure does not list deployments (400 or 404; newer API versions removed the route), only the deployment configured on the provider is offered.
bedrockLive: the region's foundation models that can be called on demand, plus the system-defined cross-region inference profiles, signed with the provider's AWS credentials. Legacy models are marked Deprecated.
cohereLive: the models with a rerank endpoint. A built-in list is shown when the call fails or returns nothing.
mistral-ocrLive: the OCR models of the Mistral API. A built-in list is shown when the call fails or returns nothing.
azure-document-intelligenceLive: the document models of the resource. The prebuilt models are shown when the call fails or returns nothing.
vertexReference catalog: the Vertex AI chat and embedding models of the market price feed, since Vertex has no list route the console can call with the provider's key. A built-in list is shown when the feed cannot be loaded.
google-document-aiThe processor configured on the provider.
jina-ai, voyage-ai, alibaba-modelstudio, typesafe, aws-textractA built-in list, since these APIs have no list route.

The line under the provider says which it is: Live from provider · listed time, From the reference catalog, or Built-in list.

A live listing is made in real time with the credentials stored on the provider, under the same outbound rules as Test connection: the endpoint policy of the gateway applies, redirects are not followed, and a request stops after 15 seconds (the whole listing after about 20). The dashboard keeps a listing for five minutes, so the catalog and the Model ID suggestions of the create and edit forms share one call. List again (the refresh button next to the source line) asks the provider again.

Only models the driver can serve under one of its categories are listed. Realtime, video and legacy completion models, for example, are left out, and a notice says how many. A listing holds at most 2,000 models.

Reading a row ​

Each row shows the name, the model ID, the category and, when known: the context window, whether the model accepts images, calls tools or reasons, the price per 1M input and output tokens, Deprecated when the provider marks the model as legacy, and Added when the project already has it.

  • Prices. A price the provider lists itself (OpenRouter, Together) wins. Otherwise the price comes from the market reference catalog, the same feed as Fill from catalog, together with limits and capability flags the provider did not send. An approximate reference match is shown with ≈ and never filled in for you. The reference catalog is waited for at most 2.5 seconds; when it is not ready, a notice says some prices and limits may be missing.
  • Filters. Search by name or model ID, narrow by category (only categories present in the listing are offered, with counts), and switch on Hide already added. At most 300 rows are rendered; refine the search to reach the rest.
  • Added. A model of the project that already uses this provider and model ID is marked Added, and hovering shows its keys. Its checkbox is off, so the same model is not added twice by accident. Configure on the row still opens the create form to add a second copy on purpose, for example with other defaults.

Pick one, several, or enter your own ​

  • One model. Select it and choose Continue, or use Configure on its row. The create form opens filled in with the model ID, a display name, the category, the context window and maximum output, the tool, vision, reasoning and structured-output flags, and the price when it is the provider's own or an exact or normalized reference match. Review it and choose Create model. Back to catalog returns to the list.
  • Several models. Select them and choose Add N models. The confirmation says how many have no known price: those are created with 0 prices, and their usage is recorded at no cost until you set one (see Pricing defaults to zero in Create your first model). The models are then created one after another with the default settings, each with a key generated from its name, and a notification reports how many were added and the first error, if any.
  • Enter custom model. This opens the empty create form with the provider preselected. Use it for a fine-tune, a private deployment, a model the list does not show, or a provider without a list.

When the provider cannot list ​

When a listing fails, the catalog says why: the provider refused the credentials, could not be reached, did not answer in time, or returned an error; the gateway's outbound network policy does not allow its address; the stored credentials could not be read; or the provider settings are incomplete. It then offers Try again and Enter a model manually. The detail line never contains a credential value or the provider's response body. When the provider has no list at all, such as an OpenAI-compatible server without /models, the catalog says so and offers Enter a model manually. A model entered by hand works exactly like one picked from the list.

Permissions ​

Listing a provider's models needs Write on the models service, although it only reads: each listing spends the provider's stored credentials on a call to the provider, and only the create and edit flows use it. A member with Read only is refused with 403. The dashboard calls GET /api/models/providers/{providerKey}/catalog. A provider outside the active project answers 404, and a disabled provider answers 409 with code: "provider_disabled". A listing that the provider refused is still a 200, with the reason in the catalog's error.

Output limits ​

On an LLM model, two fields set output limits:

  • Maximum output tokens — the most the model can generate in one response. It is advertised to clients and caps defaults and retries; it must not exceed the context window.
  • Default max tokens — the limit applied to every request that does not set its own max_tokens. Blank means the provider's or model's default. Keep it at or below Maximum output tokens. Reasoning tokens count against it.

The form warns, without blocking the save, when Default max tokens is above Maximum output tokens: requests that use it can be rejected by the provider. A caller's own max_tokens is a hard cap and is never raised. See Output limits for what a blank value sends and what a cut-off call returns.

Prompt caching ​

The Prompt caching section of the model form (after Reasoning) has a Cache prompts switch. It reuses the unchanged start of a request (tools, system prompt, earlier turns) so repeated input bills at the cache-read price.

  • On by default for Claude models (Anthropic, Bedrock Claude, Claude on Vertex). Off by default for Amazon Nova models and for Bedrock model IDs Cognipeer does not recognise (such as an ARN), until you turn it on. Providers that cache by themselves (OpenAI, Azure OpenAI, OpenAI-compatible servers, Together, Gemini) say so and have nothing to set; model families without prompt caching get no cache markers.
  • What to cache: Conversation (recommended) caches the tools, the system prompt and the conversation so far, so each agent step reads the earlier turns from cache; Tools and system prompt only caches just those, and earlier turns bill at the input price. On Nova models the second choice is System prompt only, because Nova does not cache tool definitions. Cached prompts live for 5 minutes.
  • The setting applies to every call of the model: gateway, agents, guardrails, decisions, OCR and evaluations.
  • Prices: Cache read / 1M and Cache write / 1M in the pricing fields. Blank means the input price, except that an empty cache-write price on a Claude model is assumed at 1.25 times the input price. The section warns when the prices are empty and offers Fill from catalog. The model detail page shows a summary card.

Turning the switch off sends requests without cache markers, so every call bills its full input at the input price. Cache markers a client sends itself are kept either way. See Usage and cost.

Over the API the switch is stored as settings.promptCaching: { "enabled": true, "strategy": "auto" }, where strategy is auto (the conversation) or static (tools and system prompt only). An absent field means the default above. The cache lifetime cannot be changed, and a ttl is refused.

Inspecting a model ​

Clicking a row from the overview opens the model's detail screen. This is the surface engineers use most often when something looks off in production: it combines the operational view (latency, error rate, recent calls) with everything required to reproduce a request.

Model detail page

The page is organised in tabs:

  • Overview (shown above) — performance over the chosen window, a ready-to-paste curl against the local runtime, recent requests, and the static metadata panel on the right (pricing, settings, status, timestamps).
  • Playground — a chat sandbox bound to this model. The system prompt and runtime settings come from the model definition, so the playground exactly mirrors what production traffic experiences.
  • Routing (Dynamic models) and Replicas (other LLM models) — the routing rules, or the pool of replica deployments of the same model.
  • Configure — the underlying definition, read-only, with the Guardrails card (edited in its own overlay) and Open editor for everything else.
  • Logs — request-level entries with prompts, completions, token usage, and tool calls. Streams from the same store as Agent Tracing. Each entry is success, error, or cancelled. Cancelled is a streamed call whose client disconnected before the answer finished — a user pressing stop, a closed tab, a request timing out on the caller's side. It is deliberately neither of the other two: it does not count towards the error rate, because nothing failed on our side or the provider's, and it does not count as a success, because the answer was never delivered. The output tokens generated up to that point are still recorded and billed — the provider charges for them — but when the provider never reported a count (it rides on the terminal chunk the client did not wait for) the figure is estimated from the streamed text and the log entry is marked output_tokens_estimated.
  • Usage — aggregated cost and call counts grouped by token, API token, and time bucket.

The Endpoint panel exposes the canonical curl snippet:

bash
curl -X POST http://localhost:3000/api/client/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{"role":"user","content":"Hello"}]
  }'

YOUR_API_TOKEN comes from the API Tokens screen. Tokens are tenant-scoped and inherit the requesting member's project permissions.

Editing a model ​

Use Edit model in the … menu on a row (or in the detail page header), or Open editor on the detail page's Configure tab, to reach the Edit model name form. The fields mirror the create form but apply changes in-place — no need to delete and recreate.

Edit model form

Common edits:

  • Pricing — when the upstream provider updates rates, edit here so spend reports stay accurate.
  • Settings — adjust temperature, maxTokens, and provider-specific runtime defaults. These apply when clients don't override them in the request body.
  • Guardrails — the Configure tab's Guardrails card shows which policies run on every request to this model and lets you attach or change them. See Attach a guardrail to a model for the step-by-step flow.
  • PII protection — for LLM models, a PII protection section after Guardrails picks a PII policy. Every call then reaches the provider with tokens in place of the values the policy finds, and the caller gets the originals back. An agent's own setting outranks the model's. See PII protection on models and agents.

Changes apply on save. There is no separate publish step.

Public alias and canonical model ID ​

Keep these identities separate:

  • Key is the stable public alias returned as data[].id by GET /api/client/v1/models. Renaming it is an API contract change for clients.
  • Model ID is the canonical provider-facing identifier. Cognipeer sends it upstream and publishes it as cognipeer.canonical_model_id for metadata correlation.

Multiple public aliases may intentionally point to the same provider model with different settings, pricing, guardrails, or routing behavior. Discovery therefore never replaces the public key with the provider model ID.

Input types and vision ​

A chat model's Input types say what can be sent to it: Text, Images, Audio, Video and Files. They sit under Capabilities in the deploy dialog and on the model's edit screen, and they matter for one thing in particular: whether an image is shown to the model or replaced by a note. An agent's session files are only sent as pictures to a model that accepts images, and Studio warns in the composer when the agent's model is text-only.

How a model's types are decided:

  1. A choice you make wins. Tick or clear a box and the list is stored on the model as an explicit choice (a Set manually badge appears). That includes a deliberate text only: it always beats anything below. Detect automatically takes the choice back.
  2. Otherwise, the model id decides. A chat model whose Model ID belongs to a known vision family is taken to accept images; the form shows Detected from the model id. The families include GPT-4o, 4.1 and 5 and later, the o-series (except o1-mini and o3-mini), Claude 3 and later, Gemini, Llama 3.2 Vision and Llama 4, LLaVA, Qwen-VL and other open vision-language models, Pixtral, Grok vision, and Amazon Nova (Micro is text only). The match ignores a path (openai/gpt-4o) and a Bedrock region or vendor prefix (us.anthropic.claude-3-…).
  3. Otherwise, the category decides. A chat model with neither is text; a speech-to-text model is audio; an OCR model is image and file.

The detection is a default, not a promise: a family a provider ships without vision, or a deployment name that hides the model, is fixed by setting the model's Input types — not by editing code.

The model list shows a vision badge on every model that takes images, and the Multimodal filter counts them. The same resolved list is published as capabilities.inputModalities by the model discovery endpoint (GET /api/client/v1/models), and you can set it over the API when you create or update a model:

json
{ "capabilities": { "inputModalities": ["text", "image"] } }

A "text only" that nobody chose

Models saved by older forms carry a plain ["text"] that was written on every save and was never a choice. Cognipeer reads that as "nothing stored" and falls back to the id-based detection, so such a model that reads images is shown as taking images. If you really do want a model to be text only, choose it again on the model's page — a choice made now is flagged and always wins.

How requests resolve ​

When a client calls /api/client/v1/chat/completions with model: "gpt-4o-mini", the runtime resolves the call in this order:

  1. Authenticate the API token and resolve the tenant + project.
  2. Look up the key gpt-4o-mini in the active project's Model Hub.
  3. If the key cannot be resolved to a model definition, the runtime throws and the request returns HTTP 500.
  4. Pull the linked provider configuration, decrypt credentials, and instantiate the provider runtime (see Providers).
  5. Apply input guardrails, forward the request using the model's modelId, then apply output guardrails before responding.
  6. Persist tracing and usage records, including the pricing snapshot from the model definition.

Every step is observable through Agent Tracing. If a request fails, the trace points to the exact step that rejected it.

Image generation ​

Deploy a model in the Image category (e.g. Azure gpt-image-2, OpenAI dall-e-3) the same way as an LLM: pick a provider, set the Model ID, set per-image pricing. Once deployed:

  • The Playground tab on the model's detail page becomes an image playground — enter a prompt, pick size/quality, and generate. Left-nav Playground → Image offers the same sandbox across every deployed image model.
  • POST /api/client/v1/images/generations speaks OpenAI's image schema. See Images API for the full request/response reference.
  • Image models bill per image, not per token — the quota guard checks request count up front and settles the budget from the actual image count the upstream returned.

Moderation detectors ​

A model in the Moderation category backs the model detector on a moderation guardrail policy (see Guardrails) with a real classifier instead of an LLM judge. Two ways to get category scores:

  • LLM detector (default, no extra deployment needed) — any chat model judges the input and returns coarse severity, converted to a fixed 0.3/0.6/0.9 score scale.
  • Model detector — deploy a purpose-built moderation model here (an omni-moderation-latest-shaped endpoint), then select it as the guardrail's detector for real per-category scores at a fraction of the cost of an LLM call.

The choice is made per-guardrail on the guardrail's policy settings, not per-request — see Moderations API for the response shape either detector produces.

Upstream API ​

Models served by the openai, azure, openai-compatible and together drivers have an Upstream API setting in the create and edit screens and on the model page. It decides which OpenAI endpoint Cognipeer calls for that model:

ValueEndpointWhen to use it
Chat Completions (default)/chat/completionsEvery OpenAI-compatible server, and any model that does not need anything else
Responses/responsesModels that are only served on the Responses API, or when you want the upstream's reasoning summaries. The upstream must implement the Responses API

Things to know:

  • It is always your choice. Cognipeer never switches APIs on its own and never looks at the model id. A "Responses-first" model id still uses Chat Completions until you pick Responses. A model that only works on Responses needs the setting stated.
  • Clients are not affected. The gateway endpoints (/chat/completions, /messages) keep answering in the format the client asked for. A chat-completions client talking to a model whose upstream API is Responses still gets a normal chat.completion, with reasoning text and reasoning-token usage under the usual reasoning rules. Agents behave the same way.
  • Which features need Responses. Reasoning summary text for OpenAI models, and models that refuse function tools together with a reasoning effort on Chat Completions (the upstream error says "use /v1/responses"). Everything else works on Chat Completions.
  • Only these drivers. Saving Responses for an Anthropic, Bedrock or Vertex model is rejected with HTTP 400. Those drivers use their own native APIs.
  • Self-hosted servers. Many OpenAI-compatible servers implement only Chat Completions. Pick Responses only for a server that documents /responses; otherwise calls fail with the server's own error.
  • Streaming works over Responses too, including reasoning summaries when the upstream sends them.
  • Stored as settings.upstreamApi ("responses"; absent means Chat Completions). Clearing the field in the edit screen removes the key.

Reasoning ​

Each chat model has a Reasoning section: a default thinking effort for the driver, an optional token budget, and Return reasoning to callers. The model page shows the effective setting, including when tools force the effort to none. Precedence, Claude's thinking forms and token accounting are on the Reasoning page.

Replica pools ​

A model normally maps to one provider + model ID. Replicas let one model key fan out across several interchangeable deployments of the same model — the same weights, same price, same capability profile — so a request lands on whichever copy is healthy, instead of your only deployment becoming a single point of failure.

Open the Replicas tab on an LLM model's detail page to add replicas: each one names a provider, a model ID (the deployment name at that provider — this can differ per replica, e.g. two different Azure deployment names for the same underlying model), an optional weight (relative share of traffic; defaults to 1), and can be individually enabled/disabled without deleting it.

How routing behaves:

  • With no replicas configured, a model works exactly as before — a pool of one.
  • With replicas configured, each request draws a weighted-random order across the pool. Healthy replicas are tried first; a replica whose circuit breaker is currently open (cooling down from recent failures) is pushed to the back of the order rather than dropped, so the pool still attempts a call instead of failing outright on stale state.
  • A failure that looks capacity- or availability-related (429, 5xx, timeout, connection error) moves on to the next replica in the order. A failure that is the caller's own mistake (400, 401) does not — retrying it on another replica would just fail identically while burning another provider credential's rate limit.
  • Because a pool must stay invisible to callers, replica selection is never a routing decision the way Dynamic LLM routing is — it's recorded as a detail of the call (which replica actually served it), not as a separate model or a separate price. One usage row, one cache key, one capability profile, regardless of which replica answered.

Replica pools and Dynamic LLM compose: a Dynamic LLM rule picks which model to call for a given request, and if that model has replicas configured, the pool then picks which deployment of it actually serves the call.

Where to go next ​

  • Model Inference — the request/response shape for chat and embedding endpoints.
  • Images API — the image-generation request/response reference.
  • Providers — provider contract structure and how to add new drivers.
  • Guardrails — input/output filters you can attach per model.
  • Agent Tracing — query and inspect the per-request records the runtime writes for every Model Hub call.

Studio · Pulse · Console · Agent SDK and more — the Cognipeer documentation hub · Contact Support