# Before (Cloudflare AI Gateway)
curl https://gateway.ai.cloudflare.com/v1/your-account/your-gateway/openai/chat/completions \
-H "Authorization: Bearer your-cloudflare-token" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4",
"messages": [{"role": "user", "content": "Hello!"}]
}'
# After (AI Stats)
curl https://api.phaseo.app/v1/chat/completions \
-H "Authorization: Bearer your-ai-stats-key" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4",
"messages": [{"role": "user", "content": "Hello!"}]
}'