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.3

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.3
File Size Uploaded Provenance Actions
uplinkswitch-0.1.3.tar.gz 3.5 kB Without provenance Details for uplinkswitch-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 7.8 kB

Release files / uplinkswitch-0.1.3.tar.gz

Download URL uplinkswitch-0.1.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c8b52988337de2fafdc5446feac3db931372b2722c0ea33705c2e92632a6b72e
BLAKE2b-256 checksum
How to use checksums
58bfbf5f3768c0c70fb973a546828bb1944ed9e7786e67face3b5944328a0743
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.3-py3-none-any.whl

Download URL uplinkswitch-0.1.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4243629fa5103272791f0faf000efabf7db3d3df160f971dc23ca9d29fc063ec
BLAKE2b-256 checksum
How to use checksums
20660006cf100d5af50f6f37d4e5ecfd7c1b98b675876925c725ec6ce3b3abec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","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.3

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