AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    Class ModelPrice

    Inheritance
    object
    ModelPrice
    Namespace: Glitch9.AIDevKit
    Assembly: .dll
    Syntax
    [Serializable]
    public class ModelPrice

    Constructors

    ModelPrice()

    Declaration
    public ModelPrice()

    ModelPrice(UsageType, double, bool)

    Declaration
    public ModelPrice(UsageType type, double cost, bool isEstimated = false)
    Parameters
    Type Name Description
    UsageType type
    double cost
    bool isEstimated

    Fields

    cost

    Declaration
    public double cost
    Field Value
    Type Description
    double

    isEstimated

    Declaration
    public bool isEstimated
    Field Value
    Type Description
    bool

    type

    Declaration
    public UsageType type
    Field Value
    Type Description
    UsageType

    Methods

    Free()

    Declaration
    public static ModelPrice[] Free()
    Returns
    Type Description
    ModelPrice[]

    PerCharacter(double)

    Declaration
    public static ModelPrice[] PerCharacter(double cost)
    Parameters
    Type Name Description
    double cost
    Returns
    Type Description
    ModelPrice[]

    PerImage(double)

    Declaration
    public static ModelPrice[] PerImage(double cost)
    Parameters
    Type Name Description
    double cost
    Returns
    Type Description
    ModelPrice[]

    PerInputCachedInputOutput(double, double, double)

    Declaration
    public static ModelPrice[] PerInputCachedInputOutput(double input, double cachedInput, double output)
    Parameters
    Type Name Description
    double input
    double cachedInput
    double output
    Returns
    Type Description
    ModelPrice[]

    PerInputOutput(double, double)

    Declaration
    public static ModelPrice[] PerInputOutput(double input, double output)
    Parameters
    Type Name Description
    double input
    double output
    Returns
    Type Description
    ModelPrice[]

    PerInputToken(double)

    Declaration
    public static ModelPrice[] PerInputToken(double cost)
    Parameters
    Type Name Description
    double cost
    Returns
    Type Description
    ModelPrice[]

    PerMinute(double, bool)

    Declaration
    public static ModelPrice[] PerMinute(double cost, bool isEstimated = false)
    Parameters
    Type Name Description
    double cost
    bool isEstimated
    Returns
    Type Description
    ModelPrice[]

    PerRequest(double)

    Declaration
    public static ModelPrice[] PerRequest(double cost)
    Parameters
    Type Name Description
    double cost
    Returns
    Type Description
    ModelPrice[]
    In this article
    Back to top Generated by DocFX