# Pereplexity Deep Research Report Cut-Off Midway

**URL:** <https://community.perplexity.ai/t/pereplexity-deep-research-report-cut-off-midway/2059>\
**Category:** Bug Reports\
**Created:** [October 14, 2025, 6:25am UTC](https://community.perplexity.ai/t/pereplexity-deep-research-report-cut-off-midway/2059 "2025-10-14T06:25:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuitToSweats](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@SuitToSweats](https://community.perplexity.ai/u/SuitToSweats)\
**Post date:** [October 14, 2025, 6:25am UTC](https://community.perplexity.ai/t/pereplexity-deep-research-report-cut-off-midway/2059/1 "2025-10-14T06:25:32Z")

</div>

## 🐛 Describe the Bug

Setting max\_tokens to 125,000 results in the response being cut off at ~11.7k tokens mid way through the report with the following final response from the API. The report is cut-off mid sentence (full output not included below):

```auto
{"finalResult": {"id": "chatcmpl_1760422639028","model": "sonar-deep-research",
"usage": {"prompt_tokens": 2370,"completion_tokens": 11669, "total_tokens": 14039,"citation_tokens": 50188,"num_search_queries": 30,"reasoning_tokens": 284307,"cost": {"input_tokens_cost": 0.005,"output_tokens_cost": 0.093,"citation_tokens_cost": 0.1,"reasoning_tokens_cost": 0.853,"search_queries_cost": 0.15,"total_cost": 1.201}}},"responseText": {"length": 53460,"preview": "\n\n# Taiwan's Semiconductor Industry: A Comprehensive Analysis of Political History, Economic Dominance, and Geopolitical Risk\n\nTaiwan stands at the intersection of global technology and great power po...","fullText": "\n\n# Taiwan's Semiconductor Industry: A Comprehensive Analysis of Political History, Economic Dominance, and Geopolitical Risk\n\nTaiwan stands at the intersection of global technology and great power politics, embodying one of the most complex and consequential situations in contemporary international relations. The island democracy...

```

## ✅ Expected Behavior

Final answer to be completed and not cut off mid-way at significantly below the max\_tokens set.

## ❌ Actual Behavior

Final text cut off at 11.7k tokens despite max\_tokens being at 125k tokens.

## 🔄 Steps to Reproduce

1. Call the API with the following request: 125,000 max\_tokens, sonar-deep-research model asking for a report about any detailed topic.
2. Observe the unexpected behavior.

## 📌 API Request & Response (if applicable)

## 🌍 Environment

- **API Version:** sonar-deep-research
- **SDK (if applicable):** Node.JS
- **Operating System:** N/A

##

---

<div class="post-metadata">

**Author:** ![Kesku](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/kesku/32/898_2.png) [@Kesku](https://community.perplexity.ai/u/Kesku)\
**Post date:** [October 22, 2025, 2:21am UTC](https://community.perplexity.ai/t/pereplexity-deep-research-report-cut-off-midway/2059/2 "2025-10-22T02:21:29Z")

</div>

Setting a very high `max_tokens` value doesn’t guarantee the model will actually generate that many tokens — it just defines the _upper limit_. The model decides when to stop based on internal factors like completion quality, confidence, and context length.

In other words, even if you set `max_tokens` to 125,000, the model may stop earlier if it determines the response is complete or has reached its internal generation boundary.

---

<div class="post-metadata">

**Author:** ![SuitToSweats](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@SuitToSweats](https://community.perplexity.ai/u/SuitToSweats)\
**Post date:** [October 22, 2025, 2:59am UTC](https://community.perplexity.ai/t/pereplexity-deep-research-report-cut-off-midway/2059/3 "2025-10-22T02:59:24Z")

</div>

It stops midway with an incomplete answer - so the model should have continued

---

<div class="post-metadata">

**Author:** ![Kesku](https://sea1.discourse-cdn.com/flex001/user_avatar/community.perplexity.ai/kesku/32/898_2.png) [@Kesku](https://community.perplexity.ai/u/Kesku)\
**Post date:** [October 22, 2025, 3:10am UTC](https://community.perplexity.ai/t/pereplexity-deep-research-report-cut-off-midway/2059/4 "2025-10-22T03:10:19Z")

</div>

could you share an example request (including model, parameters, and payload) so we can test this on our end?
