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

# KiosAPI – OpenAI-Compatible Gateway for GPT, Claude & Gemini

> Access GPT, Claude, Gemini, and dozens of other AI models through one OpenAI-compatible endpoint and API key — no extra configuration needed.

KiosAPI is a unified API gateway that lets you call every major AI model — GPT-4o, Claude, Gemini, o1/o3, and more — through one endpoint using the OpenAI SDK you already know. Point your existing code at `https://kiosapi.com/v1/` and swap your key. No code changes required.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/getting-started/quickstart">
    Send your first request in under 5 minutes using the OpenAI SDK.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Get your API key and learn how to pass it for each endpoint format.
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/chat/general">
    Full reference for chat, embeddings, moderation, and reranking endpoints.
  </Card>

  <Card title="Tutorials" icon="book-open" href="/tutorials/claude-code">
    Integrate KiosAPI with Claude Code, Codex CLI, Gemini CLI, and more.
  </Card>
</CardGroup>

## How it works

KiosAPI supports three endpoint formats so you can use whichever SDK you already have installed. OpenAI-compatible libraries work via `/v1/chat/completions`, the Anthropic SDK works via `/v1/messages`, and the Google GenAI SDK works via `/v1beta/models/{model}:generateContent` — all under the same base URL and the same API key.

<CardGroup cols={3}>
  <Card title="OpenAI Format" icon="message" href="/api-reference/chat/general">
    Use `/v1/chat/completions` with any OpenAI-compatible library.
  </Card>

  <Card title="Claude Native" icon="robot" href="/api-reference/chat/claude-native">
    Use `/v1/messages` with the Anthropic SDK directly.
  </Card>

  <Card title="Gemini Native" icon="brain" href="/api-reference/chat/gemini-native">
    Use `/v1beta/models/{model}:generateContent` with the Google GenAI SDK.
  </Card>
</CardGroup>

## Get started in 3 steps

<Steps>
  <Step title="Create your account">
    Sign up at [kiosapi.com](https://kiosapi.com) and navigate to **Dashboard → Token Management** to generate your API key. It starts with `sk-`.
  </Step>

  <Step title="Point your SDK at KiosAPI">
    Set `base_url` to `https://kiosapi.com/v1/` and use your KiosAPI key wherever your SDK expects an API key. No other changes needed.

    ```python quickstart.py theme={null}
    from openai import OpenAI

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

  <Step title="Pick a model and send a request">
    Pass any supported model name — `gpt-4o`, `claude-sonnet-4-20250514`, `gemini-2.5-flash`, and many more.

    ```python quickstart.py theme={null}
    response = client.chat.completions.create(
        model="gpt-4o-mini",
        messages=[{"role": "user", "content": "Hello!"}],
    )
    print(response.choices[0].message.content)
    ```
  </Step>
</Steps>

## Explore the docs

<CardGroup cols={2}>
  <Card title="OpenAI SDK Guide" icon="python" href="/getting-started/openai-sdk">
    Configure the OpenAI SDK for Python and Node.js with streaming examples.
  </Card>

  <Card title="High-Concurrency Requests" icon="bolt" href="/getting-started/concurrency">
    Run thousands of parallel requests using asyncio and aiohttp.
  </Card>

  <Card title="Token Quota" icon="chart-bar" href="/token-management/quota">
    Check your spending limit and monitor usage via the billing API.
  </Card>

  <Card title="Function Calling" icon="wrench" href="/api-reference/chat/function-calling">
    Use tool calling with any supported model via the OpenAI tools format.
  </Card>
</CardGroup>
