Skip to main content
LithosAI provides an OpenAI-compatible API. Use any OpenAI client library, such as the official OpenAI SDK, to access the LithosAI API.

Base URL

Use the https://api.lithosai.cloud/v1 base URL for all requests to the LithosAI API.

Your first request

Create a key on the API Keys page, export it as LITHOSAI_API_KEY, and send a request.

Next steps

Authentication

Create a key and authorize your requests.

Chat Completions

Send prompts and stream tokens back.

Coding Agents

Run Codex, Claude Code and OpenCode on LithosAI models.

Rate limits

Three per-minute budgets, and how to read them.

Billing

Prepaid credit, per-token rates and automatic reload.