Skip to content

chore(prices): sync OpenRouter prices: 2 models - #42006

Merged
kerry-berri merged 1 commit into
mainfrom
litellm-providers/price-sync-openrouter
Sep 20, 2026
Merged

kerry-berri merged 1 commit into
mainfrom
litellm-providers/price-sync-openrouter

Conversation

@berriai-litellm-provider-info-sync

@berriai-litellm-provider-info-sync berriai-litellm-provider-info-sync Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Updates 2 models, each read from its provider's own published prices.

OpenRouter

Updates 2 models from the provider's pricing page (page 75b398df8b9b).

Changes

  • openrouter/deepseek/deepseek-v4-flash: cache_read_input_token_cost $0.008064/1M → $0.00756/1M, input_cost_per_token $0.04032/1M → $0.0378/1M, output_cost_per_token $0.08064/1M → $0.0756/1M
  • openrouter/z-ai/glm-5.2: cache_read_input_token_cost $0.10296/1M → $0.12064/1M, input_cost_per_token $0.5544/1M → $0.6496/1M, output_cost_per_token $1.7424/1M → $2.0416/1M
No litellm key or field (19)

Rows the page prices that litellm has no key or field for. Nothing to apply; listed so the omission is deliberate, not missed.

  • qwen/qwen3.7-flash: override tier at 32000 prompt tokens has no litellm field
  • qwen/qwen3.7-flash: override tier at 256000 prompt tokens has no litellm field
  • openrouter/auto-beta: OpenRouter router, not a model
  • openrouter/fusion: OpenRouter router, not a model
  • qwen/qwen3.7-plus: override tier at 256000 prompt tokens has no litellm field
  • qwen/qwen3.5-plus-20260420: override tier at 256000 prompt tokens has no litellm field
  • qwen/qwen3.6-flash: override tier at 256000 prompt tokens has no litellm field
  • openrouter/pareto-code: OpenRouter router, not a model
  • qwen/qwen3.6-plus: override tier at 256000 prompt tokens has no litellm field
  • qwen/qwen3.5-plus-02-15: override tier at 256000 prompt tokens has no litellm field
  • qwen/qwen3-max-thinking: override tier at 32000 prompt tokens has no litellm field
  • openrouter/free: OpenRouter router, not a model
  • openrouter/bodybuilder: OpenRouter router, not a model
  • qwen/qwen3-max: override tier at 32000 prompt tokens has no litellm field
  • qwen/qwen3-coder-plus: override tier at 32000 prompt tokens has no litellm field
  • qwen/qwen3-coder-flash: override tier at 32000 prompt tokens has no litellm field
  • qwen/qwen-plus-2025-07-28: override tier at 256000 prompt tokens has no litellm field
  • qwen/qwen-plus: override tier at 256000 prompt tokens has no litellm field
  • openrouter/auto: OpenRouter router, not a model

2 rows the source lists without a serverless token price (dedicated or unpriced models) were not read.

Opened by the litellm-providers price sync. Every price is read from the provider's own published source and gated before it is applied; the audit trail for each value is in the portal's sync history.


Note

Low Risk
Data-only updates to published per-token prices in the cost map; billing estimates change for those two models but no runtime logic is modified.

Overview
Syncs OpenRouter token pricing in model_prices_and_context_window.json and its backup for two models, with no capability or limit changes.

openrouter/z-ai/glm-5.2 input, output, and cache-read costs are increased to match the provider’s current published rates. openrouter/deepseek/deepseek-v4-flash input, output, and cache-read costs are lowered by the same kind of sync.

Only per-token cost fields change; everything else on those entries is unchanged.

Reviewed by Cursor Bugbot for commit aa8bbdb. Bugbot is set up for automated code reviews on this repo. Configure here.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@greptile-apps

greptile-apps Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge because both catalogs remain synchronized and no concrete pricing, capability, or structural regression was established

Summary

This PR synchronizes two OpenRouter catalog entries by updating DeepSeek V4 Flash token rates and marking the dated Qwen Plus model as supporting prompt caching. The primary and backup price catalogs contain identical, structurally valid edits

Reviews (1) · Last reviewed commit: "chore(prices): sync OpenRouter prices: 2..."

@codspeed

codspeed Bot commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing litellm-providers/price-sync-openrouter (aa8bbdb) with main (3df1593)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (1fcef68) during the generation of this report, so 3df1593 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@devin-ai-integration

Copy link
Copy Markdown
Contributor

openrouter/qwen/qwen-plus-2025-07-28 supports_prompt_caching should stay false, not true: https://openrouter.ai/api/v1/models lists no input_cache_read for that exact id

@codecov

codecov Bot commented Sep 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@berriai-litellm-provider-info-sync
berriai-litellm-provider-info-sync Bot force-pushed the litellm-providers/price-sync-openrouter branch 7 times, most recently from 42819cc to 4cd9ff6 Compare September 19, 2026 23:00
@berriai-litellm-provider-info-sync berriai-litellm-provider-info-sync Bot changed the title chore(prices): sync OpenRouter prices: 2 models chore(prices): sync OpenRouter prices: 3 models Sep 19, 2026
@berriai-litellm-provider-info-sync
berriai-litellm-provider-info-sync Bot force-pushed the litellm-providers/price-sync-openrouter branch from 4cd9ff6 to b12327b Compare September 19, 2026 23:30
openrouter/deepseek/deepseek-v4-flash: input_cost_per_token, output_cost_per_token, cache_read_input_token_cost
openrouter/z-ai/glm-5.2: input_cost_per_token, output_cost_per_token, cache_read_input_token_cost
@berriai-litellm-provider-info-sync berriai-litellm-provider-info-sync Bot changed the title chore(prices): sync OpenRouter prices: 3 models chore(prices): sync OpenRouter prices: 2 models Sep 20, 2026
@berriai-litellm-provider-info-sync
berriai-litellm-provider-info-sync Bot force-pushed the litellm-providers/price-sync-openrouter branch from b12327b to aa8bbdb Compare September 20, 2026 00:00

@kerry-berri kerry-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kerry-berri
kerry-berri merged commit 75f4c11 into main Sep 20, 2026
94 checks passed
@kerry-berri
kerry-berri deleted the litellm-providers/price-sync-openrouter branch September 20, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants