CHAT
Base-Path:
https://api.hyprlab.io/v1Chat-Completions Path:
https://api.hyprlab.io/v1/chat/completionsMaking Request:
curl https://api.hyprlab.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "gpt-5",
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Say this is a test!"
}
]
}'curl https://api.hyprlab.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "gpt-5",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "What'\''s in this image?"
},
{
"type": "image_url",
"image_url": {
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
}
}
]
}
],
"max_tokens": 300
}'
curl https://api.hyprlab.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "gpt-5",
"messages": [
{
"role": "user",
"content": "What'\''s the weather like in Boston today?"
}
],
"tools": [
{
"type": "function",
"function": {
"name": "get_current_weather",
"description": "Get the current weather in a given location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "The city and state, e.g. San Francisco, CA"
},
"unit": {
"type": "string",
"enum": ["celsius", "fahrenheit"]
}
},
"required": ["location"]
}
}
}
],
"tool_choice": "auto"
}'
curl https://api.hyprlab.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "gpt-5",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"logprobs": true,
"top_logprobs": 2
}'
curl https://api.hyprlab.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "gpt-5",
"messages": [
{
"role": "system",
"content": "You extract email addresses into JSON data."
},
{
"role": "user",
"content": "Feeling stuck? Send a message to [email protected]."
}
],
"response_format": {
"type": "json_schema",
"json_schema": {
"name": "email_schema",
"schema": {
"type": "object",
"properties": {
"email": {
"description": "The email address that appears in the input",
"type": "string"
}
},
"additionalProperties": false
}
}
}
}'curl "https://api.hyprlab.io/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "gpt-audio",
"modalities": ["text", "audio"],
"audio": { "voice": "alloy", "format": "wav" },
"messages": [
{
"role": "user",
"content": "Is a golden retriever a good family dog?"
}
]
}'curl "https://api.hyprlab.io/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "gpt-audio",
"modalities": ["text", "audio"],
"audio": { "voice": "alloy", "format": "wav" },
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "What is in this recording?" },
{
"type": "input_audio",
"input_audio": {
"data": "<base64 bytes here>",
"format": "wav"
}
}
]
}
]
}'💬 Chat Models
⚡GPT-5.1 Models
gpt-5.1-highgpt-5.1gpt-5.1-2025-11-13
30% off
$0.875 / 1M Tokens
$7 / 1M Tokens
400,000
Unfiltered
ReasoningVision SupportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-5.1-chat-latest
30% off
$0.875 / 1M Tokens
$7 / 1M Tokens
400,000
Unfiltered
ReasoningVision Supported
⚡GPT-5 Models
gpt-5-progpt-5-pro-2025-10-06
10% off
$13.5 / 1M Tokens
$108 / 1M Tokens
400,000
Unfiltered
Reasoning
gpt-5-chat-latest
30% off
$0.875 / 1M Tokens
$7 / 1M Tokens
400,000
Unfiltered
ReasoningVision Supported
gpt-5-highgpt-5gpt-5-2025-08-07
30% off
$0.875 / 1M Tokens
$7 / 1M Tokens
400,000
Unfiltered
ReasoningVision SupportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-5-mini-highgpt-5-minigpt-5-mini-2025-08-07
30% off
$0.175 / 1M Tokens
$1.4 / 1M Tokens
400,000
Unfiltered
ReasoningVision SupportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-5-nano-highgpt-5-nanogpt-5-nano-2025-08-07
30% off
$0.035 / 1M Tokens
$0.28 / 1M Tokens
400,000
Unfiltered
ReasoningVision SupportedTools supportedJSON-mode supportedStructured JSON-schema supported
⚡Codex Models
gpt-5.1-codex-highgpt-5.1-codex
30% off
$0.875 / 1M Tokens
$7 / 1M Tokens
400,000
Unfiltered
Reasoning
gpt-5.1-codex-mini-highgpt-5.1-codex-mini
30% off
$0.175 / 1M Tokens
$1.4 / 1M Tokens
400,000
Unfiltered
Reasoning
gpt-5-codex-highgpt-5-codex
30% off
$0.875 / 1M Tokens
$7 / 1M Tokens
400,000
Unfiltered
Reasoning
codex-mini-latest-highcodex-mini-latest
30% off
$1.05 / 1M Tokens
$4.2 / 1M Tokens
200,000
Unfiltered
Reasoning
⚡Deep Research Models
o4-mini-deep-researcho4-mini-deep-research-2025-06-26
10% off
$1.8 / 1M Tokens
$7.2 / 1M Tokens
200,000
Unfiltered
ReasoningWeb-Search Supported
o3-deep-researcho3-deep-research-2025-06-26
10% off
$9 / 1M Tokens
$36 / 1M Tokens
200,000
Unfiltered
ReasoningWeb-Search Supported
⚡GPT-Audio Models
gpt-audiogpt-audio-2025-08-28
10% off
$2.25 / 1M Tokens
$9 / 1M Tokens
$36 / 1M Tokens
$72 / 1M Tokens
128,000
Unfiltered
Audio Input & Output SupportedVision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-audio-minigpt-audio-mini-2025-10-06
10% off
$0.54 / 1M Tokens
$2.16 / 1M Tokens
$9 / 1M Tokens
$18 / 1M Tokens
128,000
Unfiltered
Audio Input & Output SupportedVision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
⚡o4 Models
o4-mini-higho4-minio4-mini-2025-04-16
30% off
$0.77 / 1M Tokens
$3.08 / 1M Tokens
200,000
Unfiltered
ReasoningVision SupportedTools supportedJSON-mode supportedStructured JSON-schema supported
⚡o3 Models
o3-pro-higho3-proo3-pro-2025-06-10
10% off
$18 / 1M Tokens
$72 / 1M Tokens
200,000
Unfiltered
Reasoning
o3-higho3o3-2025-04-16
30% off
$1.4 / 1M Tokens
$5.6 / 1M Tokens
200,000
Unfiltered
ReasoningVision SupportedTools supportedJSON-mode supportedStructured JSON-schema supported
o3-mini-higho3-minio3-mini-2025-01-31
30% off
$0.77 / 1M Tokens
$3.08 / 1M Tokens
200,000
Unfiltered
ReasoningTools supportedJSON-mode supportedStructured JSON-schema supported
⚡o1 Models
o1-pro-higho1-proo1-pro-2025-03-19
10% off
$135 / 1M Tokens
$540 / 1M Tokens
200,000
Unfiltered
Reasoning
o1-higho1o1-2024-12-17
30% off
$10.5 / 1M Tokens
$42/ 1M Tokens
200,000
Unfiltered
ReasoningVision SupportedTools supportedJSON-mode supportedStructured JSON-schema supported
o1-minio1-mini-2024-09-12
30% off
$0.77 / 1M Tokens
$3.08 / 1M Tokens
128,000
Unfiltered
Reasoning
⚡GPT-OSS Models
gpt-oss-120b
80% off
$0.008 / 1M Tokens
$0.08 / 1M Tokens
128,000
Unfiltered
ReasoningJSON-mode supportedStructured JSON-schema supported
gpt-oss-20b
80% off
$0.006 / 1M Tokens
$0.028 / 1M Tokens
128,000
Unfiltered
ReasoningJSON-mode supportedStructured JSON-schema supported
⚡GPT-4.1 Models
gpt-4.1gpt-4.1-2025-04-14
30% off
$1.4 / 1M Tokens
$5.6 / 1M Tokens
1,047,576
Unfiltered
Vision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-4.1-minigpt-4.1-mini-2025-04-14
30% off
$0.28 / 1M Tokens
$1.12 / 1M Tokens
1,047,576
Unfiltered
Vision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-4.1-nanogpt-4.1-nano-2025-04-14
30% off
$0.07 / 1M Tokens
$0.28 / 1M Tokens
1,047,576
Unfiltered
Vision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
⚡GPT-4o-Search Models
gpt-4o-search-previewgpt-4o-search-preview-2025-03-11
30% off
$1.75 / 1M Tokens
$7 / 1M Tokens
Low: $0.03 / RequestMedium: 0.035 / RequestHigh: 0.05 / Request
128,000
Unfiltered
Web-Search SupportedVision Supported
gpt-4o-mini-search-previewgpt-4o-mini-search-preview-2025-03-11
30% off
$0.125 / 1M Tokens
$0.42 / 1M Tokens
Low: $0.025 / RequestMedium: 0.0275 / RequestHigh: 0.03 / Request
128,000
Unfiltered
Web-Search SupportedVision Supported
⚡GPT-4o-Audio Models
gpt-4o-audio-previewgpt-4o-audio-preview-2025-06-03gpt-4o-audio-preview-2024-12-17
10% off
$2.25 / 1M Tokens
$9 / 1M Tokens
$36 / 1M Tokens
$72 / 1M Tokens
128,000
Unfiltered
Audio Input & Output SupportedVision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-4o-audio-preview-2024-10-01
10% off
$2.25 / 1M Tokens
$9 / 1M Tokens
$90 / 1M Tokens
$180 / 1M Tokens
128,000
Unfiltered
Audio Input & Output SupportedVision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-4o-mini-audio-previewgpt-4o-mini-audio-preview-2024-12-17
10% off
$0.135 / 1M Tokens
$0.54 / 1M Tokens
$9 / 1M Tokens
$18 / 1M Tokens
128,000
Unfiltered
Audio Input & Output SupportedVision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
⚡GPT-4o Models
chatgpt-4o-latest
30% off
$3.5 / 1M Tokens
$10.5 / 1M Tokens
128,000
Unfiltered
Vision supported
gpt-4ogpt-4o-2024-11-20gpt-4o-2024-08-06
30% off
$1.75 / 1M Tokens
$7 / 1M Tokens
128,000
Unfiltered
Vision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
gpt-4o-2024-05-13
30% off
$3.5 / 1M Tokens
$10.5 / 1M Tokens
128,000
Unfiltered
Vision supportedTools supportedJSON-mode supported
gpt-4o-minigpt-4o-mini-2024-07-18
30% off
$0.105 / 1M Tokens
$0.42 / 1M Tokens
128,000
Unfiltered
Vision supportedTools supportedJSON-mode supportedStructured JSON-schema supported
⚡GPT-4-Turbo Models
gpt-4-turbogpt-4-turbo-2024-04-09
30% off
$7 / 1M Tokens
$21 / 1M Tokens
128,000
Unfiltered
Vision supportedTools supportedJSON-mode supported
gpt-4-turbo-preview
30% off
$7 / 1M Tokens
$21 / 1M Tokens
128,000
Unfiltered
Tools supportedJSON-mode supported
gpt-4-0125-preview
30% off
$7 / 1M Tokens
$21 / 1M Tokens
128,000
Unfiltered
Tools supportedJSON-mode supported
gpt-4-1106-preview
30% off
$7 / 1M Tokens
$21 / 1M Tokens
128,000
Unfiltered
Tools supportedJSON-mode supported
⚡ GPT-4 Models
gpt-4
30% off
$21 / 1M Tokens
$42 / 1M Tokens
8,192
Unfiltered
Tools supported
gpt-4-0613
30% off
$21 / 1M Tokens
$42 / 1M Tokens
8,192
Unfiltered
Tools supported
gpt-4-0314
30% off
$21 / 1M Tokens
$42 / 1M Tokens
8,192
Unfiltered
Chat Only
⚡GPT-3.5-Turbo Models
gpt-3.5-turbogpt-3.5-turbo-0125
30% off
$0.35 / 1M Tokens
$1.05 / 1M Tokens
16,385
Unfiltered
Tools supportedJSON-mode supported
gpt-3.5-turbo-1106
30% off
$0.7 / 1M Tokens
$1.4 / 1M Tokens
16,385
Unfiltered
Tools supportedJSON-mode supported
gpt-3.5-turbo-16k
30% off
$2.1 / 1M Tokens
$2.8 / 1M Tokens
16,385
Unfiltered
Tools supported
Last updated
