Unified API Gateway for a Vast Range of AI Models
Access available AI models through a unified API. Review the quick start, available models, and pricing before connecting an application.
Make your first request
- Create an API key for your account.
- Choose a model enabled for your account and API key.
- Send a request to the Chat Completions endpoint.
curl https://flexusapi.com/v1/chat/completions \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-d '{
"model": "YOUR_MODEL_ID",
"messages": [{"role": "user", "content": "Say hello in one sentence."}]
}'
Replace the placeholders with values shown for your account. Keep API keys private and do not commit them to source control.