Documentation

Everything you need to integrate, operate, and scale the AI gateway.

⌕Search models, keys, requests…
SK
API v1.8

How can we help you build?

⌘ K

Quickstart

Send your first request in under five minutes.

API reference

Explore endpoints, schemas, and errors.

SDK libraries

Use official Python, Node, and Go clients.

Batch processing

Submit large asynchronous workloads.

Browse docs

Popular guides

View all guides →

Build your first chat completion

Create a key, select a model, and stream a response.

6 min

Understand token consumption

Measure input, output, cache, and model-level usage.

8 min

Process requests in batches

Prepare JSONL input and monitor asynchronous jobs.

12 min

Set balance alerts

Avoid service interruptions with threshold notifications.

4 min

Secure production credentials

Rotate keys and apply environment-level restrictions.

7 min

Latest updates

OCT 04

MiMo v2.6 models

New model family and context limits.

SEP 28

Batch retry policy

Automatic retries and error exports.

SEP 20

Usage API

Daily model-level metrics endpoint.

Developer resources

Authentication guide

API keys, rotation, and scopes

SDK quickstart

Python, Node, and Go examples

Billing & credits

Plans, invoices, and usage

API operational · All regions healthy