Class ModelPrice
Inheritance
object
ModelPrice
Assembly: .dll
Syntax
[Serializable]
public class ModelPrice
Constructors
ModelPrice()
Declaration
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
Field Value
isEstimated
Declaration
Field Value
type
Declaration
Field Value
Methods
Free()
Declaration
public static ModelPrice[] Free()
Returns
PerCharacter(double)
Declaration
public static ModelPrice[] PerCharacter(double cost)
Parameters
Type |
Name |
Description |
double |
cost |
|
Returns
PerImage(double)
Declaration
public static ModelPrice[] PerImage(double cost)
Parameters
Type |
Name |
Description |
double |
cost |
|
Returns
Declaration
public static ModelPrice[] PerInputCachedInputOutput(double input, double cachedInput, double output)
Parameters
Type |
Name |
Description |
double |
input |
|
double |
cachedInput |
|
double |
output |
|
Returns
Declaration
public static ModelPrice[] PerInputOutput(double input, double output)
Parameters
Type |
Name |
Description |
double |
input |
|
double |
output |
|
Returns
Declaration
public static ModelPrice[] PerInputToken(double cost)
Parameters
Type |
Name |
Description |
double |
cost |
|
Returns
PerMinute(double, bool)
Declaration
public static ModelPrice[] PerMinute(double cost, bool isEstimated = false)
Parameters
Type |
Name |
Description |
double |
cost |
|
bool |
isEstimated |
|
Returns
PerRequest(double)
Declaration
public static ModelPrice[] PerRequest(double cost)
Parameters
Type |
Name |
Description |
double |
cost |
|
Returns