Pull request #905 has added custom publishers of (non-google) models in vertex. When you switch into these models in opencode it returns Not Found for all requests.
The underlying issue is that request URL is wrong.
Actual URL: .../publishers/google/zai-org/glm-5-maas:streamGenerateContent?alt=sse
Expected URL: .../publishers/zai-org/models/glm-5-maas:streamGenerateContent?alt=sse
Vertex is returns 404 to all requests.
The problem is in @ai-sdk library which has baseURL hardcoded
Upstream issue tracking it: vercel/ai#12014