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

+48
View File
@@ -0,0 +1,48 @@
# allenai — auto-generated from OpenRouter API
[provider]
id = "allenai"
display_name = "Allenai"
api_key_env = "ALLENAI_API_KEY"
base_url = ""
key_required = true
[[models]]
id = "olmo-2-0325-32b-instruct"
display_name = "AllenAI: Olmo 2 32B Instruct"
tier = "fast"
context_window = 128000
max_output_tokens = 16384
input_cost_per_m = 0.05
output_cost_per_m = 0.2
supports_streaming = true
[[models]]
id = "olmo-3-32b-think"
display_name = "AllenAI: Olmo 3 32B Think"
tier = "fast"
context_window = 65536
max_output_tokens = 65536
input_cost_per_m = 0.15
output_cost_per_m = 0.5
supports_streaming = true
[[models]]
id = "olmo-3.1-32b-instruct"
display_name = "AllenAI: Olmo 3.1 32B Instruct"
tier = "fast"
context_window = 65536
max_output_tokens = 16384
input_cost_per_m = 0.2
output_cost_per_m = 0.6
supports_streaming = true
[[models]]
id = "olmo-3.1-32b-think"
display_name = "AllenAI: Olmo 3.1 32B Think"
tier = "fast"
context_window = 65536
max_output_tokens = 65536
input_cost_per_m = 0.15
output_cost_per_m = 0.5
supports_streaming = true