LocAI
LoginGet Started

API Playground

A safe, static guide for trying LocAI-Go locally with your own API key.

No Browser Key Entry

Keys are never entered or stored on this page.

Use Your Dashboard Key

Copy your LC_PandaMoney key from the dashboard and run requests locally.

Webhook and Billing Safe

Usage is charged only when you call the real API with your own key.

Request Copy manually
curl https://api.locai.com.au/v1/chat/completions \
  -H "Authorization: Bearer LC_PandaMoney_<your_key>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "LocAI-Go",
    "messages": [
      {
        "role": "user",
        "content": "Write a concise launch checklist for an API product."
      }
    ],
    "temperature": 0.2,
    "stream": false
  }'
Example Response200 OK
{
  "id": "chatcmpl_example",
  "object": "chat.completion",
  "model": "LocAI-Go",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "1. Confirm authentication. 2. Verify billing. 3. Run a production health check. 4. Publish docs. 5. Monitor first users."
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 18,
    "completion_tokens": 34,
    "total_tokens": 52
  }
}

Endpoint: https://api.locai.com.au/v1/chat/completions. Model: LocAI-Go.

Read Full API Guide