Build intelligent applications with Aimi's AI capabilities. OpenAI-compatible REST API with SSE streaming and Bearer token authentication.
OpenAI-compatible API for AI chat completions. Access all models via a single endpoint.
https://aimichat.app/v1/chat/completionsSend chat messages and receive AI-powered responses. Supports streaming and multiple quality tiers.
Authorization: Bearer aimichat_xxxStandard OAuth2 Bearer token authentication
X-API-Key: aimichat_xxxCustom header authentication
?api_key=aimichat_xxxURL query parameter (not recommended for production)
Get up and running in minutes with these examples.
curl -X POST https://aimichat.app/v1/chat/completions \
-H "Authorization: Bearer aimichat_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"messages": [{"role": "user", "content": "Hello!"}],
"max_tokens": 500
}'Drop-in replacement for OpenAI API. Use existing SDKs and tools with minimal code changes.
Generate up to 5 API keys per account with aimichat_ prefix. Keys are hashed and stored securely.
Standard Authorization: Bearer header, X-API-Key header, or query parameter authentication.
Real-time streaming responses using Server-Sent Events when stream: true is set.
10 requests per minute per API key. Includes X-RateLimit headers for tracking usage.
Each request uses credits from your monthly allocation. Free: 500, Plus: 4K, Ultra: 10K.
API keys can be set to Fast, Balanced, or Premium quality based on your subscription tier.
Track API key usage with last used timestamp, total request count, and monthly statistics.
Create, list, and revoke API keys from your account dashboard. Soft delete for audit trails.
Comprehensive error responses with status codes, messages, and rate limit headers.
Cross-origin requests supported. Use from any domain or application.
Up to 50 messages per request, 50,000 total characters. 2,000 token max response.