MentorAgent Docs
Menu

ReferencePackage: Novior.MentorAgent.Abstractions

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)…

View as Markdown
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.

Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.

public sealed record ModelPrice : IEquatable<ModelPrice>

Terminal
dotnet add package Novior.MentorAgent.Abstractions

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.

public decimal InputPer1M { get; init; }

Price per 1,000,000 input (prompt) tokens.

public decimal OutputPer1M { get; init; }

Price per 1,000,000 output (completion) tokens.