Skip to main content
This guide walks you through sending your first request to KiosAPI using the official OpenAI SDK. KiosAPI is fully OpenAI-compatible, so you use the same library and the same method calls you already know — the only change is the base URL and API key.
Prerequisites:
  • A KiosAPI account with an API key (starts with sk-kilo-)
  • Python 3.8+ or Node.js 18+
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.