pi-commandcode-provider icon indicating copy to clipboard operation
pi-commandcode-provider copied to clipboard

GLM-5.3 single token per second and rate_limit_error on the Responses endpoint

Open ThomasByr opened this issue 1 month ago • 0 comments

Hi,

Long time Command Code user here. I'm using GLM5.3 as my daily driver.

Since this extension's update to the responses endpoint, I'm hitting rate_limit_error far too often. Most requests also hit a low speed of 1tok/s for some time, which is very much frustrating. In the mean time, there is absolutely no issue with DSv4.1 - which people seem to use kind of exclusively here.

I opened 2 tickets in their support and here is some interesting findings (most likely a AI-vomited answer but worth the check nonetheless).

On October 13th, your longer GLM-5.3 responses ran at a median of about 16 tokens per second, against about 50 on October 6th and 7th, and ten of them averaged under 10 tokens per second. I can only measure each response end to end, so a stall inside one shows up as a slower average; the slowest that morning averaged about 4 tokens per second. Twenty-nine GLM-5.3 requests on October 13th and 36 on October 14th were refused with rate_limit_error. Nothing that failed was charged to your usage. Your client sends GLM-5.3 to the Responses endpoint. In the same hours on October 13th, GLM-5.3 requests sent to the Chat Completions endpoint ran at about 70 tokens per second and hit the capacity limit far less often. Switching your client's GLM-5.3 provider from the Responses API to Chat Completions, with the same base URL https://api.commandcode.ai/provider/v1, is the change worth making.

Right now, deleting the "api": "openai-responses" line does not work, since the model catalog is often rebuilt. I can't see anyway of forcing the api per-model that makes permanent changes.

Any human help or guidance would be appreciated.

ThomasByr avatar Oct 15 '26 15:10 ThomasByr