💡 Login to get your personal referral link
Don't install anything new. Use the openai package you already have. Just change base_url. All your existing code works.
Claim Your $5 Free API Key ⚡OpenAI compatible · No training on your data · SDAIA & PDPL compliant
curl https://api.barqapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $BARQ_API_KEY" \
-d '{
"model": "gpt-5.5",
"messages": [
{"role": "user", "content": "Hello Barq!"}
]
}'
# Also: gpt-4o, claude-3.5-sonnet, deepseek-chat & 200+ more
vs direct OpenAI pricing. No hidden fees.
Optimized infra. <50ms response overhead.
No training on your data. No request logging. 90-day logs only.
Barq is fully compatible with the OpenAI SDK. Every line of OpenAI code you've already written works with Barq — just change base_url and the API key. All models, all parameters, all features. Identical.
💡 Login to get your personal referral link