---
title: "Discussion on \"Calling RelayRouter from Java with an OpenAI compatible client library\" | Hashnode"
description: "Discussion on \"Calling RelayRouter from Java with an OpenAI compatible client library\". To call RelayRouter from Java, use an OpenAI compatible client library, such as the openai-java SDK or a plain HTTP client. Set the base URL to `https://re"
url: "https://hashnode.com/posts/calling-relayrouter-from-java-with-an-openai-compatible-client-library/6afa922a2686c3bc686ce567"
---

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

Discussion

# [Calling RelayRouter from Java with an OpenAI compatible client library](https://relayrouterio.hashnode.dev/calling-relayrouter-from-java-with-an-openai-compatible-client-library?utm_source=hashnode&utm_medium=feed)

To call RelayRouter from Java, use an OpenAI compatible client library, such as the openai-java SDK or a plain HTTP client. Set the base URL to \`https://re

Nov 16 · 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.
