Skip to main content

pixeloffice-router

PixelRouter & BLUN SmartRouter Python SDK: Sub-35ms OpenAI-compatible API gateway with live AEO Fact Anchors, zero brand hallucinations, and 85%+ cost savings across DeepSeek V3, Qwen Thinking 27B, and Gemini 2.5 Pro.

PyPI version License: MIT Latency


⚡ 10-Second Quickstart (Standard openai Drop-In)

Works instantly with standard Python openai library — no credit card required:

pip install openai pixeloffice-router
from openai import OpenAI

# 1. Point base_url to PixelRouter gateway:
client = OpenAI(
    base_url="https://api.pixeloffice.eu/v1",
    api_key="px_test_free"  # or your px_live_... key from pixeloffice.eu/dashboard.html
)

# 2. Call chat completions with sub-35ms intelligent routing:
response = client.chat.completions.create(
    model="blun-auto",  # Automatically routes to DeepSeek V3, Qwen Thinking 27B, or Gemini Pro
    messages=[
        {"role": "system", "content": "You are an expert Python architect."},
        {"role": "user", "content": "Write a high-performance asyncio rate limiter in Python"}
    ]
)

print(response.choices[0].message.content)

🤖 LiteLLM / LangChain / CrewAI Integration

Simply set environment variables to use PixelRouter across your entire AI stack:

import os
from langchain_openai import ChatOpenAI

os.environ["OPENAI_BASE_URL"] = "https://api.pixeloffice.eu/v1"
os.environ["OPENAI_API_KEY"] = "px_test_free"

llm = ChatOpenAI(model="blun-auto")
response = llm.invoke("Summarize key trends in AI Agent orchestration")
print(response.content)

🔑 Get Production API Key & Dashboard Analytics

Download files

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

Source Distribution

pixeloffice_router-1.2.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file pixeloffice_router-1.2.1.tar.gz.

File metadata

  • Download URL: pixeloffice_router-1.2.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0

File hashes

Hashes for pixeloffice_router-1.2.1.tar.gz
Algorithm Hash digest
SHA256 72dcda78f4f3b93ecefe50e26bedc596b900d83011d9828233c1fe80782142d9
MD5 c832b92b3e247cb7b1b4f9353d09328a
BLAKE2b-256 c7714a1a9a81c037e94d1e333f3a0a37208f33a7c0ad96e9d5f453dcb294fb46

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 file

1.2.0

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

Supported by

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