Per-model cost breakdown for a single user within a date range. Only counts assistant-role messages that have a model_config_id.
(ctx context.Context, arg GetChatCostPerModelParams)
| 347 | // Per-model cost breakdown for a single user within a date range. |
| 348 | // Only counts assistant-role messages that have a model_config_id. |
| 349 | GetChatCostPerModel(ctx context.Context, arg GetChatCostPerModelParams) ([]GetChatCostPerModelRow, error) |
| 350 | // Deployment-wide per-user cost rollup within a date range. |
| 351 | // Only counts assistant-role messages. |
| 352 | GetChatCostPerUser(ctx context.Context, arg GetChatCostPerUserParams) ([]GetChatCostPerUserRow, error) |
no outgoing calls