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.1.2.tar.gz (3.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pixeloffice_router-1.1.2.tar.gz
Algorithm Hash digest
SHA256 aa03bdb6c1308c2272f900440a0a9d920e6bc99d74eb3f2349ace175a45ca30a
MD5 766a662408e3919a5d3dc0645402e273
BLAKE2b-256 22a6197288b88264c4e16b2aab9c5c3570edcdd575b32052c5e2d2ce083dc8c7

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.1

1 file

1.2.0

1 file

This release

1.1.2 This release

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