feat: add pricing sync script and update model prices from OpenRouter (#27)

* fix: pin npm package versions in MCP integration templates

Prevent supply chain attacks by pinning exact versions instead of
using unpinned `npx -y @package` which pulls latest on every run.

23 of 25 integrations pinned. sqlite-mcp and aws skipped (packages
not found on npm registry).

* fix: use stable azure/mcp version instead of beta

* feat: add pricing sync script and update model prices from OpenRouter API

- scripts/sync-pricing.py fetches real-time pricing from OpenRouter
- Updated 64 price fields across 13 provider files
- Run periodically or in CI to keep prices current
This commit is contained in:
Evan authored and GitHub committed 2026-03-25 23:43:13 +09:00
1 parent a00e813bdf
commit 553ecc6947
42 files changed
+1388 -64

No files matched your search

+2 -2
View File
@@ -53,8 +53,8 @@ display_name = "Qwen 2.5 (Ollama)"
tier = "local"
context_window = 32768
max_output_tokens = 4096
input_cost_per_m = 0.0
output_cost_per_m = 0.0
input_cost_per_m = 0.03
output_cost_per_m = 0.09
supports_tools = true
supports_vision = false
supports_streaming = true