From d196c5eb5d8e909516b5b730cb1e772ce4fc8a96 Mon Sep 17 00:00:00 2001 From: amysguan <64990783+amysguan@users.noreply.github.com> Date: Fri, 27 Feb 2026 17:11:00 -0800 Subject: [PATCH] Fix: Change Z.ai context window to account for max_token subtraction (#1185) --- src/models.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/models.json b/src/models.json index d1741ba..a1090bc 100644 --- a/src/models.json +++ b/src/models.json @@ -790,7 +790,8 @@ "isFeatured": true, "free": true, "updateArgs": { - "context_window": 200000, + "context_window": 180000, + "max_output_tokens": 16000, "parallel_tool_calls": true } }, @@ -801,7 +802,8 @@ "description": "zAI's latest coding model (legacy)", "free": true, "updateArgs": { - "context_window": 200000, + "context_window": 180000, + "max_output_tokens": 16000, "parallel_tool_calls": true } },