---
title: "Discussion on \"OpenAI SDK cannot connect after changing base_url to relayrouter.io: a checklist\" | Hashnode"
description: "Discussion on \"OpenAI SDK cannot connect after changing base_url to relayrouter.io: a checklist\". If the OpenAI SDK fails after you switch to RelayRouter, check four settings. The base_url must be `https://relayrouter.io/v1` (with the `/v1` suffix). The"
url: "https://hashnode.com/posts/openai-sdk-cannot-connect-after-changing-baseurl-to-relayrouterio-a-checklist/6b03bf6f2ef6c2ae90f3fe60"
---

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

Discussion

# [OpenAI SDK cannot connect after changing base\_url to relayrouter.io: a checklist](https://relayrouterio.hashnode.dev/openai-sdk-cannot-connect-after-changing-baseurl-to-relayrouterio-a-checklist?utm_source=hashnode&utm_medium=feed)

If the OpenAI SDK fails after you switch to RelayRouter, check four settings. The base\_url must be \`https://relayrouter.io/v1\` (with the \`/v1\` suffix). The

2d ago · 5 min read · relayrouterio.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#llm](https://hashnode.com/tag/llm)
-   [#openai](https://hashnode.com/tag/openai)
-   [#apis](https://hashnode.com/tag/apis)
-   [#developer](https://hashnode.com/tag/developer)

## Written by

[RelayRouter](https://hashnode.com/@relayrouterio)

@relayrouterio · Singapore

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

AI API gateway for Claude, GPT and Gemini. One base URL, three protocols. relayrouter.io

AI API gateway for Claude, GPT and Gemini. One base URL, three protocols. relayrouter.io

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
