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:
42 files changed
+1388
-64
No files matched your search
@@ -0,0 +1,58 @@
|
||||
# amazon — auto-generated from OpenRouter API
|
||||
|
||||
[provider]
|
||||
id = "amazon"
|
||||
display_name = "Amazon"
|
||||
api_key_env = "AMAZON_API_KEY"
|
||||
base_url = ""
|
||||
key_required = true
|
||||
|
||||
[[models]]
|
||||
id = "nova-2-lite-v1"
|
||||
display_name = "Amazon: Nova 2 Lite"
|
||||
tier = "fast"
|
||||
context_window = 1000000
|
||||
max_output_tokens = 65535
|
||||
input_cost_per_m = 0.3
|
||||
output_cost_per_m = 2.5
|
||||
supports_streaming = true
|
||||
|
||||
[[models]]
|
||||
id = "nova-lite-v1"
|
||||
display_name = "Amazon: Nova Lite 1.0"
|
||||
tier = "fast"
|
||||
context_window = 300000
|
||||
max_output_tokens = 5120
|
||||
input_cost_per_m = 0.06
|
||||
output_cost_per_m = 0.24
|
||||
supports_streaming = true
|
||||
|
||||
[[models]]
|
||||
id = "nova-micro-v1"
|
||||
display_name = "Amazon: Nova Micro 1.0"
|
||||
tier = "fast"
|
||||
context_window = 128000
|
||||
max_output_tokens = 5120
|
||||
input_cost_per_m = 0.035
|
||||
output_cost_per_m = 0.14
|
||||
supports_streaming = true
|
||||
|
||||
[[models]]
|
||||
id = "nova-premier-v1"
|
||||
display_name = "Amazon: Nova Premier 1.0"
|
||||
tier = "smart"
|
||||
context_window = 1000000
|
||||
max_output_tokens = 32000
|
||||
input_cost_per_m = 2.5
|
||||
output_cost_per_m = 12.5
|
||||
supports_streaming = true
|
||||
|
||||
[[models]]
|
||||
id = "nova-pro-v1"
|
||||
display_name = "Amazon: Nova Pro 1.0"
|
||||
tier = "smart"
|
||||
context_window = 300000
|
||||
max_output_tokens = 5120
|
||||
input_cost_per_m = 0.8
|
||||
output_cost_per_m = 3.2
|
||||
supports_streaming = true
|
||||
Reference in new issue
Block a user