> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kiosapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Get up and running with KiosAPI in minutes using the OpenAI SDK.

# Quickstart

This guide walks you through sending your first request to the KiosAPI platform using the official OpenAI SDK. KiosAPI is fully OpenAI-compatible, so you can use the libraries you already know.

## Prerequisites

* A KiosAPI account with an API key (starts with `sk-`)
* Python 3.8+ or Node.js 18+

## Python

### Install the SDK

```bash theme={null}
pip install openai
```

> [!NOTE]
>
> OpenAI Python SDK version **1.25.0** or higher is required for full KiosAPI compatibility.

### Send your first request

```python theme={null}
from openai import OpenAI

client = OpenAI(
    api_key="sk-xxx",
    base_url="https://kiosapi.com/v1/",
)

response = client.chat.completions.create(
    model="gpt-5.5",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Hello! What can you do?"},
    ],
)

print(response.choices[0].message.content)
```

## Node.js

### Install the SDK

```bash theme={null}
npm install openai
```

### Send your first request

```javascript theme={null}
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: "sk-xxx",
  basePath: "https://kiosapi.com/v1",
});

async function main() {
  const response = await client.chat.completions.create({
    model: "gpt-5.5",
    messages: [
      { role: "system", content: "You are a helpful assistant." },
      { role: "user", content: "Hello! What can you do?" },
    ],
  });

  console.log(response.choices[0].message.content);
}

main();
```

## Next steps

* [OpenAI SDK guide](https://docs.kiosapi.com/getting-started/openai-sdk.md) — deeper dive into SDK configuration and supported models.
* [Concurrency](https://docs.kiosapi.com/getting-started/concurrency.md) — handle high-throughput batch requests with `asyncio` + `aiohttp`.
* [API Reference](https://docs.kiosapi.com/introduction.md) — full endpoint documentation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.