Fast replies or visible thinking: choosing per feature

APIDeepSeekFreeKey · Updated 2026-11-22 · 9 min read

Two paper airplanes taking a direct and a looping route
A chat mode answers on a straight line; a reasoner takes the long way round first.

Anyone who tops up a DeepSeek balance for the first time runs into the same small puzzle: there are two model names, one for ordinary chat and one for reasoning, and the documentation does not tell you which one your product actually needs. The question is even more pressing when the caller is a web page, because a slow, wordy answer feels much worse in a browser tab than in a terminal.

This article is for front-end and full-stack developers deciding between a quick conversational mode and a slower thinking mode. You will get a plain explanation of what changes under the hood, how each mode affects latency, token budgets and interface design, and a simple way to choose per feature instead of per app. Examples use the keyless free-ai endpoint on this site, which has an optional reasoning switch, so you can feel the difference without paying for anything.

One note up front: this site is independent and not affiliated with DeepSeek. The free-ai model here is a separate open-weight model of about 35B parameters, not a DeepSeek model, and DeepSeek's own model names and pricing are theirs to change, so treat anything about their lineup as a pattern to verify in their current docs.

Frequently asked questions

What is the difference between a chat model and a reasoner model?

A chat model answers directly, writing the reply token by token as soon as the request arrives. A reasoner first produces a chain of intermediate thinking, then writes the final answer. The thinking costs time and tokens but tends to help on multi-step logic, maths and tricky code.

Is the reasoner always more accurate?

No. For short factual replies, rewriting, translation, summaries and casual chat, extra thinking rarely improves the result and can make it wordier. Reasoning pays off when the task has several dependent steps where an early mistake would spoil the rest.

How does reasoning change token usage?

The hidden or visible thinking is generated text, so it counts toward output tokens and usually toward your bill or daily quota. A reply that is 200 tokens long may be preceded by a thousand or more tokens of thinking, so budgets need to be several times larger.

How does reasoning work on the free-ai endpoint?

You add "reasoning": true to the request body and raise max_tokens to 2000 or more so the model has room to think and still answer. Without the flag the model replies directly, like a regular chat model.

Which mode is better for a customer-facing chat widget?

Usually the fast chat mode. Visitors judge a widget by how quickly the first words appear, and most widget questions are simple. You can still route a small share of hard questions to a reasoning call in the background.

Do DeepSeek's model names always point to the same model?

Not necessarily. Providers sometimes move an alias to a newer model, so the behaviour behind a name can shift after a release. Check DeepSeek's documentation and changelog rather than assuming, and log which model the response reports.

Can I show the model's thinking to users?

You can, but think about it first. Raw reasoning is long, sometimes repetitive, and occasionally contradicts the final answer. Many products show a collapsed 'thinking' panel or a short progress label and display only the final answer by default.

What actually changes between the two modes

Both modes use the same request format: a messages array, a model name and optional parameters. The difference is in what the model does before it writes the answer. A chat mode treats your prompt as something to respond to immediately. A reasoning mode is trained to work through the problem first, writing out intermediate steps, checking them, and only then producing the reply you display.

That extra phase is where most practical differences come from. It adds seconds before the first useful word, it multiplies output tokens, and it changes the shape of the streamed response, because the thinking may arrive in a separate field or as a block of text before the answer. None of this is a flaw. It is a trade: you spend time and tokens to buy more careful work on problems that need it.

Direct generation

The model reads the conversation and starts producing the answer at once. First-token latency is low, total length tracks the length of the answer, and the stream contains only content you would show the user.

Think first, then answer

The model generates a working-out phase before the answer. On a logic puzzle or a bug hunt this often catches mistakes a direct reply would make, but on a greeting or a one-line rewrite it simply burns tokens.

Latency is the cost users feel first

In a browser, perceived speed is dominated by time to first visible token. A chat call usually starts streaming within a second or two. A reasoning call may stay silent, or stream thinking you choose not to display, for much longer before the final answer begins. If the interface shows nothing during that gap, people assume it is broken and click again, which on a rate-limited API makes things worse.

So the choice of mode is also an interface decision. A reasoning feature needs a visible state that says work is happening: a spinner with a label, a collapsible panel that fills with thinking, or a progress line. A chat feature can get away with simply printing words as they arrive.

Design a waiting state

For slow modes, disable the send button, show a short message such as 'working through it', and offer a cancel button wired to an AbortController so the user is never stuck.

Avoid double submits

A visitor who clicks twice on a slow call sends two expensive requests. On this site each IP may have two requests in flight, so a duplicate can block the next real question until one finishes.

Stopwatch next to a laptop measuring response time
Time to the first visible word decides how fast an interface feels.

Token budgets and quotas

Thinking is generated text, so it counts. On a paid API that means money; on the free endpoint here it means part of the daily allowance of 10,000 requests or 10 million tokens per IP, and part of the 16,000-token cap on a single answer. If you set max_tokens too low, a reasoning call can spend its whole budget thinking and stop before it writes a usable answer.

A practical rule is to budget reasoning calls at several times the expected answer length. For the free-ai reasoning flag the minimum that works reliably is about 2000 tokens; for long code or proofs, go higher. Keep chat calls lean instead, with a modest cap that prevents runaway replies.

Detect a truncated answer

When finish_reason is length, the model ran out of room. For a reasoning call, the fix is almost always a larger max_tokens, not a shorter prompt.

  • Chat mode: cap at roughly two to three times the answer you expect
  • Reasoning mode: start at 2000 tokens and raise it for long tasks
  • Log usage from every response to see the real ratio
  • Watch for replies that end with finish_reason set to length

Trying both modes on the free endpoint

The quickest way to build intuition is to send the same question twice, once with the flag and once without, and compare timing and output. The snippet below does that with the official openai Python package pointed at this site. No key is needed, so the placeholder string is fine to commit.

What to compare

Look at three numbers: seconds until the reply, completion tokens in usage, and whether the final answer is correct. On simple arithmetic both usually agree; the gap appears on multi-step problems.

Mind the rate limit

Run the two calls one after another, not in parallel loops. The endpoint allows one request per second with short bursts, and a 429 response carries a Retry-After header telling you how long to wait.

import time
from openai import OpenAI

client = OpenAI(base_url="https://api.apideepseekfreekey.com/v1", api_key="free")
question = "A train leaves at 14:10 and arrives at 17:55 with a 25-minute stop. How long is it moving?"

for reasoning in (False, True):
    extra = {"reasoning": True} if reasoning else {}
    start = time.time()
    r = client.chat.completions.create(
        model="free-ai",
        messages=[{"role": "user", "content": question}],
        max_tokens=2500 if reasoning else 400,
        extra_body=extra,
    )
    print("reasoning" if reasoning else "chat", round(time.time() - start, 1), "s")
    print(r.usage)
    print(r.choices[0].message.content, "\n")
Jar of wooden tokens being weighed on a scale
Thinking is generated text, so it fills the token budget too.

Which features deserve a reasoning call

Decide per feature, not per product. Most apps have a handful of distinct jobs for the model, and they rarely all want the same mode. A writing assistant may need fast rewrites and occasional deep critiques; a coding helper may need instant autocomplete and slow debugging.

A useful test is to ask whether a human expert would answer instantly or would need a scratchpad. If they would reach for paper, a reasoning mode probably helps.

Good fits for fast chat

Greetings, FAQ answers, translation, tone changes, summaries, short emails, title suggestions, classification into a few labels and extraction of obvious fields from a paragraph.

Good fits for reasoning

Multi-step maths, scheduling with constraints, debugging a stack trace, reviewing a function for edge cases, comparing options with several criteria and planning a sequence of actions for an agent.

Grey areas

Code generation and long-form writing can go either way. Try both on a dozen realistic inputs from your own users and keep whichever wins, rather than trusting a general rule.

Handling a reasoning stream in the browser

Streaming matters even more for reasoning, because otherwise the user stares at an empty box. With "stream": true the response arrives as server-sent events ending in data: [DONE]. Depending on the provider, thinking may arrive in a dedicated delta field or inline before the answer, so write your parser to tolerate both and route each part to the right place in the interface.

Keep the thinking panel collapsed by default. Most users want the answer; a minority enjoy watching the work. Letting people expand it gives transparency without clutter.

Tolerate unknown fields

The parser above checks for a separate reasoning field and falls back to plain content. If a provider changes the shape, the answer still renders instead of crashing the component.

async function ask(question, reasoning) {
  const res = await fetch("https://api.apideepseekfreekey.com/v1/chat/completions", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      model: "free-ai",
      stream: true,
      reasoning,
      max_tokens: reasoning ? 3000 : 500,
      messages: [{ role: "user", content: question }]
    })
  });
  const reader = res.body.getReader();
  const dec = new TextDecoder();
  let buf = "", thinking = "", answer = "";
  while (true) {
    const { value, done } = await reader.read();
    if (done) break;
    buf += dec.decode(value, { stream: true });
    const lines = buf.split("\n");
    buf = lines.pop();
    for (const line of lines) {
      if (!line.startsWith("data: ")) continue;
      const data = line.slice(6).trim();
      if (data === "[DONE]") return { thinking, answer };
      const delta = JSON.parse(data).choices[0].delta || {};
      if (delta.reasoning_content) thinking += delta.reasoning_content;
      if (delta.content) answer += delta.content;
    }
  }
  return { thinking, answer };
}
Railway tracks splitting into a short and a long route
Route each request to the mode its task actually needs.

Routing between modes automatically

Once you know which features need thinking, you can go one step further and route individual requests. The simplest router is a rule: certain buttons or commands always use reasoning. A slightly smarter one escalates: try the fast mode first, and if the answer fails a cheap check, such as invalid JSON, a failing unit test or the user pressing 'try harder', repeat the request with reasoning on.

Escalation keeps average latency low while still giving hard cases the extra care. It is the same idea teams use when they mix cheap and expensive models, which is covered in more depth in our piece on routing between models.

Let the user escalate

A small 'think harder' button next to an answer is honest and cheap to build. It only spends extra tokens when a person has already decided the first reply was not good enough.

Where a commercial reasoner still wins

A reasoning flag on a 35B open-weight model is useful, but it is not the same as a large frontier reasoner. On hard competition maths, long proofs, subtle concurrency bugs or very long documents, DeepSeek's larger models and other commercial systems will generally do better, and they come with clearer support and capacity. The free endpoint has no SLA and may answer 503 when busy.

That does not make the free option pointless. It is a good place to prototype the interface, test your streaming parser and measure how often your users really need deep thinking. If the answer is 'rarely', you have saved yourself a lot of spend. If it is 'often', you will know exactly which feature to move to a paid reasoner, and the code barely changes because the request format is the same. Watch out for silent changes when you do, as described in why model behaviour shifts overnight.

Keep the switch in configuration

Store the base URL, model name and reasoning flag per feature in configuration rather than code, so moving one feature to another provider is a one-line change behind your proxy.

Notebook with handwritten working out beside a laptop
If a human would need a scratchpad, a reasoning mode probably helps.
Try the free API

Open the home page and send a request to the keyless endpoint straight from your browser, no account or key needed.

Read also