* 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
88 lines
1.7 KiB
TOML
88 lines
1.7 KiB
TOML
# Zhipu AI (GLM) — https://open.bigmodel.cn
|
|
# Models: 6
|
|
|
|
[provider]
|
|
id = "zhipu"
|
|
display_name = "Zhipu AI (GLM)"
|
|
api_key_env = "ZHIPU_API_KEY"
|
|
base_url = "https://open.bigmodel.cn/api/paas/v4"
|
|
key_required = true
|
|
|
|
[[models]]
|
|
id = "glm-4-plus"
|
|
display_name = "GLM-4 Plus"
|
|
tier = "smart"
|
|
context_window = 131072
|
|
max_output_tokens = 8192
|
|
input_cost_per_m = 0.60
|
|
output_cost_per_m = 2.20
|
|
supports_tools = true
|
|
supports_vision = false
|
|
supports_streaming = true
|
|
aliases = ["glm"]
|
|
|
|
[[models]]
|
|
id = "glm-4-flash"
|
|
display_name = "GLM-4 Flash"
|
|
tier = "fast"
|
|
context_window = 131072
|
|
max_output_tokens = 8192
|
|
input_cost_per_m = 0.0
|
|
output_cost_per_m = 0.0
|
|
supports_tools = true
|
|
supports_vision = false
|
|
supports_streaming = true
|
|
aliases = []
|
|
|
|
[[models]]
|
|
id = "glm-4v-plus"
|
|
display_name = "GLM-4V Plus"
|
|
tier = "smart"
|
|
context_window = 8192
|
|
max_output_tokens = 4096
|
|
input_cost_per_m = 0.60
|
|
output_cost_per_m = 2.20
|
|
supports_tools = true
|
|
supports_vision = true
|
|
supports_streaming = true
|
|
aliases = []
|
|
|
|
[[models]]
|
|
id = "glm-4-long"
|
|
display_name = "GLM-4 Long"
|
|
tier = "balanced"
|
|
context_window = 1000000
|
|
max_output_tokens = 8192
|
|
input_cost_per_m = 0.10
|
|
output_cost_per_m = 0.10
|
|
supports_tools = true
|
|
supports_vision = false
|
|
supports_streaming = true
|
|
aliases = []
|
|
|
|
[[models]]
|
|
id = "glm-5-20250605"
|
|
display_name = "GLM-5"
|
|
tier = "frontier"
|
|
context_window = 131072
|
|
max_output_tokens = 16384
|
|
input_cost_per_m = 1.00
|
|
output_cost_per_m = 3.20
|
|
supports_tools = true
|
|
supports_vision = true
|
|
supports_streaming = true
|
|
aliases = ["glm-5"]
|
|
|
|
[[models]]
|
|
id = "glm-4.7"
|
|
display_name = "GLM-4.7"
|
|
tier = "smart"
|
|
context_window = 131072
|
|
max_output_tokens = 16384
|
|
input_cost_per_m = 0.06
|
|
output_cost_per_m = 0.39999999999999997
|
|
supports_tools = true
|
|
supports_vision = true
|
|
supports_streaming = true
|
|
aliases = []
|