Skip to main content

No New SDK Required

ARouter is designed to work with the SDKs you already use. Just change base_url and api_key — that’s it.
SDKLanguageWhat to Change
OpenAI SDKPython, Node.jsbase_url + api_key
Anthropic SDKPython, Node.jsbase_url + api_key
Gemini SDKPythonapi_endpoint + api_key
ARouter Go SDKGoPurpose-built SDK
cURLAnyBase URL + Authorization header

First-Party SDKs

We also provide purpose-built SDKs for advanced features like key management:

Go SDK

go get github.com/arouter-ai/arouter-goChat completions, streaming, key management, provider proxy.

Node.js SDK

npm install @arouter/sdkFull TypeScript support. Chat, streaming, key management, usage tracking.

Python SDK

Coming soonNative Python SDK with async support. In development.

SDK Downloads

View all available SDKs, installation instructions, version info, and release status.

Which SDK Should I Use?

1

Already using OpenAI/Anthropic/Gemini SDK?

Keep using it. See the Python or Node.js guides.
2

Need key management or usage tracking?

Use the ARouter Go SDK or Node.js SDK.
3

Quick testing or scripting?

Use cURL.