Quickstart
Make your first 000 Labs API request in five minutes.
5-minute setup
Create a key, add credits, send a request.
Authentication
Bearer tokens with sk-000- keys.
Base URLs
One OpenAI-compatible endpoint.
000 Labs is a drop-in replacement for the OpenAI API with access to every model in the catalog. If your code already uses an OpenAI SDK, change two values — the base URL and the API key.
Setup
- 1Create an account and open API Keys in your dashboard. Keys start with
sk-000-and are shown once. - 2Add credits under Credits. Requests are billed per million tokens at each model's listed price.
- 3Point your SDK at
https://api.000labs.xyz/v1and send a request:
curl https://api.000labs.xyz/v1/chat/completions \
-H "Authorization: Bearer $(printenv 000_LABS_API_KEY)" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4o-mini",
"messages": [
{"role": "user", "content": "What is the meaning of life?"}
]
}'Next steps
| Guide | What you'll learn |
|---|---|
| Parameters & Schema | Every request field, type and default. |
| Streaming | Render tokens as they arrive. |
| Errors | Status codes and how to retry. |
| Cursor | Use 000 Labs models in your editor. |