select id, to_char(created_at at time zone 'Asia/Shanghai','HH24:MI:SS') bj, group_id, model, coalesce(billing_model,'') billing_model, input_tokens, output_tokens, cache_read_tokens, input_cost, output_cost, cache_read_cost, total_cost
from usage_logs
where api_key_id=157 and model='gpt-5.4-mini' and created_at > now() - interval '10 minutes'
order by id desc limit 20;
