Skip to content

Multi Model Cost Calculations are Bugged #7387

@maharshi365

Description

@maharshi365

Description

I think i found a bug with cost calculation. Occasionally i will use multiple models (generally claude to do an plan and initial implementation, and gemini to cleanup). I noticed today the cost calculation actually went down after i started using gemini. I think maybe its not taking into account what model each message was sent to ?

Plugins

No response

OpenCode version

1.1.6

Steps to reproduce

  1. Do some work using a model (im using Claude Opus 4.5 from Amazon Bedrock)
  2. Switch while in the session to a different model (im using Gemini 3 Pro Preview from Google)

See the costs not working right.

Screenshot and/or share link

https://opncd.ai/share/Un4b1u0T

Operating System

Windows 11

Terminal

Powershell 7

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwindowszenRelates to Zen

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions