Skip to main content

uplinkswitch

Python client for UplinkSwitch: one API key for Claude, GPT, Gemini, DeepSeek, Qwen, Kimi, GLM, Grok and more, priced under each developer's list. The API speaks the OpenAI and Anthropic formats, so you keep the official SDKs.

pip install "uplinkswitch[openai]"      # or [anthropic], or [all]
export UPLINKSWITCH_API_KEY="sk-uplink-live-..."

Get a key at uplinkswitch.ai/console. Credit is prepaid from $10, with no subscription, and each top-up locks your prices for 30 days.

OpenAI SDK

import uplinkswitch

client = uplinkswitch.openai_client()
reply = client.chat.completions.create(
    model="claude-opus-5-5",
    messages=[{"role": "user", "content": "Say hi in five words."}],
)
print(reply.choices[0].message.content)

Anthropic SDK

import uplinkswitch

client = uplinkswitch.anthropic_client()
msg = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=200,
    messages=[{"role": "user", "content": "Say hi in five words."}],
)
print(msg.content[0].text)

Prices, no key needed

import uplinkswitch

for m in uplinkswitch.models():
    lp, p = m.get("list_pricing"), m["pricing"]
    if lp:
        print(f'{m["id"]:<28} ${p["input"]}/${p["output"]} per 1M (list ${lp["input"]}/${lp["output"]})')

uplinkswitch.media_models() returns the image, video and speech models.

Without this package

Set OPENAI_BASE_URL or ANTHROPIC_BASE_URL to https://api.uplinkswitch.com/v1 and use your key. Setup for Claude Code, Cursor, Cline, Roo and OpenCode: uplinkswitch.ai/guides.

Sister sites

The same gateway, sold four more ways, each on its own key and console:

  • UncensoredLLM: the uncensored and abliterated builds as an API, priced per token.
  • Unrestrictable: uncensored AI chat, images and video in the browser, no key needed.
  • PentestLLM: uncensored AI for hacking and pentesting, with setup guides for coding agents.
  • RelaySwitch: one API key for coding agents, paid by card or crypto; in Chinese, Japanese, Korean, Vietnamese, Indonesian and Thai on relayswitch.ai.

Metadata

Release files for uplinkswitch 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uplinkswitch 0.1.4
File Size Uploaded Provenance Actions
uplinkswitch-0.1.4.tar.gz 3.5 kB Without provenance Details for uplinkswitch-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uplinkswitch 0.1.4
File Interpreter ABI Platform Actions
uplinkswitch-0.1.4-py3-none-any.whl Python 3 none any Details for uplinkswitch-0.1.4-py3-none-any.whl

Total release size: 7.8 kB

Release files / uplinkswitch-0.1.4.tar.gz

Download URL uplinkswitch-0.1.4.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4377a7d4adfd1d6d7437b26f41849429ece4c8eb23c68ef313cdddf136b79d7b
BLAKE2b-256 checksum
How to use checksums
56448d4c9662009bf2154e925d757210d2ffd40b06fd2a95e09e41e63e78222f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / uplinkswitch-0.1.4-py3-none-any.whl

Download URL uplinkswitch-0.1.4-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa1f9db41bc3503e63d9fed621c9635ab10edabe1493b167e80006cf9e463011
BLAKE2b-256 checksum
How to use checksums
72c0857e8882bc310f2cc8da5d27d63ffd86fcd183afcefb9f4d17534b719354
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for uplinkswitch 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page