mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-05 23:02:10 +03:00
feat: add GLM-5.1 to GLM Coding provider, update GLM-5 pricing
- Add glm-5.1 model to GLM Coding provider with fitness scores - Update glm-5 pricing to match Z.AI API page ($1/$3.2/$0.2) - Set glm-5.1 pricing to $1.2/$5/$0.3 per Z.AI - Remove glm-4-32b (deprecated, returns empty from upstream) - Rename Z.AI provider display name from "Z.AI (GLM-5)" to "Z.AI" - Update zai pricing section to match glm pricing
This commit is contained in:
@@ -729,40 +729,75 @@ export const DEFAULT_PRICING = {
|
||||
|
||||
// GLM
|
||||
glm: {
|
||||
"glm-5.1": {
|
||||
input: 1.2,
|
||||
output: 5,
|
||||
cached: 0.3,
|
||||
reasoning: 5,
|
||||
cache_creation: 1.2,
|
||||
},
|
||||
"glm-5": {
|
||||
input: 0.38,
|
||||
output: 1.98,
|
||||
cached: 0.19,
|
||||
reasoning: 2.97,
|
||||
cache_creation: 0.38,
|
||||
input: 1.0,
|
||||
output: 3.2,
|
||||
cached: 0.2,
|
||||
reasoning: 4.8,
|
||||
cache_creation: 1.0,
|
||||
},
|
||||
"glm-5-turbo": {
|
||||
input: 1.2,
|
||||
output: 4.0,
|
||||
cached: 0.6,
|
||||
reasoning: 6.0,
|
||||
cached: 0.24,
|
||||
reasoning: 4.0,
|
||||
cache_creation: 1.2,
|
||||
},
|
||||
"glm-4.7-flash": {
|
||||
input: 0,
|
||||
output: 0,
|
||||
cached: 0,
|
||||
reasoning: 0,
|
||||
cache_creation: 0,
|
||||
},
|
||||
"glm-4.7": {
|
||||
input: 0.38,
|
||||
output: 1.98,
|
||||
cached: 0.19,
|
||||
reasoning: 2.97,
|
||||
cache_creation: 0.38,
|
||||
input: 0.6,
|
||||
output: 2.2,
|
||||
cached: 0.11,
|
||||
reasoning: 2.2,
|
||||
cache_creation: 0.6,
|
||||
},
|
||||
"glm-4.6": {
|
||||
input: 0.5,
|
||||
output: 2.0,
|
||||
cached: 0.25,
|
||||
reasoning: 3.0,
|
||||
cache_creation: 0.5,
|
||||
input: 0.6,
|
||||
output: 2.2,
|
||||
cached: 0.11,
|
||||
reasoning: 2.2,
|
||||
cache_creation: 0.6,
|
||||
},
|
||||
"glm-4.6v": {
|
||||
input: 0.75,
|
||||
output: 3.0,
|
||||
cached: 0.375,
|
||||
reasoning: 4.5,
|
||||
cache_creation: 0.75,
|
||||
input: 0.3,
|
||||
output: 0.9,
|
||||
cached: 0.05,
|
||||
reasoning: 0.9,
|
||||
cache_creation: 0.3,
|
||||
},
|
||||
"glm-4.5v": {
|
||||
input: 0.6,
|
||||
output: 1.8,
|
||||
cached: 0.11,
|
||||
reasoning: 1.8,
|
||||
cache_creation: 0.6,
|
||||
},
|
||||
"glm-4.5": {
|
||||
input: 0.6,
|
||||
output: 2.2,
|
||||
cached: 0.11,
|
||||
reasoning: 2.2,
|
||||
cache_creation: 0.6,
|
||||
},
|
||||
"glm-4.5-air": {
|
||||
input: 0.2,
|
||||
output: 1.1,
|
||||
cached: 0.03,
|
||||
reasoning: 1.1,
|
||||
cache_creation: 0.2,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@@ -439,7 +439,7 @@ export const APIKEY_PROVIDERS = {
|
||||
zai: {
|
||||
id: "zai",
|
||||
alias: "zai",
|
||||
name: "Z.AI (GLM-5)",
|
||||
name: "Z.AI",
|
||||
icon: "psychology",
|
||||
color: "#2563EB",
|
||||
textIcon: "ZA",
|
||||
|
||||
Reference in New Issue
Block a user