Getting started

Quickstart

Cuybly gives you access to the world's best AI models through a single REST endpoint. You don't need any SDK — if you can make an HTTP request, you're ready to go.

Free forever. No credit card required. Sign up, get your key, start building.

In three steps

01
Create an account
Head to cuybly.xyz/signup and create a free account. No credit card needed.
02
Get your API key
Once signed in, your API key is available in the dashboard. Keep it safe — treat it like a password.
03
Make your first request
Send a POST request to api.cuybly.xyz/v1/chat with your key and a prompt. That's it.
Authentication

Authenticating requests

All requests to the Cuybly API must include your API key in the Authorization header using the Bearer scheme.

HTTP header
Authorization: Bearer YOUR_API_KEY
Keep your key secret. Never expose it in client-side code, public repos, or frontend JavaScript that ships to users.

Where to find your key

Your API key is shown in the Cuybly dashboard after you sign in. If you lose it or need to rotate it, you can generate a new one from the API Keys page.

API Reference

API overview

The Cuybly API follows a simple REST design. All requests are made over HTTPS, and all request and response bodies use JSON.

Base URL Format Auth
api.cuybly.xyz JSON Bearer token
API Reference

POST /v1/chat

Send a message to any supported model and receive a response. This is the only endpoint you need.

POST https://api.cuybly.xyz/v1/chat

Request body

FieldTypeRequiredDescription
model string Yes The model to use, e.g. gpt-4o, claude-3-5-sonnet
messages array Yes Array of message objects with role and content
stream boolean No Stream the response token-by-token. Defaults to false

Message object

FieldValuesDescription
role user · assistant · system Who sent the message
content string The text of the message

Response

JSON response
{
  "choices": [
    {
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you?"
      },
      "finish_reason": "stop"
    }
  ],
  "model": "gpt-4o"
}

Supported models

ModelProvider
gpt-4oOpenAI
gpt-4o-miniOpenAI
llama-4-scoutMeta
llama-4-maverickMeta
API Reference

Errors

Cuybly uses standard HTTP status codes. Errors return a JSON body with a message field describing what went wrong.

StatusMeaning
400Bad request — missing or invalid fields
401Unauthorized — missing or invalid API key
429Rate limited — slow down your requests
500Server error — try again shortly
Error response
{
  "error": "Invalid API key",
  "status": 401
}
Examples

Code examples

Full code examples for Python, JavaScript, cURL, and more are on their way.

Examples coming soon.

Quickstart code for every popular language and framework is being written. In the meantime, the API reference above has everything you need to get started.