name: GLM-5.1 Z.ai Integration
version: 0.0.1
schema: v1

models:
  - name: GLM-5.1 (Z.ai)
    provider: openai
    model: glm-5.1
    apiKey: YOUR_GLM_API_KEY
    apiBase: https://api.z.ai/api/coding/paas/v4
    roles:
      - chat
      - edit
    defaultCompletionOptions:
      maxTokens: 4096
    requestOptions:
      timeout: 120000
