feat: add support for GLM 5 (if) (#123)
(cherry picked from commit e26d65aa55726e330f6806aa1abfe05ac6801619) Co-authored-by: zx <me@char.moe>
This commit is contained in:
@@ -53,6 +53,7 @@ export const PROVIDER_MODELS = {
|
|||||||
{ id: "minimax-m2.1", name: "MiniMax M2.1" },
|
{ id: "minimax-m2.1", name: "MiniMax M2.1" },
|
||||||
{ id: "glm-4.7", name: "GLM 4.7" },
|
{ id: "glm-4.7", name: "GLM 4.7" },
|
||||||
{ id: "glm-4.6", name: "GLM 4.6" },
|
{ id: "glm-4.6", name: "GLM 4.6" },
|
||||||
|
{ id: "glm-5", name: "GLM 5" },
|
||||||
],
|
],
|
||||||
ag: [ // Antigravity - special case: models call different backends
|
ag: [ // Antigravity - special case: models call different backends
|
||||||
{ id: "claude-opus-4-6-thinking", name: "Claude Opus 4.6 Thinking" },
|
{ id: "claude-opus-4-6-thinking", name: "Claude Opus 4.6 Thinking" },
|
||||||
|
|||||||
@@ -218,6 +218,13 @@ export const DEFAULT_PRICING = {
|
|||||||
cached: 0.375,
|
cached: 0.375,
|
||||||
reasoning: 4.50,
|
reasoning: 4.50,
|
||||||
cache_creation: 0.75
|
cache_creation: 0.75
|
||||||
|
},
|
||||||
|
"glm-5": {
|
||||||
|
input: 1.00,
|
||||||
|
output: 4.00,
|
||||||
|
cached: 0.50,
|
||||||
|
reasoning: 6.00,
|
||||||
|
cache_creation: 1.00
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user