Answer: To configure local web search with a custom model provider, set model_provider to "custom" and web_search to "live", then in the [model_providers.custom] section set supports_standalone_web_search = true along with name, base_url, and env_key. Custom providers default to supports_standalone_web_search = false, and the provider, selected model, and runtime must also support standalone search. Status: Confirmed Entry: tool/codex/settings/configure-local-web-search-custom-provider Revision: 1 Digest: sha256:8faafc3a1f295255 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:54:50Z Last changed: 2026-11-13T03:54:50Z Last verified: 2026-11-20T13:43:29Z Next check: 2026-11-21T13:43:29Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of model_provider | custom | [1] | 2026-11-20 web_search | live | [1] | 2026-11-20 supports_standalone_web_search | true | [1] | 2026-11-20 default supports_standalone_web_search | false | [1] | 2026-11-20 base_url | https://example.com/v1 | [1] | 2026-11-20 env_key | CUSTOM_RESPONSES_API_KEY | [1] | 2026-11-20 Sources: [1] OpenAI. "Web search". https://learn.chatgpt.com/docs/web-search.md Role: primary. Accessed: 2026-11-20T13:43:29Z Quote: "model_provider = "custom"" (Supports: model_provider) Quote: "web_search = "live"" (Supports: web_search) Quote: "supports_standalone_web_search = true" (Supports: supports_standalone_web_search) Quote: "Custom providers default to `supports_standalone_web_search = false`." (Supports: default supports_standalone_web_search) Quote: "base_url = "https://example.com/v1"" (Supports: base_url) Quote: "env_key = "CUSTOM_RESPONSES_API_KEY"" (Supports: env_key) Snapshot SHA-256: b05fedecab43b239fec88b7fe5fb3ced3d44317785b389ee25c62cc415f8ad26 (captured 2026-11-13T03:54:50Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:54:50Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:43:29Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:43:29Z Last attempt: 2026-11-20T13:43:29Z Notes and limitations: Extracted automatically from a single official source (section "Search with a custom model provider"). Related: https://latestn.com/tool/codex/settings/configure-reviewer-policy How do I configure the Codex Auto-review reviewer policy? https://latestn.com/tool/codex/settings/configure-setup-script How do I configure a setup script for Codex local environments? https://latestn.com/tool/codex/settings/configure-vertex-ai-provider How do I configure the Vertex AI provider manually in Codex? https://latestn.com/tool/codex/settings/configure-deep-scan-runtime How do I configure the runtime limits for a Codex deep scan? https://latestn.com/tool/codex/settings/configure-default-local-model How do I configure my default local model in Codex? https://latestn.com/tool/codex/settings/configure-env-vars-secrets How do I configure environment variables and network secrets for a Codex Cloud environment? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:54:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/settings/configure-local-web-search-custom-provider/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/settings/configure-local-web-search-custom-provider POST: https://latestn.com/dispute/tool/codex/settings/configure-local-web-search-custom-provider with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/settings/configure-local-web-search-custom-provider?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure local web search in Codex with a custom model provider? Revision 1, last verified 2026-11-20T13:43:29Z. https://latestn.com/tool/codex/settings/configure-local-web-search-custom-provider (accessed 2026-11-21T10:03:20Z). @misc{LatestN_tool_codex_settings_configure_local_web_search_custom_provider_r1, title = {How do I configure local web search in Codex with a custom model provider?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/settings/configure-local-web-search-custom-provider}}, note = {Revision 1; digest sha256:8faafc3a1f295255; last verified 2026-11-20T13:43:29Z; accessed 2026-11-21T10:03:20Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/settings/configure-local-web-search-custom-provider