LogopraGateway@terminal: /usr/bin/gateway-info
[ 👤 Account ]MODELS_DB
guest@praGateway:~$ ./show-banner.sh
[System Status: ONLINE] [Master Key: CONFIG_LOADED]
models-list.json (0 models loaded)
$ grep -i
[Tags]:
MODEL_IDCONTEXTMAX_OUTDESCRIPTION / SPECCLIPBOARD
network-config.conf
BASE_URL
https://pragateway.duckdns.org/v1
GET_MODELS_API
https://pragateway.duckdns.org/v1/models
test-curl.sh
curl https://pragateway.duckdns.org/v1/chat/completions \
  -H "Authorization: Bearer ${YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kr/deepseek-3.2",
    "messages": [{"role": "user", "content": "Halo, siapa kamu?"}]
  }'
# Tip: Click model rows to modify the model ID above.
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://pragateway.duckdns.org/v1",
  apiKey: process.env.API_KEY, // key dari praGateway
});

async function main() {
  const res = await client.chat.completions.create({
    model: "kr/deepseek-3.2",
    messages: [{ role: "user", content: "Halo!" }],
  });
  console.log(res.choices[0].message.content);
}
main();