Class LlmPricing.ModelOption

java.lang.Object
org.mockserver.llm.cost.LlmPricing.ModelOption
Enclosing class:
LlmPricing

public static final class LlmPricing.ModelOption extends Object
The cheapest model in a provider's pricing table — its prefix label and blended (input+output per-million) rate. Returned by LlmPricing.cheapestModel(Provider) so a caller can suggest a smaller model for trivial work.
  • Constructor Details

    • ModelOption

      public ModelOption(String label, double blendedPerMillion)
  • Method Details

    • getLabel

      public String getLabel()
    • getBlendedPerMillion

      public double getBlendedPerMillion()