Quickstart
Make your first API call in under 5 minutes
Get up and running with Hypery in under 5 minutes.
Get Your API Key
- Sign up at hypery.ai
- Navigate to Settings → API Keys
- Click "Create API Key"
- Copy your API key (starts with
sk-)
Keep your API key secure! Never commit it to version control or share it publicly.
Make Your First Request
import OpenAI from 'openai'
const client = new OpenAI({
apiKey: process.env.GATEWAY_API_KEY,
baseURL: 'https://hypery.ai/api/v1'
})
const response = await client.chat.completions.create({
model: 'anthropic/claude-3.5-sonnet',
messages: [{ role: 'user', content: 'Say hello!' }]
})
console.log(response.choices[0].message.content)from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://hypery.ai/api/v1"
)
response = client.chat.completions.create(
model="anthropic/claude-3.5-sonnet",
messages=[
{"role": "user", "content": "Say hello!"}
]
)
print(response.choices[0].message.content)curl https://hypery.ai/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-3.5-sonnet",
"messages": [
{"role": "user", "content": "Say hello!"}
]
}'Explore More
Now that you've made your first request, explore more features:
- Streaming responses - Get tokens in real-time
- Function calling - Let AI use tools
- Vision inputs - Analyze images
- Team management - Collaborate with OAuth apps