EN ▾

Best Model for a Chatbot: How to Choose in 2 Steps

The best model for chatbot work is the one that fits your requirements at a price your traffic can carry. This page gives you a checklist, real cost math and an honest note on when our model is the wrong pick.

Updated

Balance scale weighing a chat bubble against coins, with toggles and a branching diagram behind it

Key points

  • Decide on refusals, context length, tool calling and price per conversation before you compare names.
  • This API serves one open-weight model, uncensored, with a 100,000-token window, tools and JSON mode.
  • A 4,000-token prompt with a 400-token reply costs $0.0008 per request.
  • If you need images, audio or embeddings, you need another service next to this one.

Start with the requirements, not the model name

People searching for the best model for chatbot projects often expect a ranking. A ranking does not help much, because a chatbot for a customer help desk and a chatbot for adult fiction have almost no requirements in common. The model that wins one is a poor fit for the other.

So the useful question is narrower: which model meets your list of must-haves at the lowest cost per conversation? Write the list first. Most chatbot projects reduce to six items: how the model handles sensitive or mature topics, how much history it can read, whether it can call your functions, whether it can return strict JSON, how fast replies start, and what each conversation costs. The sections below take them in order, and say plainly where our API does well and where it does not.

One note on scope. This service offers a single model under the ID uncensored. It is an open-weight model tuned to answer without content refusals for lawful adult use, run by an independent provider. There is no menu of models to choose between, so the decision here is whether this one fits, not which of twenty to pick.

Refusal behaviour decides more than you expect

Many chatbot failures in the real world are not wrong answers. They are refusals: a mature-fiction bot that stops mid-scene, a medical or legal information tool that declines to discuss a lawful topic, a moderation helper that will not read the content it is supposed to classify. Each refusal breaks the experience and generates a support ticket.

If your chatbot serves adults in fiction, roleplay, companion apps or any area where mainstream assistants tend to decline, an uncensored model removes that failure mode. If your chatbot is for a general public audience that includes minors, or for a brand that wants strict guardrails, the opposite is true, and you should pick a model that refuses more, then add your own filters. Either way, the choice should be deliberate.

The hard limit on this service is fixed: no sexual content involving minors. Beyond that, responsibility for what your bot does moves to you. Add your own age gate, your own system prompt rules and your own reporting path. Treat the model as an engine, not as a policy.

Context window and memory

This API offers a 100,000-token context window, counting prompt and completion together. For a chatbot, that is a lot of room. A 50-turn conversation with 150 tokens per message is about 7,500 tokens, so most chats fit in full without any trimming at all.

Fitting does not mean you should always send everything. Input tokens cost money on every request, and long prompts raise the chance that the model loses track of an early detail. A practical approach is a three-part prompt: a fixed system message, a rolling summary of older turns, and the last 10 to 20 messages verbatim. The completion can use whatever remains in the window, and max_tokens is optional, so set it yourself if you want short answers.

The request body can be up to 8 MB, which only matters if you paste documents into the prompt. For a retrieval chatbot, send the three or four best passages, not the whole file.

Tool calling and JSON output

A chatbot that only talks is limited. One that can check an order, look up a record or save a preference needs tool calling. This API supports the standard OpenAI shape: you pass tools and optionally tool_choice, the model returns tool_calls (also when streaming), and you send results back as messages with role: "tool".

from openai import OpenAI
import json

client = OpenAI(base_url="https://api.nsfwchatbot.top/v1", api_key="YOUR_API_KEY")

tools = [{
    "type": "function",
    "function": {
        "name": "get_order_status",
        "description": "Look up the status of an order by its id",
        "parameters": {
            "type": "object",
            "properties": {"order_id": {"type": "string"}},
            "required": ["order_id"],
        },
    },
}]

messages = [{"role": "user", "content": "Where is order A-1042?"}]
first = client.chat.completions.create(model="uncensored", messages=messages, tools=tools)
call = first.choices[0].message.tool_calls[0]

messages.append(first.choices[0].message)
messages.append({
    "role": "tool",
    "tool_call_id": call.id,
    "content": json.dumps({"status": "shipped", "eta": "2 days"}),
})
final = client.chat.completions.create(model="uncensored", messages=messages, tools=tools)
print(final.choices[0].message.content)

If a step in your pipeline needs structured output, such as intent classification before routing, use JSON mode with response_format: {"type": "json_object"} and describe the keys in the prompt. Validate the result in your code anyway. Any language model can return a field you did not expect, and a parse check costs nothing.

Whether tool calling works well enough for your use is something to test on your own cases. Write ten realistic user messages, run them, and count how many times the right function was called with the right arguments. That small test tells you more than any general claim.

What a conversation costs

Price is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Here is a worked request for a chatbot with a 1,200-token system prompt, 2,800 tokens of history and summary, and a 400-token reply.

PartTokensRate per 1MCost
Input (prompt)4,000$0.15$0.0006
Output (reply)400$0.50$0.0002
Total per request4,400$0.0008

At $0.0008 per request, 10,000 requests cost $8. A conversation of 12 requests costs about $0.0096, under one cent. Because you pay from prepaid credit with no subscription, a quiet month costs almost nothing, and the credit never expires. The smallest top-up is $20, which covers 25,000 requests of this size.

The levers are the ones you control: shorten the system prompt, summarise old turns, cap max_tokens. Output tokens cost more than three times as much as input tokens per unit, so replies that are twice as long as they need to be hurt more than a long prompt does. Failed or refused requests are not charged.

Speed, limits and a quick test plan

We do not publish latency figures, so measure them yourself. Streaming with stream: true over SSE shows the first words as soon as they are produced, and usage is reported at the end. For a chat interface, time to first token is the number that users feel.

Plan for the limits early. A full key allows 8 concurrent requests and 300 requests per minute; the trial key allows 2 and 60. A streamed request holds a concurrency slot until the stream ends, so 8 users reading long answers at once will fill a full key. Over a limit you get HTTP 429 with the error code rate_limited or concurrency. A temporary overload also returns 429, with Retry-After: 5. A small queue with a short retry covers both.

A fair test takes an afternoon. Claim the trial from the API key page, run your ten realistic prompts, record refusal rate, tool-call accuracy and cost, and compare against whatever you use today. The docs have the full parameter list, and the pricing page has the top-up tiers.

When this is not the right model

Be honest with yourself about the cases where you should look elsewhere. If you need image, audio or video generation, embeddings or fine-tuning, this API does not offer them: it is text only. If your product must refuse mature topics by policy, a more conservative model is the safer base. If you need a specific named vendor model for compliance or contract reasons, this is not that: it is not the official API of any large vendor and not a router across vendors.

It fits best when you build chat for adults, want an OpenAI-compatible interface you can swap in by changing a base URL, care about cost per conversation, and prefer that prompts are not used for training. For many teams the practical answer is to use this model for the conversations that need it and another service for everything else.

Questions and answers

Which model is best for a chatbot?

It depends on your requirements: refusal behaviour, context length, tool calling, JSON output and cost per conversation. For adult fiction and companion apps that need no content refusals, the uncensored model on this API is built for it.

Does this API let me choose between several models?

No. It serves one open-weight model under the ID uncensored. There is no router and no model menu.

Does the model support function calling?

Yes. It supports tools, tool_choice, streamed tool_calls and results returned as role tool messages, in the OpenAI format.

How much does a typical chatbot request cost?

A request with 4,000 input tokens and 400 output tokens costs $0.0008 at $0.15 and $0.50 per 1M tokens.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.

Get API key