Case study: one extra Base URL segment made every model return 404
A real incident showed why a complete endpoint cannot be pasted into a channel Base URL when the client appends its own path.
Migrating by changing one base_url line.
A real incident showed why a complete endpoint cannot be pasted into a channel Base URL when the client appends its own path.
Environment variables solve routing, not Anthropic protocol, tools, thinking or streaming compatibility.
A Codex provider must verify Responses wire_api, base URL, credentials and retry bounds.
Use the API root as base_url; do not duplicate /v1 or put a resource path in it.
A relay is not just a proxy. Auth, routing, rewriting, retries, billing and logging — six gates per request. Here is why changing one base_url line is enough to switch models.
Claude's native protocol differs from OpenAI's, but a gateway gives you two doors — the native messages endpoint or the OpenAI-compatible chat/completions. Here is the setup for each, plus the three places people break.
WorkBuddy supports custom models. Four fields — base URL, API key, model ID, protocol — connect Claude and GPT through your gateway. Here is what each field wants and how the resulting errors read.
The SalpX gateway is OpenAI-SDK compatible. Point base_url at https://www.salpx.com/v1 and you are done.