Quickstart

Definition

Get a luv13 key, set base URL https://api.luv13.ai/v1, and make your first OpenAI-compatible chat completion with one curl.

curl https://api.luv13.ai/v1/chat/completions \
  -H "Authorization: Bearer $LUV13_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "luv13/glm-5.3-flash",
    "messages": [
      {"role": "user", "content": "ping"}
    ]
  }'

Key takeaways

  • Base URL https://api.luv13.ai/v1; send your key as Authorization: Bearer.
  • Keys start with sk-luv13- and are shown once.
  • Every model costs $0.33 per 1M tokens, input priced the same as output.

luv13 is an OpenAI-compatible API for open-weight models at base URL https://api.luv13.ai/v1; sign in at https://dash.luv13.ai/, create a key (it starts with sk-luv13- and is shown once), and send it as Authorization: Bearer <key>. Every model costs $0.33 per 1M tokens, input priced the same as output, so 800k input + 200k output = 1.0M tokens = $0.33.

Step 01

Get a key

In the dashboard, create a key. The full key starts with sk-luv13- and is shown once, at creation. Put it in an environment variable, never in client-side code.

No dashboard access? Email [email protected].

Step 02

Export it

export LUV13_API_KEY=sk-luv13-...

Step 03

List models

No key is needed for this call today.

curl https://api.luv13.ai/v1/models
  • luv13/kimi-k3
  • luv13/kimi-k3-fast
  • luv13/glm-5.3
  • luv13/glm-5.3-flash
  • luv13/deepseek-v4.1-flash
  • luv13/deepseek-v4-pro
  • luv13/qwen-3.8-27b

Step 04

First request

Run the curl at the top of this page with LUV13_API_KEY exported. It sends one message to luv13/glm-5.3-flash.

Step 05

SDKs and tools

Base URL
https://api.luv13.ai/v1
API key
Your luv13 key
Model
One ID from the list above

Setup for Cursor, Cline, Open WebUI, and more: Tools.

Step 06

What it costs

One flat rate, $0.33 per 1M tokens, on every model. Input costs the same as output.

800k input + 200k output = 1.0M tokens = $0.33.

Step 07

If it fails

  • 401 403 Check your key or account.
  • 402 insufficient_funds_error Top up at https://luv13.ai/top-up.
  • 404 model_not_found The error lists the valid IDs.
  • 429 rate_limit_error Back off and retry.