jcode icon indicating copy to clipboard operation
jcode copied to clipboard

BUG?: Automatically using fast option for models if available and burning through tokens

Open eDiZoN3 opened this issue 4 months ago • 4 comments

I am not sure if this is a UI bug or a bug in the model selection/routing, but when i use a model that has a fast option (which is twice as expensive), jcode automatically uses it which leads to burning through tokens very fast. I observed this problem when using gpt 5.5 (hi). It showed [Fast] in the Terminal ui of the current model, and i felt like hitting the limit very quickly with only a few prompts what was unusual.

eDiZoN3 avatar Jul 07 '26 13:07 eDiZoN3

You can turn that off using /fast default off and /fast off or directly updating config file

ravshansbox avatar Jul 08 '26 13:07 ravshansbox

@1jehuang can we turn it off by default?

ravshansbox avatar Jul 08 '26 14:07 ravshansbox

Triage: confirmed, this is real and by design rather than a routing bug, but the design is questionable. ProviderConfig::default() sets openai_service_tier: Some("priority") (crates/jcode-config-types/src/lib.rs:1259) and the generated default config writes openai_service_tier = "priority" (crates/jcode-base/src/config/default_file.rs:289). So Fast/priority tier (billed at priority rates) is on by default for all OpenAI usage.

Workaround today: /fast default off, or set openai_service_tier to "default"/remove it in ~/.jcode/config.toml.

Marked needs-decision: defaulting a 2x-cost tier to on is surprising, and likely the default should be standard tier with priority opt-in. At minimum the UI should make the cost implication visible when [Fast] is active.

1jehuang avatar Jul 09 '26 08:07 1jehuang

Hi, yeah this is by design. I think it's a worthwhile tradeoff for most people.

1jehuang avatar Jul 09 '26 09:07 1jehuang