Skip to main content

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

  1. Sign up at orbigpu.com (no credit card)
  2. Dashboard → API Keys → create
  3. $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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orbigpu-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orbigpu-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for orbigpu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e130097319020bee91841cfc314539c93961e96aa71461e63b216a243784c38e
MD5 828d9ee3d417062adf8c1c60e533e349
BLAKE2b-256 a92ebba01f8376348466f4ef0d4c6191350ad93e906e32f77fc33ccfcb4780ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for orbigpu-0.1.0.tar.gz:

Publisher: python-publish.yml on OrbiGPU/OrbiGPU

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for orbigpu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 167fdc470b1383bd570fd23a949a9a9a8e9b943bc86c910f00bf8fb1d3ed1b93
MD5 d7e2c2f6f3ba810ee584421166be1863
BLAKE2b-256 55a3e8753d7fae622e990efa5fb6f0e2717d9df7dbbb3acf417e00cd77a874c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for orbigpu-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on OrbiGPU/OrbiGPU

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page