Unrestricted AI Model API: Hosted Setup Guide
A hosted unrestricted ai model api saves you from running GPUs: you get a key, call an OpenAI-compatible endpoint and pay per token. This guide walks through the key, the endpoint, a first request and the parameters you will actually use, in the order you will need them.

Summary
- Endpoint: https://api.modelaiunrestricted.com/v1. Model ID: uncensored. Auth: Authorization: Bearer key.
- Methods: POST /v1/chat/completions, POST /v1/responses and GET /v1/models.
- Context is 100,000 tokens; a full key allows 8 concurrent requests and 300 requests per minute.
- Text only, and sexual content involving minors is never allowed.
Step 1: create the account and the key
Open the API key page and sign up with Google or with email and password. After sign-up you can claim $0.50 of trial credit with one click. It is valid for 7 days, needs no payment details and is limited to one per person. The key appears on the same page.
Keys are self-service. You can regenerate the key whenever you like, and the old one stops working at once, with no need to contact support. Accounts that have topped up can hold up to 5 keys, give each a label and revoke any of them. One key per environment (development, staging, production) is a good habit.
Put the key in an environment variable, never in source control:
export API_KEY="YOUR_KEY"
Use separate keys for separate environments. If a development key leaks, you can revoke it without touching production, and a label such as "staging" tells you at a glance which key a log line belongs to. Labels and several keys are available once the account has topped up.
Step 2: know the endpoint and the model
| Item | Value |
|---|---|
| Base URL | https://api.modelaiunrestricted.com/v1 |
| Model ID | uncensored |
| Auth header | Authorization: Bearer YOUR_KEY |
| Chat | POST /v1/chat/completions |
| Responses | POST /v1/responses |
| Model list | GET /v1/models |
| Balance | GET /v1/balance or GET /v1/dashboard/billing/credit_grants |
The service runs a single open-weight model, run by an independent provider and tuned to answer without content refusals for lawful adult use. It is not the official API of any model vendor, and it is not a router across vendors. It does text only: no images, audio, video, embeddings or fine-tuning.
List the models to confirm your key works:
curl https://api.modelaiunrestricted.com/v1/models \
-H "Authorization: Bearer $API_KEY"
A valid key returns a JSON list that includes the uncensored model. Use this call as a health check in your deployment scripts, since it is a lightweight call that fails fast when the key is wrong.
Step 3: send the first request
curl https://api.modelaiunrestricted.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "uncensored",
"messages": [
{"role": "system", "content": "You are a candid assistant. Answer directly."},
{"role": "user", "content": "List five risks of launching an app without moderation."}
],
"temperature": 0.6
}'
The reply follows the standard chat completion format: an id, a choices array with the message and a usage object with token counts. If you get HTTP 401, check the key. A request body can be up to 8 MB.
The same call in Node with the official SDK:
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.modelaiunrestricted.com/v1",
apiKey: process.env.API_KEY,
});
const res = await client.chat.completions.create({
model: "uncensored",
messages: [{ role: "user", content: "Explain idempotency keys in three sentences." }],
});
console.log(res.choices[0].message.content);
console.log(res.usage);
Streaming and JSON mode use the same call. Add "stream": true to receive server-sent events with usage at the end, or "response_format": {"type": "json_object"} to get a JSON object back. When you use JSON mode, name the keys you expect in the system message so the structure is predictable.
Step 4: choose parameters
| Parameter | What it does | Start with |
|---|---|---|
temperature | Randomness of word choice | 0.7 for chat, 0.2 for extraction, 0.9 for fiction |
top_p | Limits sampling to the top probability mass | Leave at default; change only one of temperature or top_p |
max_tokens | Caps reply length; optional | Set it to protect your budget |
stop | Stops generation at given strings | Useful for scripted formats |
seed | Aims for repeatable output | Useful for tests |
| frequency and presence penalties | Discourage repetition | Small values if replies loop |
stream | Server-sent events, usage at the end | true for chat interfaces |
response_format | JSON mode with {"type":"json_object"} | Describe the keys in the prompt |
tools, tool_choice | Function calling | Return results as role: "tool" |
The prompt and the completion share the 100,000-token window. Because the API keeps no state, resend the messages you want the model to remember on every call.
Change one sampling knob at a time. Raising temperature and lowering top_p together makes it hard to see which change helped. For tests, fix seed and keep the prompt identical, so differences in the output come from your change and not from chance.
Step 5: watch balance and limits
Every response carries the headers X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests and X-RateLimit-Limit-Concurrency. Log the request ID with each call, and alert when X-Balance-USD drops under a level you choose.
A full key allows 8 concurrent requests and 300 requests per minute. The trial key allows 2 and 60. Past a limit you get HTTP 429. The code rate_limited means too many requests per minute and concurrency means too many at once. During temporary overload you will see a 429 with Retry-After: 5. A streamed request keeps its concurrency slot until the stream ends, so a stuck client can quietly use up your slots.
You can also read the balance without generating anything:
curl https://api.modelaiunrestricted.com/v1/balance \
-H "Authorization: Bearer $API_KEY"Troubleshooting first-run problems
Most first-day problems fall into a handful of categories.
| Symptom | Check | Fix |
|---|---|---|
| 401 response | Header format and key value | Send Authorization: Bearer YOUR_KEY with no extra quotes or spaces |
| Connection or not-found error | Base URL | It must end in /v1 |
| Error about the model | The model field | Use uncensored |
429 with concurrency | Parallel requests and open streams | Lower the pool size or close unused streams |
429 with rate_limited | Requests in the last minute | Spread calls out; a full key allows 300 per minute |
429 with Retry-After: 5 | Temporary overload | Wait 5 seconds and retry |
| Requests stop working after a while | Balance or trial expiry | Read X-Balance-USD; the trial lasts 7 days |
Include the X-Request-Id from the failing response when you contact support from the support page. It saves a round of questions.
Step 6: fund the account
Billing is prepaid and pay as you go, at $0.15 per 1M input tokens and $0.50 per 1M output tokens. Top up with any whole amount from $20 to $500, paid in crypto (USDT on TRC20 or USDC on Base). Bonuses: +5% from $50, +10% from $100, +15% from $200. Credit never expires, and failed or refused requests are not charged. A 3,000-token prompt with a 600-token reply costs $0.00045 plus $0.0003, so $0.00075. The pricing page has the details.
To top up, pick a whole amount from $20 to $500, then pay in USDT on TRC20 or USDC on Base. A $100 top-up arrives as $110 of credit, and a $200 top-up as $230. Start with the minimum while you test, and move to a larger amount once your usage is predictable.
Before you go to production
Having no vendor filter means your app carries the responsibility for what it shows. Plan age checks, moderation of input and output, logging rules and a way to revoke keys fast. The unrestricted AI production checklist covers the operational side, and the API docs list every endpoint in detail. Prompts are not used for training.
A short pre-launch list: keep the key on the server, set max_tokens on every route where length is predictable, handle 429 with a wait and retry, log the request ID, and set an alert on X-Balance-USD so a drained balance never surprises you at night. Add enough credit before a large launch so that traffic never outruns the balance.
More guides
Common questions
Is the unrestricted model free to try?
New users can claim $0.50 of trial credit with one click on the API key page. It lasts 7 days, needs no payment details and is limited to one per person.
Which SDKs work?
Any OpenAI SDK or client. Change the base URL and key, and set the model to uncensored.
Is there a hard content limit?
Yes. Sexual content involving minors is never allowed, whatever the framing.
Can I run several keys?
Accounts that have topped up can hold up to 5 keys, label them and revoke any of them. You can also regenerate a key at any time.
Access your key via a form
Register, copy the token, update your endpoint. That is the entire configuration.