Skip to main content
Welcome to the AI Stats Quickstart — this guide will help you make your first successful API request and explore everything AI Stats has to offer. The Gateway provides a simple and unified way to access AI models from multiple providers, without needing to juggle different APIs, keys, or formats.

1. Create an account

Sign up for a free account on the AI Stats Dashboard.
Once logged in, navigate to Gateway → API Keys and click Generate Key.
This key will be used to authenticate all API requests.

2. Make your first request

With your API key ready, send your first request to the /chat/completions endpoint.
curl https://api.ai-stats.phaseo.app/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3-pro-preview",
    "messages": [
      {"role": "user", "content": "Give me a short fact about AI."}
    ]
  }'
If successful, you’ll receive a JSON response like this:
{
	"id": "G-00000000000000000000000000",
	"model": "gemini-3-pro-preview",
	"choices": [
		{
			"index": 0,
			"message": {
				"role": "assistant",
				"content": "Artificial intelligence was first coined as a term in 1956 at Dartmouth College."
			},
			"finish_reason": "stop"
		}
	],
	"usage": {
		"input_tokens": 14,
		"output_tokens": 21,
		"total_tokens": 35
	}
}
You just made your first request to the AI Stats Gateway! 🎉 You can easily modify the request to change model, the prompt, and other parameters.

3. Try different endpoints

Once you’re comfortable, explore the other endpoints available in the Gateway:
EndpointPurpose
/chat/completionsConversational AI (text generation).
/moderationsContent moderation and safety scoring.
/embeddingsGenerate vector embeddings for text.
Other endpoints are coming soon! You can find full details and parameters in the API Reference.

4. Explore data on AI Stats

The Gateway is just one part of AI Stats. You can also explore model metadata, benchmarks, and pricing across hundreds of providers:

5. Next steps

You’re all set! Continue learning by diving deeper into the API and integration examples. Or by exploring the data available on the website:
Need help? Join our Discord community or reach out via the Contact & Support page.