diff --git a/src/providers/registry.ts b/src/providers/registry.ts index 48ad865eb2..5aaa64912d 100644 --- a/src/providers/registry.ts +++ b/src/providers/registry.ts @@ -1282,6 +1282,35 @@ export const PROVIDER_REGISTRY: readonly ProviderRegistryEntry[] = [ // A self-hosted proxy may legitimately run without a master key. keyOptional: true, }, + { + id: "chatgpt-web", + label: "ChatGPT Web (codex-chatgpt-web)", + baseUrl: "http://127.0.0.1:17841/v1", + adapter: "openai-responses", + authKind: "local", + allowPrivateNetworkByDefault: true, + allowBaseUrlOverride: true, + keyOptional: true, + liveModels: true, + models: ["chatgpt-web/light", "chatgpt-web/medium", "chatgpt-web/high", "chatgpt-web/extra-high", "chatgpt-web/pro"], + defaultModel: "chatgpt-web/high", + modelContextWindows: { + "chatgpt-web/light": 256_000, + "chatgpt-web/medium": 256_000, + "chatgpt-web/high": 256_000, + "chatgpt-web/extra-high": 256_000, + "chatgpt-web/pro": 256_000, + }, + modelInputModalities: { + "chatgpt-web/light": ["text", "image"], + "chatgpt-web/medium": ["text", "image"], + "chatgpt-web/high": ["text", "image"], + "chatgpt-web/extra-high": ["text", "image"], + "chatgpt-web/pro": ["text", "image"], + }, + dashboardUrl: "https://github.com/miuuyy/codex-chatgpt-web", + note: "Local ChatGPT Web browser bridge. Requires codex-chatgpt-web running on loopback (default port 17841). Routes ChatGPT Web Instant–Pro through an embedded browser session; no API key needed.", + }, { id: "ollama-cloud", label: "Ollama Cloud",