Prerequisites:
- A KiosAPI account with an API key (starts with
sk-kilo-) - Python 3.8+ or Node.js 18+
- Python
- Node.js
1
Install the OpenAI SDK
Install the official OpenAI Python SDK using pip:
OpenAI Python SDK version 1.25.0 or higher is required for full KiosAPI compatibility.
2
Send your first request
Create a client pointed at KiosAPI, then call
chat.completions.create:Next Steps
Now that you’ve sent your first request, explore these guides to go further:OpenAI SDK Guide
Dive deeper into SDK configuration, model selection, and supported parameters.
Concurrency
Handle high-throughput batch requests using async patterns.
API Reference
Explore the full chat endpoint documentation and all available options.