GptModel enum
Values
- gpt3_5_4k → const GptModel
-
const GptModel('gpt-3.5-turbo', GptProvider.openai, defaultInputLength: 2000, costPer1kInputToken: 0.0005, costPer1kOutputToken: 0.0015)
- gpt3_5_16k → const GptModel
-
const GptModel('gpt-3.5-turbo-16k', GptProvider.openai, defaultInputLength: 8000, costPer1kInputToken: 0.003, costPer1kOutputToken: 0.004)
- gpt4_8k → const GptModel
-
const GptModel('gpt-4', GptProvider.openai, defaultInputLength: 4000, costPer1kInputToken: 0.03, costPer1kOutputToken: 0.06)
- gpt4_turbo → const GptModel
-
const GptModel('gpt-4-turbo', GptProvider.openai, defaultInputLength: 64000, costPer1kInputToken: 0.01, costPer1kOutputToken: 0.03)
- gpt4o → const GptModel
-
const GptModel('gpt-4o', GptProvider.openai, defaultInputLength: 128000, costPer1kInputToken: 0.005, costPer1kOutputToken: 0.015)
- gpt4o_mini → const GptModel
-
const GptModel('gpt-4o-mini', GptProvider.openai, defaultInputLength: 128000, costPer1kInputToken: 0.00015, costPer1kOutputToken: 0.0006)
Properties
- costPer1kInputToken → double
-
The cost per input token in USD.
final
- costPer1kOutputToken → double
-
The cost per output token in USD.
final
- costPerInputToken → double
-
no setter
- costPerOutputToken → double
-
no setter
- defaultInputLength → int
-
Each model has a limited context until this model starts to "forget".
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The id of this model.
Will be sent to the GPT API.
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - provider → GptProvider
-
The provider of this model.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited