anomalyco / anomalyco/models.dev
OpenRouter proxied Perplexity models missing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.9k
- Forks
- 1.7k
- Avg merge
- 3h 21m
- Merged PRs (30d)
- 873
Description
OpenRouter proxies Perplexity models, e.g. Perplexity Sonar and variants; why aren't they listed in the models.dev list?
Reproduce:
- Visit https://models.dev/?search=perplexity
- Notice that the OpenRouter doesn't appear in the list
Screenshot
- However, OpenRouter serves those models:
Screenshot
I have a question for the maintainers. From a VERY brief look I took at the repo, there aren't any workflows to automatically update model lists for OpenAI compatible providers? Why not just run a workflow every 24 hrs to fetch and parse https://openrouter.ai/api/v1/models, which contains pretty much all the info you need, and update the list based on that?
Sample JSON from OpenRouter
{
"id": "openrouter/pony-alpha",
"canonical_slug": "openrouter/pony-alpha",
"hugging_face_id": "",
"name": "Pony Alpha",
"created": 1770393855,
"description": "Pony is a cutting-edge foundation model with strong performance in coding, agentic workflows, reasoning, and roleplay, making it well suited for hands-on coding and real-world use.\n\n**Note:** All prompts and completions for this model are logged by the provider and may be used to improve the model.",
"context_length": 200000,
"architecture": {
"modality": "text-\u003Etext",
"input_modalities": [
"text"
],
"output_modalities": [
"text"
],
"tokenizer": "Other",
"instruct_type": null
},
"pricing": {
"prompt": "0",
"completion": "0",
"request": "0",
"image": "0",
"web_search": "0",
"internal_reasoning": "0"
},
"top_provider": {
"context_length": 200000,
"max_completion_tokens": 131000,
"is_moderated": false
},
"per_request_limits": null,
"supported_parameters": [
"include_reasoning",
"max_tokens",
"reasoning",
"response_format",
"structured_outputs",
"temperature",
"tools",
"top_p"
],
"default_parameters": {
"temperature": 1,
"top_p": 0.95,
"frequency_penalty": null
},
"expiration_date": null
},
Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the OpenRouter response at https://openrouter.ai/api/v1/models with the provider data shown by https://models.dev/?search=perplexity. Confirm that Perplexity Sonar and its variants are represented under OpenRouter, then verify that the models.dev search results include them. Done means the missing OpenRouter models are listed with the available provider metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100