Skip to content

Public model research catalog

Last updated: 2026-11-21T08:59:43-03:00 (UTC-3)

Open /registry to research original public model listings and their provider offers. It is part of the same gateway binary. It is separate from /hub, which publishes approved local aliases, and /ui, which manages private configuration. A public listing is neither a routable gateway alias nor evidence of adapter support, availability or permission to make a paid request.

Both operator flags default to false. model_registry requires ui; it is independent of the protected external_model_catalog. model_registry_management additionally requires the registry and PostgreSQL for versioned policy changes. Anonymous disclosure is an instance decision, not a tenant plan entitlement. Flags never grant administrative permissions.

features:
ui: true
model_registry: true
model_registry_management: true
model_registry:
fetch_timeout: 30s
cache_ttl: 15m
sources:
cost_map: true
modelsdev: false
Key Default What it does
model_registry.fetch_timeout 30s Deadline of one fetch of a public source, 1s–2m
model_registry.cache_ttl 15m How long a fetched snapshot is reused, 1m–24h
model_registry.sources.cost_map true The public cost map, the registry’s required base source; it must stay true
model_registry.sources.modelsdev false Adds the optional models.dev metadata, matched exactly, to the catalog

This fragment supplements ordinary installation configuration; it does not provision infrastructure or configure a provider. Fetch timeout defaults to 30s (inclusive 1s–2m); cache TTL defaults to 15m (1m–24h). The original public cost map is required. Optional exact metadata enrichment defaults off. Source URLs are fixed protocol boundaries; the settings do not accept arbitrary URLs, credentials, scripts or account catalogs.

In Model catalog, the dedicated public research policy editor shows effective values, default/YAML/console provenance, version and the optional override. Global administrators/operators with models:manage may save or revert; global readers with config:read may inspect. Team-scoped roles cannot read this instance policy. Writes require CSRF, the management flag, current control version, full typed policy and atomic audit. A stale version is 409. Saving affects new fetches and cache lookups after replica refresh; it does not cancel an in-flight operation. YAML changes require a restart. Deleting the override restores YAML/defaults. Feature-off leaves stored policy dormant; re-enable restores it.

The versioned settings API is GET/PUT/DELETE /api/v1/admin/model-registry/settings. GET returns version, nullable override, effective, per-field sources, restart_required:false and applies_to:new_fetches_and_cache_lookups. PUT accepts {version,model_registry:{fetch_timeout,cache_ttl,sources:{cost_map:true,modelsdev:false}}}. DELETE accepts {version} only. Unknown, duplicate, null or incomplete fields are refused. See OpenAPI for the contract and access control for session permissions.

Terminal window
BASE_URL='http://localhost:8080'
curl --fail-with-body -sS --get "$BASE_URL/v1/registry/models" --data-urlencode 'q=assistant' --data-urlencode 'limit=50' --data-urlencode 'offset=0'

The list returns source provenance, method, warnings, total, limit, offset and models. Search is bounded to 256 UTF-8 bytes with no control characters. Limit defaults to 50 and accepts 1–200; offset accepts 0–10000. Integers must use canonical decimal syntax. Unknown or repeated query parameters are 400. Follow a returned id with GET /v1/registry/models/{id} for one model’s offers; that route accepts no query fields. Flag-off, UI-off and unknown IDs return 404. All responses are no-store. Request and trace IDs are returned and source fetches propagate them into linked client spans.

Anonymous pages fetch only the safe public API, with no session, administrative or inference request. Public source DTOs never include configured aliases, provider connections, account inventories, manual prices, teams, keys or credentials. Source strings are rendered as text; source URLs are validated HTTPS links. The portal preserves loading, unavailable, stale, empty and unknown states instead of turning a source failure into zero results.

A group is an exact (mode, source model label) pair after removing at most one exact declared provider prefix. Its stable opaque m_ ID is the SHA256 of those components. Dates, versions, region, quantization and remaining namespaces are preserved. Grouping is a label convenience, not proof of equivalent weights, deployments or behavior. Each offer retains its exact original source key, provider, model label, features, limits, modalities and rates. Conflicting offers stay visible individually; a missing fact is unknown, and a published false feature is explicitly false.

The required feed is the original community cost map. Optional models.dev enrichment fills only missing display names/release dates on exact provider/model matches. It never replaces rates, features or limits. Enrichment is separately attributed, including its own successful timestamp/hash/freshness. Disabling enrichment removes enriched facts instead of retaining a previous policy’s view. Source specification/fallback control rows and unusable identities are excluded with coverage warnings. Safely identified model/service records retain their declared modes, including decision/evaluation and other service listings; discovery does not infer an inference capability.

Named integer limits remain distinct: max_input_tokens, max_output_tokens and max_tokens are not interchangeable. Published input/output modalities are kept separately; no modality or capability is inferred from a model name. The allowlisted supports_* booleans are facts about a source listing, not a promise about your configured route.

Rates are exact decimal strings with the original parameter, currency, unit and optional published condition. USD and DBU are distinct. Token, audio/image/video token, second, image, character, pixel, query, request, page, credit, session and other published units are never mixed. Cache, context, batch and service variants retain their parameter names. A zero published rate is distinct from a missing rate; neither certifies a free successful call. No floating-point amount, billing adjustment, ledger reservation or invoice is generated by browsing.

Every source preserves its original URL, SHA256, successful capture time, explicit stale status and license/attribution/full notice. Capture time is not model release or price-effective time. Bounded fetches reject redirects, credentials, oversized/ambiguous JSON and unsafe fields. The source budget includes admission waiting. If refresh fails, a previously successful snapshot may be served explicitly stale with its original timestamp/hash; without a valid required cost-map snapshot, the API is 503. If optional enrichment has no valid snapshot, the primary catalog remains available with modelsdev_unavailable and no enriched facts or claimed successful optional-source capture. Caller cancellation is never converted into stale success. A failed optional source does not silently inherit the primary source’s success. See third-party notices.

Enable the default-off operator flag model_registry_filters together with model_registry. It adds the filter form and sortable research table to the same public portal. The ordinary catalog remains available when the advanced flag is off; advanced query fields then return 400. The list includes safe filters_enabled and full-snapshot facets metadata, so the anonymous browser never queries administration to discover these controls. Facets are sorted unique source values before filtering; their arrays are empty when advanced controls are disabled.

All filters, including provider/source-ID search, must match the same original offer. A provider advertising image input and a different provider advertising tool support do not jointly satisfy both constraints. The group retains all its original offers, with matching_offer_ids identifying the eligible subset. Missing modality, named limit or feature never becomes unsupported, false or zero.

Query Meaning
provider, mode Exact published offer label, at most 4096 UTF-8 bytes
input_modalities Comma-separated 1–8 distinct nonempty labels, each at most 64 UTF-8 bytes; all must be explicitly published
output_modality One exact published output label, at most 64 UTF-8 bytes
min_input_tokens, min_output_tokens Canonical nonnegative decimal, at most 9007199254740991, compared only with the corresponding named source limit
tools, json, reasoning, cache Exact lowercase true or false for supports_function_calling, supports_response_schema, supports_reasoning, supports_prompt_caching, respectively; unknown matches neither
zero_listed_price true: some published USD rate is explicitly zero; false: at least one USD rate is known and none is zero. Missing/DBU-only rates match neither
deprecation published or unknown: presence of an explicit deprecation date, not a claim that it has taken effect
sort model (default), release, input_limit, output_limit, input_price, output_price, cache_read_price, cache_write_price
direction asc (default) or desc; unknown values stay last in either direction

Whitespace is not silently trimmed from published labels. Unknown query fields/enums, repeated fields, empty advanced selectors and malformed/noncanonical values are refused. A syntactically valid provider/mode/modality label absent from the snapshot returns an empty matching result, not a validation error. The existing search/pagination bounds still apply; filtering and sorting cover the full snapshot before pagination. Apply/reset and page navigation preserve a validated shareable URL; changing a filter starts at the first page.

Terminal window
BASE_URL='http://localhost:8080'
curl --fail-with-body -sS --get "$BASE_URL/v1/registry/models" --data-urlencode 'input_modalities=text,image' --data-urlencode 'tools=true' --data-urlencode 'min_input_tokens=32000' --data-urlencode 'sort=input_price' --data-urlencode 'direction=asc'

Each returned research columns metric has an exact string value, original offer_id, provider, parameter, unit and source; price columns also carry currency:USD. A missing column is unknown. Named input/output columns select the largest published corresponding limit among matching offers; release selects the latest exact published enrichment date. Neither a dated model name nor max_tokens substitutes for those fields.

Price columns select the lowest exact base USD per text token among matching offers: input_cost_per_token, output_cost_per_token, cache_read_input_token_cost, cache_creation_input_token_cost. DBU, audio/image/video token rates, batch/context/service tiers and conditional prices remain visible in offer details but do not enter these incomparable columns. Comparisons use exact server arithmetic; zero is ordered numerically and unknown remains last. Original source identity breaks ties deterministically. The UI keeps unit and provider attribution visible rather than rounding a value into a different order.

Columns may select different offers. A row with the largest input limit and cheapest output rate does not promise one provider supplies both. A zero cache or other USD rate does not mean the complete request is free. These columns are list-price research, not a workload estimate, invoice, inference guarantee or private routing recommendation.

The independently flagged provider directory adds exact provider pages, published model endpoint filtering, original native rate disclosures and per-column comparable-listing coverage. It uses the same safe captured public sources; private provider settings remain separate.

The independently flagged side-by-side comparison preserves selected source order, original provider facts, mixed/unknown features and optional attributed general ECI with exact source identity. It never combines different column extrema into one real provider offer or invokes a model.

The independently flagged workload calculator compares exact public base-unit costs across the admitted source catalog or chosen models, with source/rate basis, request/day/30day projections and explicit unranked/partial/unknown states. It does not expose private manual prices or authorize a paid call.

First configure a compatible provider and an explicit alias in the protected console/YAML/API, with capabilities, authentication and model access. Then use your alias, not a registry source ID, in the applicable inference endpoint. The detail page offers Chat curl/SDK examples and an operator YAML setup template. Executable examples require GATEWAY_MODEL_ALIAS and a locally supplied gateway API key; setup placeholders must be replaced with verified provider/model configuration. They never embed a provider credential or invoke a provider on page load. A listing without a matching gateway protocol has setup guidance rather than a fabricated executable request.

Back up PostgreSQL before migration 106 and roll out compatible replicas before activating management. New flags and the typed YAML root require supporting binaries; older binaries reject newer schema history. Override revert is a policy operation, not schema downgrade or cross-engine migration. To hide anonymous research, first disable its enabled dependent research switches, then disable model_registry; retained visitor copies cannot be recalled. This does not unpublish /hub, alter routing or stop inference. Source outage affects research only; it does not replace the operator’s approved configuration or prices.

Separate coding/value benchmarks and historical change feeds are delivered under their own roadmap tasks. This base catalog alone does not certify whole registry parity.

Original coding/value research has independent default-off public controls, exact source model identifiers, preserved agent/settings, same-run cost ratios and explicit unknown measurement coverage. It never substitutes token list prices or private usage.

Lifecycle/history and RSS separate current source-declared dates/replacements from immutable revision edits. Bounded older source pages, exact original listing before/after facts and independent publication flags preserve provenance without inventing launch dates or provider shutdowns.

General quality has its own default-off operator flag and original full-source point ranks/intervals/facets, separate from coding/value and private administration. Public availability fields expose only safe publication state. Hub, general and documentation navigation is hidden when disabled or unknown; flags grant neither inference nor private data access.

m7gtw[email protected]