Skip to main content
OpenAI provides official SDKs across multiple languages, and you can always use standard HTTP clients against OpenAI-compatible endpoints. .NET (HttpClient)
Java (java.net.http)
Go (net/http)

Base URL rules (important)

When using OpenAI-compatible client libraries, set the base URL to:
Do not append route paths like /chat/completions to the base URL; the client will append them automatically.u