๐Ÿ“„ README.md ร—
๐Ÿ quickstart.py
๐Ÿ“ฆ package.json
v2.5.0

OpenAI API Gateway SDK

Official SDKs for building applications with OpenAI API Gateway. Type-safe, well-documented, and production-ready.

Official SDKs

๐Ÿ

Python

openai-gateway
pip install openai-gateway
โญ 2.4k ๐Ÿ“ฅ 180k/mo
๐Ÿ“ฆ

Node.js

@openai/gateway
npm install @openai/gateway
โญ 1.8k ๐Ÿ“ฅ 95k/mo
๐Ÿ“˜

TypeScript

@openai/gateway-ts
npm install @openai/gateway-ts
โญ 1.2k ๐Ÿ“ฅ 67k/mo
๐Ÿน

Go

github.com/openai/gateway-go
go get github.com/openai/gateway-go
โญ 890 ๐Ÿ“ฅ 34k/mo
๐Ÿฆ€

Rust

openai-gateway
cargo add openai-gateway
โญ 756 ๐Ÿ“ฅ 23k/mo
โ˜•

Java

com.openai:gateway
<dependency>...</dependency>
โญ 543 ๐Ÿ“ฅ 18k/mo
Terminal โ€” zsh
$ pip install openai-gateway
Collecting openai-gateway
Downloading openai_gateway-2.5.0-py3-none-any.whl (45 kB)
Installing collected packages: openai-gateway
Successfully installed openai-gateway-2.5.0
$ python -c "import openai_gateway; print('Ready!')"
Ready!

SDK Features

โšก

Auto-Retry

Built-in exponential backoff with configurable retry policies

๐Ÿ”’

Type Safety

Full TypeScript definitions and Python type hints

๐Ÿ“Š

Streaming

First-class support for SSE streaming responses

๐Ÿงช

Testing Utils

Mock servers and test fixtures for unit testing

Related Resources