Use an LLM API with cURL, Python and Node.js
A practical integration checklist for uncensored, abliterated or cybersecurity checkpoints that are actually available in the catalog.
Content updated:
1. Select an available model
Open the catalog and confirm the exact model ID, context window, output limit, token prices and availability. A model name or topic label does not establish compatibility. If no suitable model is connected, request the checkpoint instead of sending inference to a placeholder.
2. Keep credentials on the server
Create an account and API key, restrict model access and set a budget. Store UNLIMIT_API_KEY in your server environment, never in browser code, screenshots or a public repository. The examples use YOUR_MODEL_ID as a placeholder; replace it with a verified catalog ID.
3. Use the supported request contract
Use the Chat Completions endpoint shown below. Start with text messages and a small max_tokens limit. Enable streaming only when the model declares it. OpenAI-compatible here does not imply every OpenAI endpoint or field is supported; check the documentation for request limits.
4. Handle failures and billing deliberately
Check status codes, request identifiers and usage records. Stopping a stream does not prove upstream computation stopped, and a retry is a new request that may incur cost. Avoid blind automatic retries. Follow the error, streaming and billing guides before production use.
cURL
curl https://unlimit.chat/v1/chat/completions \
-H "Authorization: Bearer $UNLIMIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"YOUR_MODEL_ID","messages":[{"role":"user","content":"Hello"}],"max_tokens":64}'Python
import os
from openai import OpenAI
client = OpenAI(base_url="https://unlimit.chat/v1", api_key=os.environ["UNLIMIT_API_KEY"])
response = client.chat.completions.create(
model="YOUR_MODEL_ID",
messages=[{"role": "user", "content": "Hello"}],
max_tokens=64,
)
print(response.choices[0].message.content)Node.js
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://unlimit.chat/v1",
apiKey: process.env.UNLIMIT_API_KEY,
});
const response = await client.chat.completions.create({
model: "YOUR_MODEL_ID",
messages: [{ role: "user", content: "Hello" }],
max_tokens: 64,
});
console.log(response.choices[0].message.content);