Skip to content

Context token count greatly underestimated #24143

@G-Guillard

Description

@G-Guillard

Description

I'm not sure whether I'm misunderstanding the meaning of the context window "tokens" count (couldn't find much information about it) or if the count is plainly wrong. For a single session, today, with Qwen3.5 via OpenRouter, the TUI "Context" window showed :

Context
98,607 tokens
38% used
$2.04 spent

$ 20/M tokens seemed quite expensive, so I checked the OpenRouter dashboard, which tells a different story :

Image

Plugins

No response

OpenCode version

1.14.22

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Linux MX-23.6_ahs_x64 Libretto October 15, 2023

Terminal

xfce4-terminal 1.1.3

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions