Created
March 28, 2026 10:28
-
-
Save malikbenkirane/e7fb187d78bdc2c54520b5f3b4253161 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://opencode.ai/config.json", | |
| "model": "google-vertex/zai-org/glm-5-maas", | |
| "provider": { | |
| "google-vertex": { | |
| "models": { | |
| "zai-org/glm-5-maas": { | |
| "name": "GLM-5", | |
| "provider": { | |
| "npm": "@ai-sdk/openai-compatible", | |
| "api": "https://${VERTEX_ENDPOINT}/v1/projects/${GOOGLE_CLOUD_PROOJECT}/locations/${VERTEX_LOCATION}/endpoints/openapi" | |
| }, | |
| "limit": { | |
| "context": 204800, | |
| "output": 131072 | |
| }, | |
| "cost": { | |
| "input": 0.6, | |
| "output": 2.2 | |
| }, | |
| "interleaved": { | |
| "field": "reasoning_content" | |
| }, | |
| "attachment": false, | |
| "reasoning": true, | |
| "family": "glm", | |
| "temperature": true, | |
| "tool_call": true, | |
| "modalities": { | |
| "input": [ | |
| "text" | |
| ], | |
| "output": [ | |
| "text" | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "permission": { | |
| "bash": "allow" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment