CoolFace
Apppublic

xujfcn/Crazyrouter-Demo

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes
App README

๐Ÿš€ Crazyrouter โ€” One API Key, All AI Models

The smartest way to access AI models. Cheaper than going direct.

What is Crazyrouter?

Crazyrouter is an AI API gateway that gives you access to 200+ models (GPT-4o, Claude, Gemini, DeepSeek, Llama, and more) through a single OpenAI-compatible API endpoint.

Why developers love it:

  • โ€”๐Ÿ”‘ One API key for all providers
  • โ€”๐Ÿ’ฐ Up to 50% cheaper than direct API pricing
  • โ€”๐Ÿ”„ Zero vendor lock-in โ€” switch models by changing one string
  • โ€”โšก OpenAI-compatible โ€” works with any OpenAI SDK
  • โ€”๐Ÿ†“ Free tier to get started

Quick Start

python
from openai import OpenAI

client = OpenAI(
    base_url="https://crazyrouter.com/v1",
    api_key="your-crazyrouter-key"
)

response = client.chat.completions.create(
    model="gpt-4o",  # or claude-sonnet-4-20250514, gemini-2.0-flash, deepseek-chat...
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Supported Models

ProviderModels
OpenAIGPT-4o, GPT-4o-mini, o3-mini, o1
AnthropicClaude Sonnet 4, Claude Haiku 3.5
GoogleGemini 2.0 Flash, Gemini Pro
DeepSeekDeepSeek-V3, DeepSeek-R1
MetaLlama 3.3, Llama 3.1
And more...200+ models total

Links