Developer Documentation
Integrate our uncensored LLM API in seconds with standard OpenAI-compatible endpoints. We offer raw, unrestricted text generation at $0.15 per 1M input tokens and $0.50 per 1M output tokens.
Base URL and Authentication Setup
The API lives at https://api.apillmcheap.com/v1. Authenticate by passing your key in the Authorization header. We issue one key per account, replaceable at will.
- Base URL:
https://api.apillmcheap.com/v1 - Header:
Authorization: Bearer YOUR_API_KEY
Sign up via Google or email to receive your key instantly. No phone number is required.
First Request
Send a standard chat-completions request to generate text. The model ID is uncensored.
This endpoint accepts text input and returns text output. We do not support embeddings, image, or audio generation.
curl https://api.apillmcheap.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [{"role": "user", "content": "List the top 5 open source models for low latency inference"}]
}'The request body must not exceed 8 MB. You can send up to 300 requests per minute.
Python SDK Integration
Use the official openai Python library. Point it to our base URL.
from openai import OpenAI
client = OpenAI(base_url="https://api.apillmcheap.com/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)Ensure you set the model parameter to uncensored. This allows you to use familiar tools without rewriting your logic.
Node.js SDK Setup
Initialize the client with our base URL. Pass your API key as the authorization header.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.apillmcheap.com/v1", apiKey: process.env.API_KEY });
const resp = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);Call the chat.completions.create method. The response contains the generated text and token usage details.
Streaming Responses and Token Usage
Enable streaming by setting stream: true. Token usage data appears in the final chunk.
stream = client.chat.completions.create(
model="uncensored",
messages=[{"role": "user", "content": "Tell the story in second person."}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)This approach reduces perceived latency for large responses. The model supports a 100,000 token context window.
Rate Limits and Error Handling
Concurrent requests are capped at 8 per key. Errors like 401 indicate an invalid key. A 402 error means you need to top up with crypto. Rate limits trigger a 429 status code. Credit never expires. Refunds are not issued, but support can fix double charges. The context window is 100,000 tokens total. Max output is 16,000 tokens.
Common questions
Is this a cheap LLM API for high-volume use?
Yes. We charge $0.15 per 1M input tokens and $0.50 per 1M output tokens. You only pay for what you use. No monthly fees apply.
Can I use this for NSFW content?
The model is uncensored and does not refuse lawful adult content. It only restricts sexual content involving minors.
How do I add credit?
Top up with USDT (TRC20) or USDC (Base). Minimum amount is $20. Bonus credit is added for larger deposits.
Get your API key
Sign up, copy the token, update your endpoint. That is all.