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 OpenAI GPT-6 Astra (1.05M Context & Computer-Use), Claude Fable 5.1, DeepSeek V4 Pro, and DeepSeek V4 Flash.
⚡ 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 optimal model, or use "gpt-6-astra" ($5/$25 flex)
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)
🟣 Ultra-Frontier Foundation (Paid Key / $10 Top-Up)
gpt-6-astra(openai/gpt-6-astra:flex): OpenAI GPT-6 Astra with 1.05M Context, Computer-Use & -50% Cost Savings ($5.00 / $25.00 per 1M, cache read $0.50).claude-fable-5.1: Anthropic #1 SOTA Multi-Day Autonomous Agent Model (1M Context).deepseek-v4-pro: 1.6T Parameter MoE Deep Reasoning (1M Context).- 🛡️ 272k Surcharge Protection: Transparent tracking via
X-PixelRouter-Context-Surchargeheader. - 👉 Top up balance: https://pixeloffice.eu/router.html?action=topup
🤖 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)
🌐 Autonomous Agent Web Highway (/v1/reader)
Give your agents web access without bot blocks or burning 50k tokens on raw HTML:
from pixeloffice_router import PixelRouter
router = PixelRouter()
# Extracts clean, token-efficient Markdown + Top 1KB Fact Anchors:
result = router.read_url("https://stripe.com/docs/api")
print(result["markdown"])
print(f"Latency: {result['latency_ms']}ms | Cached: {result['cached']}")
CLI Terminal Reader
Read any web page directly from your terminal:
pixeloffice-router read https://en.wikipedia.org/wiki/Artificial_intelligence
🛡️ Autonomous Agent Resilience & Safeguards
- Zero-Drop Smart Failover: If primary upstream models return 5xx or 429 during connection handshake, PixelRouter automatically falls back to
google/gemini-2.5-flashwith zero dropped requests. - Agent Loop Guardrail: Detects runaway identical tool call loops (3x consecutive identical parameters) and terminates them safely with HTTP 422, protecting your wallet from accidental credit burn.
- Sub-5ms Exact-Match Response Cache: Deduplicates identical reasoning queries and reader URLs, delivering cached results at $0.00 upstream cost.
🔑 Get Production API Key & Dashboard Analytics
- Free Sandbox: 50 requests total trial included automatically.
- Production Key (1,000 free requests + EU AI Act Certificate): https://pixeloffice.eu/dashboard.html
- Developer Portal: https://pixeloffice.eu/developer
Metadata
Release files for pixeloffice-router 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pixeloffice_router-1.6.0.tar.gz | 6.9 kB | Without provenance | Details for pixeloffice_router-1.6.0.tar.gz |
Release files / pixeloffice_router-1.6.0.tar.gz
| Download URL | pixeloffice_router-1.6.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8f52e37772684df53da42bcf4aa2ebde90e46552a75f4d49058b902288448af
|
|
BLAKE2b-256 checksum How to use checksums |
a98eaa773cebe590a6298309e121936a5d3cd2270d4630c5aa1651f50d77d8f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pixeloffice-uploader/1.0
|
Security for pixeloffice-router 1.6.0
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.