PulseAugur
EN
LIVE 02:55:44

Codex CLI custom provider setup guide addresses 404 and wire_api errors

This technical guide addresses common issues encountered when configuring the Codex CLI to connect with custom LLM gateways, specifically focusing on the "unexpected status 404 Not Found" and "wire_api = chat is no longer supported" errors. It explains that recent Codex CLI versions require the Responses API protocol, deprecating the older "chat" protocol. The guide details how to troubleshoot by verifying the base URL includes "/v1", ensuring the correct wire API setting, and confirming the profile configuration is being read. It provides step-by-step instructions using HZAI as an example, including curl commands to test the endpoint and a sample TOML configuration for the Codex CLI. AI

IMPACT Provides configuration guidance for developers integrating custom LLM gateways with the Codex CLI.

RANK_REASON Technical guide on configuring a CLI tool with custom LLM providers.

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

Codex CLI custom provider setup guide addresses 404 and wire_api errors

How we ranked this

Signal score
4 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Technical guide on configuring a CLI tool with custom LLM providers.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Same-day
Cluster formed today. Ranking reflects the current source set at time of score.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Wenhao Ma ·

    Codex CLI custom provider: fixing "unexpected status 404 Not Found" and "wire_api = chat is no longer supported"

    <p>Recent Codex CLI versions speak one wire protocol: the <strong>Responses API</strong> (<code>wire_api = "chat"</code> has been removed). If you point it at a third-party gateway and the first prompt fails, it is almost always one of three things: the <code>base_url</code> is m…