AgentHub is a unified, OpenAI-compatible API gateway for 100+ models (DeepSeek, Qwen, Claude, etc.) at $0.14/M tokens — about 99% cheaper than GPT-4.
Most developers juggle multiple API keys, billing dashboards, and SDK quirks. AgentHub gives you one key, one endpoint, 100+ models.
| Provider | Price / M tokens |
|---|---|
| GPT-4o | ~$15.00 |
| Claude 3.5 | ~$15.00 |
| OpenRouter | ~$0.09–0.20 |
| AgentHub | |
| $0.14 (all models) |
Same interface. Switch models by changing one string.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_KEY",
base_url="https://api.agenthub-wu.cn/v1",
)
resp = client.chat.completions.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
Feedback and PRs welcome. Happy to answer questions in the comments.