Restrictions No AIUncensored LLM With 100k Context: What You Can Build
Uncensored LLM With 100k Context: What You Can Build
An uncensored LLM with 100k context can hold a short novel, a long chat history or a pile of reports in a single request. This article shows what that room is good for, a Python example and what a full window costs.

Summary
- The window is 100,000 tokens shared by prompt and completion, roughly 75,000 English words.
- Good fits: long documents, story continuity, long roleplay, log and code reading.
- A request with 90,000 input and 4,000 output tokens costs about $0.0155.
- Long context is still finite, so summarise old turns and test recall.
What 100,000 tokens actually holds
A token is a piece of a word. For English prose, a common rule of thumb is that one token is about four characters or three quarters of a word, so 100,000 tokens is roughly 75,000 words. That is a short novel, or around 150 pages of single-spaced text. Other languages and code usually take more tokens for the same length, so measure before you assume.
The limit covers the prompt and the completion together. If you send 95,000 tokens, only about 5,000 are left for the reply. max_tokens is optional; leave it out and the completion can use whatever the window has left.
Four jobs that need the room
Long-document work
Contracts, transcripts, research notes and manuscripts can go in whole. You can ask for a summary, a list of contradictions, or every mention of a character, without splitting the text into chunks and stitching answers back together.
Fiction with real continuity
Authors who draft with a model run into the same problem: by chapter ten, the model has forgotten the colour of a character's coat. Putting the story bible and all earlier chapters in context lets the model keep names, places and promises straight. Because the model is tuned to answer without content refusals for lawful adult use, dark or mature themes do not break the session midway.
Long roleplay sessions
A chat that runs for hundreds of turns builds up a history. With a big window you can resend most of it, plus the character sheet and world notes, so the persona stays consistent for far longer. Roleplay and companion apps are for adults, and the hard rule against sexual content involving minors applies to every request.
Logs and code
A day of application logs or a few dozen source files fit in one request. Asking where an error started, with the whole trail visible, often beats pasting snippets one at a time.
Python example: a continuity check on a manuscript
This script loads a text file, estimates its size, refuses to send anything that would crowd out the answer, and prints the reply together with the cost computed from the usage numbers the API returns.
from openai import OpenAI
client = OpenAI(
base_url="https://api.restrictionsnoai.com/v1",
api_key="YOUR_KEY",
)
text = open("manuscript.txt", encoding="utf-8").read()
estimated_tokens = len(text) // 4 # rough: about 4 characters per token
if estimated_tokens > 90_000:
raise SystemExit(f"About {estimated_tokens} tokens: trim the text or send it in parts.")
resp = client.chat.completions.create(
model="uncensored",
messages=[
{"role": "system", "content": "You are a continuity editor for adult fiction. Be specific and quote short phrases as evidence."},
{"role": "user", "content": "Below is a manuscript. List every continuity error: changed names, timeline slips, objects that appear or vanish.\n\n" + text},
],
max_tokens=3000,
temperature=0.3,
)
print(resp.choices[0].message.content)
u = resp.usage
cost = u.prompt_tokens / 1e6 * 0.15 + u.completion_tokens / 1e6 * 0.50
print(f"input {u.prompt_tokens}, output {u.completion_tokens}, cost ${cost:.4f}")
For a job this size, add stream=True so you see text as it arrives, and remember that a streamed request holds its concurrency slot until the stream ends. A full key allows 8 requests at once, a trial key 2. The request body can be up to 8 MB, far above what 100,000 tokens of text needs.
What a big window costs
Input tokens are cheap at $0.15 per 1M, and output at $0.50 per 1M. A near-full request:
- Input: 90,000 tokens x $0.15 / 1M = $0.0135
- Output: 4,000 tokens x $0.50 / 1M = $0.0020
- Total: $0.0155
Running that on 100 different manuscripts costs $1.55. A long chat is a different shape, because every turn resends the history. With 40,000 tokens of history and a 300-token reply:
- Input: 40,000 x $0.15 / 1M = $0.0060
- Output: 300 x $0.50 / 1M = $0.00015
- Per turn: $0.00615, so 100 turns cost $0.615
The cost grows with history, not with the number of turns alone. The $0.50 trial credit would cover about 81 such turns (0.50 / 0.00615 is just over 81). Top-ups start at $20; see the pricing page for the bonus tiers.
Laying out a long prompt
Where you place things in a long prompt affects the answer. A reliable layout:
- Instruction first. State the task and the output format before the material.
- Mark every document. Put a plain line such as
=== CHAPTER 3 ===before each part so the model can refer to it. - Ask for evidence. "Quote the sentence and name the chapter" cuts down on invented details and lets you check the answer fast.
- Repeat the question at the end. After 80,000 tokens of material, a one-line reminder helps.
When the material is bigger than the window, split it. Suppose an archive holds 250,000 tokens. Cut it into four parts of about 62,500 tokens and ask for a 2,000-token summary of each. Then send the four summaries, about 8,000 tokens, for a final pass that writes a 2,000-token report.
- Part passes: 250,000 x $0.15 / 1M = $0.0375 input, plus 8,000 x $0.50 / 1M = $0.004 output.
- Final pass: 8,000 x $0.15 / 1M = $0.0012 input, plus 2,000 x $0.50 / 1M = $0.001 output.
- Total: $0.0437.
Four cents for a quarter of a million tokens of reading is cheap, but the summaries lose detail, so keep the original parts available for follow-up questions.
Limits worth planning around
- Recall is not perfect. Facts buried in the middle of a very long prompt can be missed. Put the instruction at the start, repeat the key question at the end, and test with a fact you planted yourself.
- Costs add up in loops. An agent that resends 80,000 tokens on every step spends fast. Cache results on your side and send only what the next step needs.
- Old turns can be summarised. Keep character sheets and story rules verbatim, compress the middle into a running summary, and keep the last 20 or 30 turns intact.
- Leave headroom. Reserve at least a few thousand tokens for the completion, or the reply gets cut short.
The model is one open-weight model run by an independent provider, text only, with no embeddings, so retrieval across a huge archive still needs your own search layer. The 100k window reduces how often you need one.
Getting started
Create an account on the API key page (Google or email and password), claim the $0.50 trial credit and point any OpenAI SDK at the base URL above. The API docs list every supported parameter. To understand what the model will and will not do before you build, read No Filter: Uncensored LLM Myths vs Facts.
More guides
Common questions
How many words fit in 100k tokens?
Roughly 75,000 English words, though code and non-English text use more tokens per word. The prompt and the reply share the same window.
Do I have to set max_tokens?
No. It is optional, and the completion can use the rest of the window. Set it anyway if you want to cap cost or length.
Does a long prompt cost more?
Yes, in proportion to the tokens. At $0.15 per 1M input tokens, a 90,000-token prompt costs $0.0135.
Can the model remember an entire long roleplay?
It can see everything you resend, up to the window. For very long sessions, keep key facts verbatim and summarise the older turns.
Secure your endpoint key
Register, copy the token, update the base URL. That is the entire configuration.