fix: Perplexity Agent catalog is out of sync with GET /v1/models - #5633
Open
github-actions[bot] wants to merge 1 commit into
Open
fix: Perplexity Agent catalog is out of sync with GET /v1/models#5633github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
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.
Summary
Syncs the Perplexity Agent catalog with the first-party Agent API models page and documented token pricing. Callable IDs now match the
provider/modelvalues Perplexity publishes (includingperplexity/…namespaces for hosted open models). Stale IDs that no longer appear on the docs page are markeddeprecated. Missing frontier models (Claude 5 / Fable, GPT-5.6 Sol/Terra/Luna, Gemini 3.x Flash family, Grok 4.5/4.3/4.20, GLM-5.2, Nemotron Ultra/Lightning) are added as override-onlybase_modelentries with verified USD/MTok costs.Changes
Added (callable IDs + pricing from docs)
anthropic/claude-opus-5anthropic/claude-opus-4-8anthropic/claude-sonnet-5anthropic/claude-fable-5openai/gpt-5.6-solopenai/gpt-5.6-terraopenai/gpt-5.6-lunaopenai/gpt-5.4-miniopenai/gpt-5.4-nanoopenai/gpt-5google/gemini-3.1-flash-litegoogle/gemini-3.5-flashgoogle/gemini-3.5-flash-litegoogle/gemini-3.6-flashgoogle/gemini-3.7-flashxai/grok-4.5xai/grok-4.3xai/grok-4.20-reasoningreasoning_options = []xai/grok-4.20-non-reasoningxai/grok-4.20-multi-agentperplexity/deepseek-v4-flash-0731perplexity/glm-5.2perplexity/kimi-k3perplexity/kimi-k2.7-code[]perplexity/nemotron-3-ultra-550b-a55bperplexity/nemotron-3.5-lightning-30b-a3bLab metadata added for Grok 4.20 aliases
models/xai/grok-4.20-reasoning.tomlmodels/xai/grok-4.20-non-reasoning.tomlmodels/xai/grok-4.20-multi-agent.tomlNamespace / lifecycle
deepseek/deepseek-v4-flash-0731status = "deprecated"→ useperplexity/…moonshot-ai/kimi-k3,moonshot-ai/kimi-k2.7-codeperplexity/…nvidia/nemotron-3-super-120b-a12bgoogle/gemini-2.5-flash,google/gemini-2.5-proxai/grok-4-1-fast-non-reasoningPricing corrections on existing live IDs
openai/gpt-5.4,openai/gpt-5.5: added 272k context tiersgoogle/gemini-3.1-pro-preview,google/gemini-3-flash-preview: aligned to docs rates/cachebase_modelwhere lab metadata already existsEvidence
provider/modelIDs and discovery endpointmodels/<lab>/…entries for Anthropic, OpenAI, Google, xAI, DeepSeek, Moonshot, Zhipu, NVIDIAhigh/maxproviders/zhipuai/models/glm-5.2.tomlValidation
base_modeltarget exists undermodels/.bun validateor liveGET /v1/models(no shell / no API key in this workflow).Review notes
GET /v1/modelslisted a few IDs not on the public docs pricing table (openai/gpt-5-nano,openai/gpt-5.3-codex,perplexity/deepseek-v4-pro-0813,perplexity/glm-5.3). Those were not added—no verified public token prices.service_tier: "priority") for Luna/Sol is documented but not modeled asexperimental.modes(same as prior Perplexity Agent entries).low…max), not NVIDIA first-party toggle-only.Closes #5630
Automated by the issue fixer: https://github.com/anomalyco/models.dev/actions/runs/33050764231