Skip to content

Quick Start

Get up and running with the Pay Digital LLM Platform API in under 2 minutes.

1. Get Your API Key

  1. Sign up or log in at Pay Digital LLM Platform
  2. Go to API Keys in the left sidebar
  3. Create a key — give it a name and, optionally, a quota limit
  4. Copy the generated key (starts with sk-)

Keep your key safe

Your API key grants access to your account balance. Never share it publicly or commit it to version control. If you lose it, you can reveal it again from the API Keys page.

2. Make Your First Request

curl https://llm.paydigital.shop/v1/chat/completions \
  -H "Authorization: Bearer sk-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [
      {"role": "user", "content": "Hello! What can you do?"}
    ]
  }'
from openai import OpenAI

client = OpenAI(
    api_key="sk-YOUR_API_KEY",
    base_url="https://llm.paydigital.shop/v1"
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[
        {"role": "user", "content": "Hello! What can you do?"}
    ]
)

print(response.choices[0].message.content)
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'sk-YOUR_API_KEY',
  baseURL: 'https://llm.paydigital.shop/v1',
});

const response = await client.chat.completions.create({
  model: 'gpt-4o',
  messages: [
    { role: 'user', content: 'Hello! What can you do?' },
  ],
});

console.log(response.choices[0].message.content);

3. Explore

OpenAI SDK Compatibility

Our API is fully compatible with the official OpenAI SDK. To switch from OpenAI to Pay Digital LLM Platform, you only need to change two things:

Parameter OpenAI Pay Digital LLM Platform
base_url https://api.openai.com/v1 https://llm.paydigital.shop/v1
api_key Your OpenAI key Your Pay Digital LLM Platform key (sk-...)

Everything else — models, parameters, response format — works exactly the same.