Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Cost logged as debug

Magnus Mülleracb7487bdf69
diff --git a/browser_use/tokens/service.py b/browser_use/tokens/service.py
index 80932f6dc..5418d06e8 100644
--- a/browser_use/tokens/service.py
+++ b/browser_use/tokens/service.py
@@ -254,7 +254,7 @@ class TokenCost:
else:
output_part = f'📤 {C_GREEN}{completion_tokens_fmt}{C_RESET}'
- cost_logger.info(f'🧠 {C_CYAN}{model}{C_RESET} | {input_part} | {output_part}')
+ cost_logger.debug(f'🧠 {C_CYAN}{model}{C_RESET} | {input_part} | {output_part}')
def _build_input_tokens_display(self, usage: ChatInvokeUsage, cost: TokenCostCalculated | None) -> str:
"""Build a clear display of input tokens breakdown with emojis and optional costs"""