young
young3mo ago

Rounding on pricing

custom model pricing precision seems not enough, for example mistral on amazon bedrock is $0.00045/1k token, but got rounded to $0.0004/1k token on langfuse
No description
No description
4 Replies
Clemo
Clemo3mo ago
Checking this rn.
verdverm
verdverm3mo ago
I would guess this is a UI thing. There are several places where the presentation truncates floating points (also a minor gripe I have) the underlying data seems fine from my own investigations, though I have not looked at this specific case
Marc
Marc3mo ago
thanks for sharing, the numbers below the input box are just a preview to help enter the price per unit above. adding more precision to these previews @verdverm where would you like to see more precision? can you create an issue with screenshots? happy to fix this asap
verdverm
verdverm3mo ago
There are places where 0.00 shows up when the precision is smaller, for example, on the Traces page
No description