DeepSeek V3.1 Terminus (Thinking) vs Sonar
Updated November 27, 2026. Prices as of 2026-12-04 12:06 UTC
DeepSeek V3.1 Terminus (Thinking) vs Sonar on OpenCheap, from the same price book as the model pages. DeepSeek V3.1 Terminus (Thinking) is 3 % cheaper than Sonar on a typical 1 : 3 input-to-output mix: $1.01 against $1.05 per 1M tokens.
DeepSeek V3.1 Terminus (Thinking) is 3 % cheaper than Sonar on a typical 1 : 3 input-to-output mix: $1.01 against $1.05 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.0046 on DeepSeek V3.1 Terminus (Thinking) and $0.012 on Sonar. DeepSeek V3.1 Terminus (Thinking) has the larger context window: 128K tokens, against 127K for Sonar. On OpenCheap, DeepSeek V3.1 Terminus (Thinking) is served by 2 providers and Sonar by 2 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-12-04 12:06 UTC.
Side by side
| 型号 | DeepSeek V3.1 Terminus (Thinking) DeepSeek | Sonar Perplexity |
|---|---|---|
| Input per 1M tokens | $0.34 (best) | $1.05 |
| Output per 1M tokens | $1.24 | $1.05 (best) |
| Cached input per 1M tokens | $0.32 | — |
| On a 1 : 3 mix per 1M tokens, input to output | $1.01 (best) | $1.05 |
| One request 10,000 tokens in, 1,000 out | $0.0046 (best) | $0.012 |
| 1,000 requests of that size | $4.64 (best) | $11.55 |
| List price per 1M tokens, input / output | — | $1.00 / $1.00 |
| Context window tokens in one request | 128K (best) | 127K |
| Providers serving it on OpenCheap | 2 | 2 |
| First token fastest provider, median | — | 1.58 s |
| Output speed fastest provider, median | — | 96 tok/s |
| Uptime best provider, last day | — | 100 % |
| 模型 ID | opencheap/deepseek-v3.1-terminus:thinking Model page → | opencheap/sonar Model page → |
Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.
Switch between them
Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call Sonar instead of DeepSeek V3.1 Terminus (Thinking), change the model to opencheap/sonar; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in 使用成本.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/deepseek-v3.1-terminus:thinking",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)About the two models
DeepSeek V3.1 Terminus is DeepSeek's update to V3.1 that reduces mixed Chinese-English text and improves its Code Agent and Search Agent performance. It shares the architecture of DeepSeek-V3 and is released under the MIT License. All DeepSeek models
Sonar is a language model from Perplexity. It reads and writes text. All Perplexity models
Questions
- Which is cheaper, DeepSeek V3.1 Terminus (Thinking) or Sonar?
- DeepSeek V3.1 Terminus (Thinking) is 3 % cheaper than Sonar on a typical 1 : 3 input-to-output mix: $1.01 against $1.05 per 1M tokens. Per 1M tokens, DeepSeek V3.1 Terminus (Thinking) costs $0.34 input and $1.24 output; Sonar costs $1.05 input and $1.05 output.
- Which has the larger context window, DeepSeek V3.1 Terminus (Thinking) or Sonar?
- DeepSeek V3.1 Terminus (Thinking) has the larger context window: 128K tokens, against 127K for Sonar.
- Can I use DeepSeek V3.1 Terminus (Thinking) and Sonar with the same API key?
- Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/deepseek-v3.1-terminus:thinking or opencheap/sonar, and each request goes to the cheapest healthy provider of that model.