From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1795366450; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ViwofD5tDpbd6tt++A70ZVn3ptslu3o8MCwLCZ48G7o=; b=Mu8Ms3FEgnKMraeBskEqLyCNW/3k+t8tuntjkLb3w93Rxn03a8z+sy/hXVhzLs3PZa8lGy ZOSrfe1DFqIU+1PKGIRsu0ectjVvrnEx2zG5B2WHxlT1NuAFQVktB6s17gqD48sIIdoyWN hzwgSlGPI7L5UjzGqYND8xTucpG+NiaYB5R14NhT9W/fosVrHD8NSJxdiNfPQaN/XgWHOF BJrVDJOH+lv4hh9HoU3woqLaIMjaTXJ4fQkwrhUs/Oon8OsCe+JBY9vHoUocUUVklkl4R3 TfbDH9QZ2eWP4UlCA8GgOkcnh4FJTiPvyOxrrLuAPtRQRm78Rb9kvmqnMNsboA== Received: from localhost ( [192.168.1.1]) by hrrol.systemreboot.net (OpenSMTPD) with ESMTPSA id be6306ec (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 22 Nov 2026 16:54:10 +0000 (UTC) From: Arun Isaac To: Ricardo Wurmus Cc: Ricardo Wurmus , kaagum@systemreboot.net Subject: Re: [PATCH v2 0/5] Context compaction In-Reply-To: <87se0v38ll.fsf@elephly.net> References: <87ik20nycd.fsf@systemreboot.net> <20261115044752.5595-1-arunisaac@systemreboot.net> <87wlq851zs.fsf@elephly.net> <87tslcoe5r.fsf@systemreboot.net> <87ld6o3vum.fsf@elephly.net> <87fqww3v17.fsf@elephly.net> <87a4n3obz7.fsf@systemreboot.net> <87se0v38ll.fsf@elephly.net> Date: Sun, 22 Nov 2026 16:54:09 +0000 Message-ID: <87mrr0st72.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain List-Id: Hi Ricardo, > In Bifrost I see the tokens used for every request, so the > information is available; Can we verify the tokens used is in your LLM response? If you can share the output of the command below, that would be helpful. I am going for the second line using `sed -n 2p` since the first line only returns the list of available models. grep '^web: <-' /path/to/kaagum-trace | sed -n 2p | cut -d\ -f4- | jq .usage Here is what I see with OpenRouter. { "completion_tokens_details": { "audio_tokens": 0, "image_tokens": 0, "reasoning_tokens": 0 }, "cost_details": { "upstream_inference_completions_cost": 0.00090, "upstream_inference_prompt_cost": 0.010161, "upstream_inference_cost": 0.011061 }, "prompt_tokens_details": { "video_tokens": 0, "audio_tokens": 0, "cache_write_tokens": 1692, "cached_tokens": 0 }, "is_byok": false, "cost": 0.011061, "total_tokens": 1755, "completion_tokens": 60, "prompt_tokens": 1695 } > I see that in Bifrost we can add attributes to hosted models, so I'll > check with the admins to see if we can pass more model parameters > through. Yes, please. Thanks! Arun