---
title: "Discussion on \"Why your LLM gateway returns 404: the /v1 rule for Claude Code vs OpenAI SDKs\" | Hashnode"
description: "Discussion on \"Why your LLM gateway returns 404: the /v1 rule for Claude Code vs OpenAI SDKs\". If you've pointed a tool at a custom LLM gateway and got a 404, the cause is usually not your key or the model. It's one path segment: /v1.\nI maintain a gateway called HZAPI (public brand HZ AI) and t"
url: "https://hashnode.com/posts/why-your-llm-gateway-returns-404-the-v1-rule-for-claude-code-vs-openai-sdks/6b119b321a6432009be2cc51"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why your LLM gateway returns 404: the /v1 rule for Claude Code vs OpenAI SDKs](https://hzapi.hashnode.dev/why-your-llm-gateway-returns-404-the-v1-rule-for-claude-code-vs-openai-sdks?utm_source=hashnode&utm_medium=feed)

If you've pointed a tool at a custom LLM gateway and got a 404, the cause is usually not your key or the model. It's one path segment: /v1. I maintain a gateway called HZAPI (public brand HZ AI) and t

17h ago · 5 min read · hzapi.hashnode.dev  
Read the article

-   [#llm](https://hashnode.com/tag/llm)
-   [#api](https://hashnode.com/tag/api)
-   [#openai](https://hashnode.com/tag/openai)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Wenhao Ma](https://hashnode.com/@hzapi)

@hzapi

  
[View profile](https://hashnode.com/@hzapi)

Maintainer of HZAPI (HZ AI), an LLM API gateway

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
