Location: crates/hx-cli/src/main.rs:pricing
What is hacky: hard-coded per-model price table matched by substring; subscription usage is not billed per token, so costs shown are estimates.
Proper fix: source prices from the provider model catalog or config, label cost as estimate in UI.
Original comment: "USD per million tokens. ponytail: subscription usage isn't billed per token; this is an API-equivalent estimate."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
Location: crates/hx-cli/src/main.rs:pricing
What is hacky: hard-coded per-model price table matched by substring; subscription usage is not billed per token, so costs shown are estimates.
Proper fix: source prices from the provider model catalog or config, label cost as estimate in UI.
Original comment: "USD per million tokens. ponytail: subscription usage isn't billed per token; this is an API-equivalent estimate."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes
added the cli label 2026-11-21 12:36:45 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Location: crates/hx-cli/src/main.rs:pricing
What is hacky: hard-coded per-model price table matched by substring; subscription usage is not billed per token, so costs shown are estimates.
Proper fix: source prices from the provider model catalog or config, label cost as estimate in UI.
Original comment: "USD per million tokens. ponytail: subscription usage isn't billed per token; this is an API-equivalent estimate."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).