> ## Documentation Index
> Fetch the complete documentation index at: https://docs.arouter.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK Downloads

> Download official ARouter SDKs to integrate with your applications.

## Official SDKs

ARouter provides first-party SDKs with full support for chat completions, streaming, key management, and provider proxy.

<CardGroup cols={2}>
  <Card title="Go SDK" icon="golang" href="https://github.com/arouter-ai/arouter-go">
    **Available now** — Zero dependencies, production-ready.

    ```bash theme={null}
    go get github.com/arouter-ai/arouter-go
    ```

    <sub>Requires Go 1.21+ · [Documentation →](/en/sdks/go)</sub>
  </Card>

  <Card title="Node.js SDK" icon="node-js" href="https://github.com/arouter-ai/arouter-node">
    **Coming soon** — Full TypeScript support.

    ```bash theme={null}
    npm install @arouter/sdk
    ```

    <sub>Preview · [Documentation →](/en/sdks/node#arouter-sdk)</sub>
  </Card>

  <Card title="Python SDK" icon="python">
    **Planned** — Native Python SDK with async support.

    <sub>In development · ETA TBD</sub>
  </Card>
</CardGroup>

***

## Go SDK

The official Go SDK for ARouter. Lightweight, zero-dependency, and idiomatic Go.

|                    |                                                    |
| ------------------ | -------------------------------------------------- |
| **Package**        | `github.com/arouter-ai/arouter-go`                 |
| **Status**         | Stable                                             |
| **Min Go Version** | 1.21+                                              |
| **License**        | MIT                                                |
| **Source**         | [GitHub](https://github.com/arouter-ai/arouter-go) |

### Features

* Chat completions (single and streaming)
* Multi-provider model routing
* Key management (create, list, update, delete)
* Provider proxy for raw upstream access
* Structured error handling with sentinel errors
* Configurable timeouts and custom HTTP clients

### Install

```bash theme={null}
go get github.com/arouter-ai/arouter-go
```

### Quick Example

```go theme={null}
import arouter "github.com/arouter-ai/arouter-go"

client := arouter.NewClient("https://api.arouter.ai", "lr_live_xxxx")

resp, err := client.ChatCompletion(ctx, arouter.ChatCompletionRequest{
    Model:    "openai/gpt-5.4",
    Messages: []arouter.Message{{Role: "user", Content: "Hello!"}},
})
```

<Card title="Full Go SDK Documentation" icon="book" href="/en/sdks/go">
  See complete API reference, streaming examples, key management, and error handling.
</Card>

***

## Node.js SDK (Preview)

TypeScript-first SDK with chat completions, streaming, key management, and usage tracking.

|             |                                                      |
| ----------- | ---------------------------------------------------- |
| **Package** | `@arouter/sdk`                                       |
| **Status**  | Preview (v0.1.0)                                     |
| **Runtime** | Node.js 18+                                          |
| **License** | MIT                                                  |
| **Source**  | [GitHub](https://github.com/arouter-ai/arouter-node) |

### Features

* Chat completions (single and streaming)
* Full TypeScript type definitions
* Key management
* Usage tracking and analytics
* Provider proxy support

### Install

```bash theme={null}
npm install @arouter/sdk
```

### Quick Example

```typescript theme={null}
import { ARouter } from "@arouter/sdk";

const router = new ARouter({
  apiKey: "lr_live_xxxx",
  baseURL: "https://api.arouter.ai",
});

const response = await router.chatCompletion({
  model: "openai/gpt-5.4",
  messages: [{ role: "user", content: "Hello!" }],
});
```

<Card title="Full Node.js SDK Documentation" icon="book" href="/en/sdks/node">
  See complete API reference including OpenAI/Anthropic SDK compatibility guides.
</Card>

***

## Third-Party SDK Compatibility

You don't need an ARouter SDK to get started. ARouter is fully compatible with existing provider SDKs:

| SDK           | Language | Install                           | Docs                                     |
| ------------- | -------- | --------------------------------- | ---------------------------------------- |
| OpenAI SDK    | Python   | `pip install openai`              | [Guide →](/en/sdks/python)               |
| OpenAI SDK    | Node.js  | `npm install openai`              | [Guide →](/en/sdks/node)                 |
| Anthropic SDK | Python   | `pip install anthropic`           | [Guide →](/en/sdks/python#anthropic-sdk) |
| Anthropic SDK | Node.js  | `npm install @anthropic-ai/sdk`   | [Guide →](/en/sdks/node#anthropic-sdk)   |
| Gemini SDK    | Python   | `pip install google-generativeai` | [Guide →](/en/sdks/python#gemini-sdk)    |
| cURL          | Any      | Built-in                          | [Guide →](/en/sdks/curl)                 |

<Tip>
  Just change `base_url` to `https://api.arouter.ai` and set your ARouter API key — all existing SDK code works without modification.
</Tip>
