Quick Start — OneHub
Get a OneHub API key and make your first request in under two minutes.
Docs
Docs Quick Start Authentication SDK Setup Available Models Rate Limits Chat Completions Streaming List Models Embeddings Image Generation Text to Speech Speech to Text Billing & Wallet Webhooks Errors1. Get an API key
Sign in to your dashboard and open API Keys. Create a key and copy it now —
the full value is only shown once. Keys are stored hashed, and start with sk-onehub-.
2. Make your first request
Every endpoint lives under https://www.onehub.design/v1 and is OpenAI-compatible. Here is a chat completion:
curl https://www.onehub.design/v1/chat/completions \
-H "Authorization: Bearer sk-onehub-xxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5-nano",
"messages": [{"role": "user", "content": "Hello!"}]
}'
Expected response
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"created": 1730000000,
"model": "openai/gpt-5-nano",
"choices": [
{
"index": 0,
"message": { "role": "assistant", "content": "Hello! How can I help you today?" },
"finish_reason": "stop"
}
],
"usage": { "prompt_tokens": 9, "completion_tokens": 10, "total_tokens": 19 }
}
3. Next steps
- Point an existing OpenAI SDK at OneHub — see SDK Setup.
- See which models your plan unlocks in Available Models.
- Learn how usage is billed in Billing & Wallet.