Docs / Node.js SDK

Node.js SDK

Anthropic protocol (no /v1)

Official @anthropic-ai/sdk library.

Base URL
https://api.llmapi.pro:99
API Key
sk-... (create in Console → API Keys)
Recommended
claude-opus-4-8 · claude-sonnet-4-6 · claude-haiku-4-5

Setup steps

import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: "sk-YOUR_KEY",
  baseURL: "https://api.llmapi.pro:99",
});
const msg = await client.messages.create({
  model: "claude-opus-4-8",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello" }],
});
console.log(msg.content[0].text);

Notes

Client not listed? Any "OpenAI-compatible" app works: Base URL = https://api.llmapi.pro:99/v1, key = your sk-..., type the model name. Or email support@llmapi.pro.
Need help? Email support@llmapi.pro · Home