DeepSeek V3.2 Context Window vs a 100k Window Here
This endpoint gives you a 100,000-token window shared by prompt and reply. Below: what that holds, what filling it costs, and how to keep long sessions inside it.
Key points
- The window here is 100,000 tokens, counted as prompt plus completion together.
- Filling the whole window with input costs $0.015 at $0.15 per 1M input tokens.
- Chat history is resent every turn, so a long roleplay session costs more than its final length suggests.
- This service is not the official DeepSeek API; check DeepSeek's docs for their own limits.

What this endpoint gives you
If you searched for the deepseek v3.2 context window, you probably want a number to plan around. I can only give you the number for this service, and I want to be clear about that. This site is not the official DeepSeek API, it does not resell DeepSeek's hosted service, and I will not quote a figure for a specific DeepSeek release from memory. For the official window of any DeepSeek version, read DeepSeek's current model documentation.
For the endpoint on this site the number is 100,000 tokens. The model ID is uncensored, a single open-weight model run by an independent provider. The window covers everything in one request: the system prompt, the full message history, any tool definitions, and the completion the model writes back. You do not have a separate "output cap" to remember. Completion can use whatever part of the window your prompt left free, and max_tokens is optional.
The request body limit is 8 MB, but that never decides anything in practice. 100,000 tokens of English text is a few hundred kilobytes, so the window runs out long before the body limit does.
How the window is counted
A token is a chunk of text, often a short word or part of a longer one. A common rule of thumb for English prose is that one token is about three quarters of a word, so 100,000 tokens is roughly 75,000 words. Treat that as an estimate. Code, tables, non-English text and unusual names split into more tokens per word, and a 100,000-token window holds fewer words of them.
The budget is a simple sum:
prompt tokens + completion tokens must stay at or under 100,000
If your prompt is 92,000 tokens, the reply has at most 8,000 tokens of room. If you also set max_tokens to 20,000 on top of that prompt, you are asking for more than the window allows. Keep headroom: size the prompt so that it leaves the room you expect the answer to need. I do not document the exact error text for an oversized request here, so test it once with your own client and make sure your code handles the failure instead of retrying it forever.
The reliable way to see real counts is the usage block the API returns. Estimate with a tokenizer if you like, but trust the usage numbers, because tokenizers differ between models.
from openai import OpenAI
client = OpenAI(base_url="https://api.uncensoreddeepseek.cc/v1", api_key="YOUR_KEY")
with open("contract.txt", encoding="utf-8") as f:
document = f.read()
resp = client.chat.completions.create(
model="uncensored",
messages=[
{"role": "system", "content": "You are a careful analyst. Answer only from the document."},
{"role": "user", "content": document + "\n\nList every deadline mentioned, with the clause it appears in."},
],
)
u = resp.usage
print("prompt:", u.prompt_tokens, "completion:", u.completion_tokens)
print("room left:", 100000 - u.prompt_tokens - u.completion_tokens)
print(resp.choices[0].message.content)
What fits in 100,000 tokens
Here is what the window holds, using the three-quarters-of-a-word estimate for prose. These are planning numbers, not guarantees.
- A 40-page report of about 20,000 words is roughly 27,000 tokens. You can fit three of them and still have room for questions.
- A 300-page novel is often 90,000 words or more, which is about 120,000 tokens. It does not fit whole; split it by part or chapter.
- A mid-sized code module of 2,000 lines is commonly 20,000 to 30,000 tokens, depending on style. Several related files fit in one request.
- A roleplay character card of 1,500 tokens plus 150 exchanges of 400 tokens each is about 61,500 tokens, so it fits.
Having room is not the same as the model using that room well. Large models tend to follow instructions and details near the start and end of a long prompt more reliably than details buried in the middle. This is a general behavior of long-context models, not a measured property of this one. Test with your own documents: plant a known fact in the middle of a long input and see whether the answer finds it.
What filling the window costs
Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. A full 100,000-token prompt is a tenth of a million tokens:
- 100,000 / 1,000,000 x $0.15 = $0.015 for the input
- A 2,000-token answer: 2,000 / 1,000,000 x $0.50 = $0.001
- Total: $0.016 for one request that uses the window to the brim
So you could run a hundred completely full requests for $1.60. Failed or refused requests are not charged, and credit never expires, so there is no monthly allowance to burn through. The pricing page has the top-up amounts and bonuses.
Repetition surprises people more than any single big request. Asking ten questions about the same 60,000-token document means sending those 60,000 tokens ten times: 600,000 input tokens, or $0.09. Still cheap, but it scales with every question. If you ask many questions about one document, batch related questions into a single request when they do not depend on each other.
Long roleplay sessions
Chat APIs are stateless. The server does not remember the earlier turns; your client resends them each time. That makes a long roleplay or companion session grow in cost faster than its length suggests. Here is a worked example. The system prompt and character card take 1,500 tokens. Each turn adds a 100-token user message and a 300-token reply, so the history grows by 400 tokens per turn.
On turn k, the input is 1,500 + 400 x (k - 1) + 100 tokens. Summed over 50 turns:
- Fixed part: 50 x 1,600 = 80,000 tokens
- History part: 400 x (0 + 1 + ... + 49) = 400 x 1,225 = 490,000 tokens
- Total input: 570,000 tokens, which is 0.57 x $0.15 = $0.0855
- Output: 50 x 300 = 15,000 tokens, which is 0.015 x $0.50 = $0.0075
- Total for the whole 50-turn session: $0.093
Nine cents for a long session is fine. The point is the shape: the cost of turn 50 is about 13 times the cost of turn 1 in input tokens, and the session will eventually hit the window. After roughly 200 turns of this size, the history alone would pass 80,000 tokens.
When a session nears the limit, cutting the oldest messages loses the plot. Keep the system prompt and character card, keep the last 20 or 30 turns verbatim, and replace everything in between with a short summary that the model itself writes. Store that summary and reuse it. Stories for adults, fiction and companion apps are the typical use here, and the rule on minors applies without exception: no sexual content involving minors, on any site or key.
Working with long documents
A few habits make long inputs work better.
Put the question after the document
Place the task at the end of the prompt, after the material, and repeat the key constraint there. The instruction closest to where the model starts writing tends to carry the most weight.
Mark the boundaries
When you send several documents, label each one clearly, for example with a title line and a separator. Ask the model to cite which document each claim comes from. That makes errors visible.
Chunk when the source is bigger than the window
For a 400,000-token archive, split it into pieces of 60,000 tokens or fewer, ask the same question of each piece, then send the partial answers into one final request that merges them. Leave a little overlap between chunks so a fact on a boundary is not lost.
Keep output room
A summary of a 90,000-token input needs space to be written. Aim to keep prompts under roughly 85,000 tokens when you want a long answer.
The docs show the request format, and streaming with stream: true is worth using for long outputs because you see text as it arrives. A streamed request holds its concurrency slot until it ends: 8 at once on a full key, 2 on a trial key.
Trying it before you pay
The quickest way to check whether 100,000 tokens is enough for your case is to run your real input once. New users can claim $0.50 of trial credit with one click on the API key page after sign-up. It needs no card, lasts 7 days, and is one per person. At $0.016 for a full-window request, that credit covers about 30 of them, which is plenty for a test.
If you compare options by window size alone, you are comparing the wrong thing. Compare the window together with price per token, the output you actually need and how often your workload sends history. The DeepSeek API pricing article on this site covers the cost side.
More guides
- Does DeepSeek Support Tool Calling? What Works Here
- DeepSeek in Visual Studio Code via an OpenAI Endpoint
- DeepSeek API Pricing: Compare Uncensored vs Standard Options
FAQ: Pricing and Billing
How is token usage calculated?
Tokens are counted based on the input prompt and the generated output. The API uses a tokenizer to split text into tokens. You can estimate token counts using standard tokenizers or by checking the response headers. Input tokens are charged at $0.15 per million, and output tokens at $0.50 per million.
Do I get charged for errors?
No. If a request fails due to a server error or a timeout, you are not charged for those tokens. You only pay for successful completions or partial completions that were generated.
Can I use a credit card?
We accept crypto (USDT on TRC20, USDC on Base) payments for top-ups. You can also start with a free trial credit without a card. Once you need more credit, you can top up via crypto.
What happens to my unused credit?
Your prepaid credit never expires. You can top up at any time, and the bonus credits are applied instantly. There are no monthly fees or subscription renewals, so your balance remains available until you use it.
Optimizing Your API Usage
To minimize costs, optimize your prompts. Use concise instructions and avoid redundant information. Since input tokens are cheaper, you can afford longer prompts, but be mindful of the context window. Our API supports 100,000 tokens, which is ample for most use cases.
Use streaming to reduce latency. Streaming allows you to receive tokens as they are generated, improving the user experience. Our API supports Server-Sent Events (SSE) for streaming. You can also use JSON mode to get structured output, which reduces the need for post-processing.
Monitor your usage regularly. The API provides token counts in the response headers. Use these metrics to track your spending and adjust your prompts accordingly. By combining optimization with our crypto bonuses, you can achieve significant savings.
Getting Started with the API
Getting started is simple. Sign up for an account using Google or email. You will receive a $0.50 trial credit valid for 7 days. This allows you to test the API without any financial commitment. Claim this credit with one click on your API key page.
To use the API, install the OpenAI SDK or any compatible client. Set the base URL to https://api.uncensoreddeepseek.cc/v1 and provide your API key. You can then make requests just like you would with OpenAI.
For example, you can send a chat completion request with a simple prompt. The API will return the generated text, along with token usage statistics. You can then integrate this into your application. If you need more credit, top up via crypto to receive bonus credits.
Questions and answers
Is the window here the same as the official DeepSeek one?
Do not assume so. This is an independent service with its own limit of 100,000 tokens, prompt plus completion. Check DeepSeek's documentation for their figure.
Does the completion count against the 100,000 tokens?
Yes. Prompt and completion share the window, so a 90,000-token prompt leaves at most 10,000 tokens for the reply.
Do I have to set max_tokens?
No, it is optional. Set it when you want to cap reply length or cost; otherwise the completion can use the rest of the window.
How do I see how many tokens a request used?
Read the usage field in the response, or in the final chunk of a streamed response. It reports prompt and completion tokens.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
On this page
- What this endpoint gives you
- How the window is counted
- What fits in 100,000 tokens
- What filling the window costs
- Long roleplay sessions
- Working with long documents
- Trying it before you pay
- More guides
Email and password, key on screen right away.