Official Python SDK for OrbiGPU — unified API gateway for 100+ LLM models
Project description
OrbiGPU
Official Python SDK for OrbiGPU — a unified API gateway for 100+ LLM models from 15+ providers (OpenAI, Anthropic, DeepSeek, Gemini, Groq, GLM, ...) with automatic failover and smart routing.
Install
pip install orbigpu
Quickstart
from orbigpu import OrbiGPU
client = OrbiGPU(api_key="sk-your-api-key-from-orbigpu-dot-com")
response = client.chat.completions.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "Hello in 3 words"}],
)
print(response.choices[0].message.content)
Drop-in for OpenAI SDK
If you already have OpenAI SDK code, you only need to change the base URL:
from openai import OpenAI
client = OpenAI(
api_key="sk-your-orbigpu-api-key",
base_url="https://api.orbigpu.com/v1", # only this line
)
Streaming
stream = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Write a haiku about APIs"}],
stream=True,
)
for chunk in stream:
delta = chunk.choices[0].delta.content
if delta:
print(delta, end="", flush=True)
Get Your API Key
- Sign up at orbigpu.com (no credit card)
- Dashboard → API Keys → create
- $10 free credits on signup — enough for ~100,000 tokens on free-tier models
Documentation
Full docs + examples: github.com/OrbiGPU/OrbiGPU
License
MIT © OrbiGPU
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orbigpu-0.1.0.tar.gz.
File metadata
- Download URL: orbigpu-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e130097319020bee91841cfc314539c93961e96aa71461e63b216a243784c38e
|
|
| MD5 |
828d9ee3d417062adf8c1c60e533e349
|
|
| BLAKE2b-256 |
a92ebba01f8376348466f4ef0d4c6191350ad93e906e32f77fc33ccfcb4780ea
|
Provenance
The following attestation bundles were made for orbigpu-0.1.0.tar.gz:
Publisher:
python-publish.yml on OrbiGPU/OrbiGPU
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orbigpu-0.1.0.tar.gz -
Subject digest:
e130097319020bee91841cfc314539c93961e96aa71461e63b216a243784c38e - Sigstore transparency entry: 1283005483
- Sigstore integration time:
-
Permalink:
OrbiGPU/OrbiGPU@60e199f56200c0f4b179e693e9369092877f58d4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/OrbiGPU
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@60e199f56200c0f4b179e693e9369092877f58d4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file orbigpu-0.1.0-py3-none-any.whl.
File metadata
- Download URL: orbigpu-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
167fdc470b1383bd570fd23a949a9a9a8e9b943bc86c910f00bf8fb1d3ed1b93
|
|
| MD5 |
d7e2c2f6f3ba810ee584421166be1863
|
|
| BLAKE2b-256 |
55a3e8753d7fae622e990efa5fb6f0e2717d9df7dbbb3acf417e00cd77a874c3
|
Provenance
The following attestation bundles were made for orbigpu-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on OrbiGPU/OrbiGPU
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orbigpu-0.1.0-py3-none-any.whl -
Subject digest:
167fdc470b1383bd570fd23a949a9a9a8e9b943bc86c910f00bf8fb1d3ed1b93 - Sigstore transparency entry: 1283005491
- Sigstore integration time:
-
Permalink:
OrbiGPU/OrbiGPU@60e199f56200c0f4b179e693e9369092877f58d4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/OrbiGPU
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@60e199f56200c0f4b179e693e9369092877f58d4 -
Trigger Event:
release
-
Statement type: