Perplexity Deep Research API

多步骤检索,综合,推理的研究模式,自主搜索,阅读,并跨复杂话题评价来源.

Perplexity研究和搜索128K 上下文专有端点

关于 Perplexity Deep Research

多步骤检索,综合,推理的研究模式,自主搜索,阅读,并跨复杂话题评价来源.

也称为 Perplexity-Deep-Research

web searchreasoningdeep research

Perplexity Deep Research 规格

模型 ID
perplexity-deep-research
提供方
Perplexity
类别
研究和搜索
发布日期
-
上下文窗口
128K 个 token
输入
文本图像文档
输出
文本
端点
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1/searchPOST/v1beta/models/perplexity-deep-research:generateContent

Perplexity Deep Research API 价格

来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。

类型
规格
价格
投入
每1M 提示符
$4.80
产出
每1M个生成的令牌
$19.00
引用语录
每1M个令牌
$4.80
说明理由
每1M个令牌
$7.20
搜索查询
每个查询
$0.012
在完整价格页比较

如何调用 Perplexity Deep Research API

Perplexity Deep Research 提供 OpenAI 兼容的 Chat Completions API。用你的 EmpirioLabs API 密钥把任意 OpenAI SDK 指向 https://api.empiriolabs.ai/v1,并使用模型 ID perplexity-deep-research。 在EmpirioLabs 控制台获取 API 密钥。

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "perplexity-deep-research",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.empiriolabs.ai/v1",
    api_key="YOUR_EMPIRIOLABS_API_KEY",
)

response = client.chat.completions.create(
    model="perplexity-deep-research",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Perplexity Deep Research API 完整参考

Perplexity Deep Research API 参数

EmpirioLabs 上 Perplexity Deep Research API 支持的请求参数。省略字段时使用默认值。

参数类型默认值范围 / 值描述
temperaturenumber0.20 到 2采样温度。0 = 确定性,2 = 最大随机性。
max_tokensnumber163841 到 65536回复中最多的代币。
reasoning_effortenumhighlow, medium, high推理深度。努力越多=分析更深入但速度越慢。
search_modeenumdefaultdefault按来源类型筛选搜索结果。学术 = 学术论文,SEC = 财务申报。
search_domain_filterstring--逗号分隔域。前缀为“-”以排除。最多20。
search_language_filterstring--逗号分隔的ISO 639-1代码(2个字母)。最多10。
search_after_date_filterstring--仅包含此日期之后发布的资料。用 YYYY-MM-DD 或自然语言。
search_before_date_filterstring--仅包含此日期之前发布的资料。用 YYYY-MM-DD 或自然语言。
search_recency_filterenumnonenone, hour, day, week, month, year相对时间滤波器。不能与具体日期合并。
last_updated_after_filterstring--仅包含最后更新于此日期之后的资料来源。
last_updated_before_filterstring--仅包含最后更新于此日期之前的来源。
countrystring--ISO 3166-1 双字母代码(例如美国、英国),用于将结果偏向某一国家。
regionstring--州或省名称用于位置偏见。
citystring--城市名称用于位置偏移。
文档中还有 3 个参数

须知

长跑多步检索与推理. 定价分拆 输入 / 输出 / 引用 / 说明原因的符号加每桶搜索费.

Perplexity Deep Research API:常见问题

Perplexity Deep Research API 收费多少?

在 EmpirioLabs,Perplexity Deep Research 按量计费:投入 $4.80 每1M 提示符; 产出 $19.00 每1M个生成的令牌; 引用语录 $4.80 每1M个令牌。本页的实时价格表始终与 API 的实际计费一致。

Perplexity Deep Research 的上下文窗口有多大?

Perplexity Deep Research 支持 128K token 的上下文窗口。

Perplexity Deep Research API 兼容 OpenAI 吗?

兼容。Perplexity Deep Research 提供 OpenAI 兼容的 Chat Completions API,现有 OpenAI SDK 只需把 base_url 指向 https://api.empiriolabs.ai/v1 并把模型 ID 设为 perplexity-deep-research 即可使用。

集成之前可以在浏览器里试用 Perplexity Deep Research 吗?

可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Perplexity Deep Research,你可以在写代码之前先测试提示词。

如何获取 Perplexity Deep Research API 密钥?

创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。

准备好使用更好的终端了吗?

查看我们的定价,或者如果你想将自己的模型部署到我们的堆栈中,请联系我们。