Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.
ModelPrice record
The ModelPrice record of Novior.MentorAgent.Abstractions.Models: Per-model token prices used to estimate cost in the token & cost dashboard (roadmap #9)…
On this page
Per-model token prices used to estimate cost in the token & cost dashboard (roadmap #9). Values are in your billing currency per 1,000,000 tokens (the unit most providers quote). Supplied by the developer via MentorOptions.ModelPricing; MentorAgent ships no built-in price table, so cost is shown only for models you price here.
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.
public sealed record ModelPrice : IEquatable<ModelPrice>
dotnet add package Novior.MentorAgent.AbstractionsConstructors
Section titled “Constructors”public ModelPrice(decimal InputPer1M, decimal OutputPer1M)
Per-model token prices used to estimate cost in the token & cost dashboard (roadmap #9). Values are in your billing currency per 1,000,000 tokens (the unit most providers quote). Supplied by the developer via MentorOptions.ModelPricing; MentorAgent ships no built-in price table, so cost is shown only for models you price here.
Parameters
InputPer1M: Price per 1,000,000 input (prompt) tokens.OutputPer1M: Price per 1,000,000 output (completion) tokens.
Properties
Section titled “Properties”InputPer1M
Section titled “InputPer1M”public decimal InputPer1M { get; init; }
Price per 1,000,000 input (prompt) tokens.
OutputPer1M
Section titled “OutputPer1M”public decimal OutputPer1M { get; init; }
Price per 1,000,000 output (completion) tokens.
