Unified API for Leading AI Models
Access Claude, Gemini and more through a single, simple API
Available Models
Gemini
Gemini 2.5 Flash Lite
gemini-2.5-flash-liteLITEGemini 2.5 Flash
gemini-2.5-flashFASTGemini 3 Flash
gemini-3-flashFASTGemini 3 Pro High
gemini-3-pro-highPREMIUMClaude
Claude Haiku 4.5
claude-haiku-4-5-20251001FASTClaude Sonnet 4.5
claude-sonnet-4-5-20250929BALANCEDClaude Opus 4.5
claude-opus-4-5-20251101PREMIUMClaude Opus 4.6
claude-opus-4-6PREMIUMStart in Minutes
curl https://pyranex.cc/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5-20250929",
"messages": [{"role": "user", "content": "Hello!"}]
}'Why Pyranex?
Unified API
One API, multiple providers. No need to manage separate integrations.
Secure & Reliable
Enterprise-grade security with encrypted API keys.
Usage Analytics
Real-time tracking of tokens, requests, and costs.
Budget Control
Built-in budget management to control your spending.
Smart Alerts
Get notified before hitting quota limits.
99.9% Uptime
High availability with automatic failover.
Simple, Transparent Pricing
Pay As You Go
Usage-based
- Unlimited tokens
- All models
- Advanced analytics
- Priority support
API Reference
| Endpoint | Method | Description |
|---|---|---|
| /v1/chat/completions | POST | Create chat completion |
| /v1/models | GET | List available models |
| /v1/usage | GET | Get current usage stats |
Python Example - Works with all providers
# Use OpenAI SDK with any provider
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://pyranex.cc/v1"
)
# Claude
response = client.chat.completions.create(
model="claude-sonnet-4-5-20250929",
messages=[{"role": "user", "content": "Hello!"}]
)
# Gemini
response = client.chat.completions.create(
model="gemini-3-flash",
messages=[{"role": "user", "content": "Hello!"}]
)OpenAI-compatible API format
View Full Documentation