docs(openrouter-models): sync with openrouter-web changes - #185
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
Original prompt from Automation
|
Summary
Source: openrouter-web#42529 (docs: define catalog vs routing model variants and metadata resolution).
The skill resolves model IDs and looks up their catalog metadata, but said nothing about variant suffixes. The new docs page formalizes the contract that the models API already implements, so this adds three tips bullets:
:free,:batch, deprecated:thinking/:extended) are their own entries inGET /api/v1/models; routing variants (:nitro,:floor,:exacto, deprecated:online) never appear in the list and use the base model's metadata.a/b:free:nitro→a/b:free), and pass the resolved catalog ID tocompare-models.tssince the scripts match IDs exactly.GET /api/v1/model/{author}/{slug}and the endpoints route apply the rule server-side. A missing catalog variant does not fall back to the base model:404on the single-model route,200with"endpoints": []on the endpoints route.Verified against production:
GET /api/v1/models/openai/gpt-4o:nitro/endpointsreturnsid: "openai/gpt-4o", andGET /api/v1/model/openai/gpt-4o:freereturns 404.Note: the linked docs page (
/docs/guides/routing/model-variants/overview) returned 404 at the time of writing, pending the docs deploy of the source PR.Searched existing PRs; no open models-skill PR (#174, #179, #181) covers variants.
Link to Devin session: https://openrouter.devinenterprise.com/sessions/216f453c646546ccb45debaebd9db0d6
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/216f453c646546ccb45debaebd9db0d6?variant=devin