BotSharp/src/Infrastructure/BotSharp.Abstraction/Conversations/Models/TokenStatsModel.cs

20 lines
484 B
C#
Raw Normal View History

2023-09-26 03:04:04 +00:00
namespace BotSharp.Abstraction.Conversations.Models;
public class TokenStatsModel
{
public string Model { get; set; }
2023-10-30 16:48:18 +00:00
public string Prompt { get; set; }
2023-09-26 03:04:04 +00:00
public int PromptCount { get; set; }
public int CompletionCount { get; set; }
/// <summary>
/// Prompt cost per 1K token
/// </summary>
public float PromptCost { get; set; }
/// <summary>
/// Completion cost per 1K token
/// </summary>
public float CompletionCost { get; set; }
}