Skip to content

Support opt-in provider manifests for custom model catalogs #34837

Open

Description

@sergio-oai

Custom Responses providers currently inherit Codex's bundled OpenAI model catalog. This can show models the provider cannot serve and expose service tiers such as /fast that the provider rejects.

This is especially painful for self-hosted or air-gapped deployments, because users need both a custom config.toml and a separately distributed static model catalog.

Proposal: add an optional provider_manifest_path setting:

[model_providers.venado]
provider_manifest_path = "codex/provider-manifest"

When configured, Codex would fetch a same-origin, versioned manifest using the provider's existing auth, headers, and query params. The manifest would only contain safe model metadata: model IDs, display names, context limits, reasoning levels, and service tiers.

The feature would be fully opt-in. Providers without provider_manifest_path would keep the current /models, bundled catalog, cache, and /fast behavior.

Would this be an acceptable direction for custom providers? If so, would the Codex team be open to reviewing an implementation PR?

Activity

  1. added
    enhancement
    CLI
    custom-model
    config
    on Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIconfigcustom-modelenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions