Z.ai Coding Plan - GLM-4.7 : shows price != zero #3766

Closed
opened 2026-02-16 17:41:24 -05:00 by yindo · 4 comments
Owner

Originally created by @thegreyfellow on GitHub (Dec 22, 2025).

Originally assigned to: @fwang on GitHub.

Description

Hello, I just upgraded to Z.ai coding plan new model, GLM-4.7, and it seems opencode is showing the price is different than zero for example ($0.08), although it's a coding plan model, so no actual money was used in these prompts. Here is screenshots to show that.

No money was actually used, I checked my billing in Z.AI .

OpenCode version

1.0.190

Steps to reproduce

  1. update to v1.0.190
  2. choose model : GLM-4.7 Z.AI Coding Plan

Screenshot and/or share link

Z.ai Coding Plan - GLM-4.7
Image

Z.ai Coding Plan - GLM-4.6
Image

Operating System

Arch linux

Terminal

Alacritty

Originally created by @thegreyfellow on GitHub (Dec 22, 2025). Originally assigned to: @fwang on GitHub. ### Description Hello, I just upgraded to Z.ai coding plan new model, GLM-4.7, and it seems opencode is showing the price is different than zero for example ($0.08), although it's a coding plan model, so no actual money was used in these prompts. Here is screenshots to show that. No money was actually used, I checked my billing in Z.AI . ### OpenCode version 1.0.190 ### Steps to reproduce 1. update to v1.0.190 2. choose model : GLM-4.7 Z.AI Coding Plan ### Screenshot and/or share link Z.ai Coding Plan - GLM-4.7 <img width="728" height="677" alt="Image" src="https://github.com/user-attachments/assets/b1dd3482-de00-4306-ac7c-0b31fbc182e7" /> Z.ai Coding Plan - GLM-4.6 <img width="597" height="677" alt="Image" src="https://github.com/user-attachments/assets/6a0aa05b-16c4-4204-ac18-d1e6e784e735" /> ### Operating System Arch linux ### Terminal Alacritty
yindo added the bug label 2026-02-16 17:41:24 -05:00
yindo closed this issue 2026-02-16 17:41:24 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 22, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #2891: Cost in storage/session is always 0 - Similar issue where GitHub Copilot models show /bin/bash cost, and this appears to be related to billing plan models showing incorrect pricing

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Dec 22, 2025): This issue might be a duplicate of existing issues. Please check: - #2891: Cost in storage/session is always 0 - Similar issue where GitHub Copilot models show /bin/bash cost, and this appears to be related to billing plan models showing incorrect pricing Feel free to ignore if this doesn't address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Dec 22, 2025):

thats prolly my fault

@rekram1-node commented on GitHub (Dec 22, 2025): thats prolly my fault
Author
Owner

@rekram1-node commented on GitHub (Dec 23, 2025):

opencode models --refresh

@rekram1-node commented on GitHub (Dec 23, 2025): opencode models --refresh
Author
Owner

@thegreyfellow commented on GitHub (Dec 23, 2025):

@rekram1-node it was only a visual bug, I appreciate the fast fix and all the work you do on this project 🚀

@thegreyfellow commented on GitHub (Dec 23, 2025): @rekram1-node it was only a visual bug, I appreciate the fast fix and all the work you do on this project 🚀
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3766