Free API · OpenAI-compatible

Build with the free AI

One key, one endpoint, the same models as the chat. Point any OpenAI SDK at the base URL below and you are done.

No credit card. A free daily quota, reset every day.

Authentication

Send your key as a Bearer token. Keys are stored hashed, can be revoked at any time, and only work with this API.

Base URL —
Authorization: Bearer sk-ai-…

Endpoints

POST/v1/chat/completions
GET/v1/models
GET/v1/usage

Quick start

01

Create a key

Sign in, open Settings → API keys, and create one. The secret is shown only once.

02

Point your SDK here

Set base_url to the URL above and pass the key as api_key.

03

Send a request

Chat completions, streaming and model listing all speak the OpenAI protocol.

Code samples


      

Models

Live list of the models enabled on this site.

Try it now

Runs a real request with your signed-in account and counts against the same free quota as chat.

Limits

Chat and API share one daily free quota per account, and every key has its own per-minute rate limit. The free upstream can slow down at peak times.

Without a key you can send a few trial requests per IP per day. Create a free key for the full quota.

Errors

Errors use the OpenAI envelope: error.message, error.type and error.code.

HTTPerror.codeMeaning
400invalid_request
401invalid_api_key
403account_disabled
429quota_exceeded / rate_limit_exceeded
502upstream_error
503api_disabled

Good to know

Manage API keys