Libraries

SDKs & libraries

Oxyy speaks the OpenAI wire format, so the official OpenAI SDK in any language works unchanged. There is no Oxyy SDK to install.

LanguagePackageInstall
Pythonopenaipip install openai
JavaScript / TypeScriptopenainpm install openai
PHPopenai-php/clientcomposer require openai-php/client
Gosashabaranov/go-openaigo get github.com/sashabaranov/go-openai
Rubyruby-openaigem install ruby-openai
Java / Kotlincom.openai:openai-javaMaven / Gradle
C#OpenAIdotnet add package OpenAI

Frameworks built on the OpenAI client — LangChain, LlamaIndex, the Vercel AI SDK, PydanticAI, Instructor — work by setting the same base URL in their OpenAI provider.

Vendor SDKs

Claude and Gemini can also be called with their vendor's own SDK: see Anthropic SDK and Google GenAI SDK. A vendor SDK serves only that vendor's models; the OpenAI SDK reaches every model.

Forgiving base URLs. Each vendor SDK appends its own version prefix, which people get wrong in two predictable ways. Both are absorbed rather than 404'd: a base URL with no prefix (/messages, /responses) and one where the prefix was doubled (/v1/v1/messages, /v1beta/v1beta/…) reach the same pipeline with the same billing.

Grok (xAI) and Meta models

xai-sdk is not supported. xAI's official xai-sdk package speaks gRPC, which this REST API does not serve. Call Grok models with the OpenAI SDK and base_url set to https://api.oxyy.ai/v1.

Meta's models are also called through the OpenAI SDK, with chat completions or the Responses API. There is no separate Meta SDK surface.

Differences from other gateways

FieldOxyy
provider (root)Not returned. The upstream that served a request is intentionally not disclosed.
usage.costThe amount charged for the request, in USD — on every response, streaming included.
usage.is_byokAlways false: every request is served on Oxyy's own provider keys.
models / route / provider (request)Not accepted. Fallback and provider choice are handled for you; send one model.
transforms, pluginsNot accepted. Nothing is injected into or rewritten in your prompt.