#Two Providers o the same R1 model different price, how to filter?
10 messages · Page 1 of 1 (latest)
Why is it not clear in the OpenRouter description? I think users should be able to easily identify and distinguish slow and fast tiers.
We just don't have that implemented yet, and there's a little bug so their throughput isn't displayed. we wanted to add it faster than we wanted to fix the website display
If you want to filter out the higher costs, you can use our provider sort options to sort by price
or you can also use our in-beta max_price parameter
It would look something like this:
method: "POST",
headers: {
"Authorization": "Bearer <OPENROUTER_API_KEY>",
"HTTP-Referer": "<YOUR_SITE_URL>", // Optional. Site URL for rankings on openrouter.ai.
"X-Title": "<YOUR_SITE_NAME>", // Optional. Site title for rankings on openrouter.ai.
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "deepseek/deepseek-r1",
"messages": [
{"role": "user", "content": "Hello"}
],
"max_price": {"prompt": 0.9, "completion": 2.4}
})
});```