API Overview
LAYSO AI exposes one gateway for OpenAI-compatible, Anthropic-native, Gemini-native, and asynchronous video requests. One API key can access all models available on the platform.
Unified access and transparent billing
Requests are billed at the current price of the selected model. Every successful request has an itemized usage record; failed tasks are not charged.
Base configuration
| Setting | Value |
|---|---|
| API Base URL | https://api.layso.ai |
| User website | https://layso.ai |
| OpenAI SDK Base URL | https://api.layso.ai/v1 |
| Anthropic SDK Base URL | https://api.layso.ai |
| OpenAI auth | Authorization: Bearer $LAYSO_API_KEY |
| Anthropic auth | x-api-key: $LAYSO_API_KEY |
| Gemini auth | x-goog-api-key: $LAYSO_API_KEY |
| API Key | Create one on the LAYSO AI API Keys page |
Main endpoints
| Protocol | Endpoint | Method |
|---|---|---|
| OpenAI | /v1/chat/completions | POST |
| OpenAI | /v1/responses | POST |
| OpenAI | /v1/embeddings | POST |
| OpenAI | /v1/images/generations | POST |
| OpenAI | /v1/models | GET |
| Anthropic | /messages | POST |
| Anthropic | /models | GET |
| Gemini | /v1beta/models/{model}:generateContent | POST |
| Gemini | /v1beta/cachedContents | POST |
| Video | /v1/videos | POST |
| Video | /v1/videos/{id} | GET / DELETE |
Account and usage
LAYSO AI does not currently publish a balance-query REST endpoint. Do not depend on undocumented dashboard internals.
bash
curl https://api.layso.ai/v1/chat/completions \
-H "Authorization: Bearer $LAYSO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Hello"}]}'