fix: add Perplexity models sonar-deep-research#678
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix: add Perplexity models sonar-deep-research
Closes #673
Source issue: #673
Summary
sonar-deep-researchsonar-deep-research2
3
4
Verified metadata
Verification notes
Verification
Official source verification
sonar-deep-researchis listed as a supported model enum value alongsidesonar,sonar-pro, andsonar-reasoning-pro. Themax_tokensparameter supports up to 128,000.Fields verified
format:"openai"— consistent with all existing Perplexity sonar models in the catalogflavor:"chat"— consistent with all existing Perplexity sonar modelsdisplayName:"Sonar Deep Research"— follows the pattern of "Sonar Pro", "Sonar Reasoning Pro"input_cost_per_mil_tokens: 2 — confirmed by pricing page and model docs pageoutput_cost_per_mil_tokens: 8 — confirmed by pricing page and model docs pagemax_input_tokens: 128000 — confirmed by model docs page ("128K context length"), consistent with sonar, sonar-reasoning, sonar-reasoning-proavailable_providers:["perplexity"]— confirmed by API reference listing the model on the sonar endpointFields omitted (not published or not applicable)
max_output_tokens: Not documented as a separate limit by Perplexity. Omitted, consistent with sonar, sonar-reasoning, and sonar-reasoning-pro entries.parent: Not applicable — this is a standalone model, not a snapshot or variant of another model.reasoning: Not set. While the model uses reasoning tokens internally, existing sonar-reasoning and sonar-reasoning-pro entries also do not set this flag.multimodal: Not documented by Perplexity for this model.deprecated/deprecation_date: Not applicable — model is active.supported_regions: Not applicable — Perplexity is not a Vertex provider.sync_models (LiteLLM) cross-check
The model
sonar-deep-researchdoes not exist in sync_models (model_prices_and_context_window_backup.json). No cross-check is possible. All proposed values are sourced directly from official Perplexity documentation.sync_models vs proposed update
sync_models cross-check found no pricing/token discrepancies for the changed models.
No sync_models discrepancies were noted.