Table of Contents

Class Models

Namespace
OpenAI.ObjectModels
Assembly
AntRunnerLib.dll
public static class Models
Inheritance
System.Object
Models
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

Properties

Ada

public static string Ada { get; }

Property Value

System.String

Babbage

public static string Babbage { get; }

Property Value

System.String

ChatGpt3_5Turbo

Most capable GPT-3.5 model and optimized for chat at 1/10th the cost of text-davinci-003. Will be updated with our latest model iteration. 4,096 tokens Up to Sep 2021

public static string ChatGpt3_5Turbo { get; }

Property Value

System.String

ChatGpt3_5Turbo0301

Snapshot of gpt-3.5-turbo from March 1st 2023. Unlike gpt-3.5-turbo, this model will not receive updates, and will only be supported for a three month period ending on June 1st 2023. 4,096 tokens Up to Sep 2021

public static string ChatGpt3_5Turbo0301 { get; }

Property Value

System.String

CodeCushmanV1

public static string CodeCushmanV1 { get; }

Property Value

System.String

CodeDavinciV1

public static string CodeDavinciV1 { get; }

Property Value

System.String

CodeDavinciV2

public static string CodeDavinciV2 { get; }

Property Value

System.String

CodeEditDavinciV1

public static string CodeEditDavinciV1 { get; }

Property Value

System.String

CodeSearchAdaCodeV1

public static string CodeSearchAdaCodeV1 { get; }

Property Value

System.String

CodeSearchAdaTextV1

public static string CodeSearchAdaTextV1 { get; }

Property Value

System.String

CodeSearchBabbageCodeV1

public static string CodeSearchBabbageCodeV1 { get; }

Property Value

System.String

CodeSearchBabbageTextV1

public static string CodeSearchBabbageTextV1 { get; }

Property Value

System.String

Curie

public static string Curie { get; }

Property Value

System.String

CurieInstructBeta

public static string CurieInstructBeta { get; }

Property Value

System.String

CurieSimilarityFast

public static string CurieSimilarityFast { get; }

Property Value

System.String

Dall_e_2

The previous DALL·E model released in Nov 2022. The 2nd iteration of DALL·E with more realistic, accurate, and 4x greater resolution images than the original model.

public static string Dall_e_2 { get; }

Property Value

System.String

Dall_e_3

The latest DALL·E model released in Nov 2023.

public static string Dall_e_3 { get; }

Property Value

System.String

Davinci

public static string Davinci { get; }

Property Value

System.String

DavinciInstructBeta

public static string DavinciInstructBeta { get; }

Property Value

System.String

Gpt_3_5_Turbo

Most capable GPT-3.5 model and optimized for chat at 1/10th the cost of text-davinci-003. Will be updated with our latest model iteration. 4,096 tokens Up to Sep 2021

public static string Gpt_3_5_Turbo { get; }

Property Value

System.String

Gpt_3_5_Turbo_0125

public static string Gpt_3_5_Turbo_0125 { get; }

Property Value

System.String

Gpt_3_5_Turbo_0301

Snapshot of gpt-3.5-turbo from March 1st 2023. Unlike gpt-3.5-turbo, this model will not receive updates, and will only be supported for a three month period ending on June 1st 2023. 4,096 tokens Up to Sep 2021

public static string Gpt_3_5_Turbo_0301 { get; }

Property Value

System.String

Gpt_3_5_Turbo_0613

Snapshot of gpt-3.5-turbo from June 13th 2023 with function calling data. Unlike gpt-3.5-turbo, this model will not receive updates, and will be deprecated 3 months after a new version is released. 4,096 tokens Up to Sep 2021

public static string Gpt_3_5_Turbo_0613 { get; }

Property Value

System.String

Gpt_3_5_Turbo_1106

The latest GPT-3.5 Turbo model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. 16,384 tokens Up to Sep 2021

public static string Gpt_3_5_Turbo_1106 { get; }

Property Value

System.String

Gpt_3_5_Turbo_16k

Same capabilities as the standard gpt-3.5-turbo model but with 4 times the context. 16,384 tokens Up to Sep 2021

public static string Gpt_3_5_Turbo_16k { get; }

Property Value

System.String

Gpt_3_5_Turbo_16k_0613

Snapshot of gpt-3.5-turbo from June 13th 2023 with function calling data. Unlike gpt-3.5-turbo, this model will not receive updates, and will be deprecated 3 months after a new version is released. 4,096 tokens Up to Sep 2021

public static string Gpt_3_5_Turbo_16k_0613 { get; }

Property Value

System.String

Gpt_3_5_Turbo_Instruct

Similar capabilities as text-davinci-003 but compatible with legacy Completions endpoint and not Chat Completions. 4,096 tokens Up to Sep 2021

public static string Gpt_3_5_Turbo_Instruct { get; }

Property Value

System.String

Gpt_4

More capable than any GPT-3.5 model, able to do more complex tasks, and optimized for chat. Will be updated with our latest model iteration. 8,192 tokens Up to Sep 2021

public static string Gpt_4 { get; }

Property Value

System.String

Gpt_4_0125_preview

public static string Gpt_4_0125_preview { get; }

Property Value

System.String

Gpt_4_0314

Snapshot of gpt-4 from March 14th 2023. Unlike gpt-4, this model will not receive updates, and will only be supported for a three month period ending on June 14th 2023. 8,192 tokens Up to Sep 2021

public static string Gpt_4_0314 { get; }

Property Value

System.String

Gpt_4_0613

Snapshot of gpt-4 from June 13th 2023 with function calling data. Unlike gpt-4, this model will not receive updates, and will be deprecated 3 months after a new version is released. 8,192 tokens Up to Sep 2021

public static string Gpt_4_0613 { get; }

Property Value

System.String

Gpt_4_1106_preview

The latest GPT-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Returns a maximum of 4,096 output tokens. This preview model is not yet suited for production traffic. 128,000 tokens Up to Apr 2023

public static string Gpt_4_1106_preview { get; }

Property Value

System.String

Gpt_4_32k

Same capabilities as the base gpt-4 mode but with 4x the context length. Will be updated with our latest model iteration. 32,768 tokens Up to Sep 2021

public static string Gpt_4_32k { get; }

Property Value

System.String

Gpt_4_32k_0314

Snapshot of gpt-4-32 from March 14th 2023. Unlike gpt-4-32k, this model will not receive updates, and will only be supported for a three month period ending on June 14th 2023. 32,768 tokens Up to Sep 2021

public static string Gpt_4_32k_0314 { get; }

Property Value

System.String

Gpt_4_32k_0613

Snapshot of gpt-4-32 from June 13th 2023. Unlike gpt-4-32k, this model will not receive updates, and will be deprecated 3 months after a new version is released. 32,768 tokens Up to Sep 2021

public static string Gpt_4_32k_0613 { get; }

Property Value

System.String

Gpt_4_turbo

The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling. Currently points to gpt-4-turbo-2024-04-09 as of 04/09/2024. 128,000 tokens Up to Dec 2023

public static string Gpt_4_turbo { get; }

Property Value

System.String

Gpt_4_turbo_2024_04_09

GPT-4 Turbo with Vision model. Vision requests can now use JSON mode and function calling. gpt-4-turbo currently points to this version. 128,000 tokens Up to Dec 2023

public static string Gpt_4_turbo_2024_04_09 { get; }

Property Value

System.String

Gpt_4_turbo_preview

public static string Gpt_4_turbo_preview { get; }

Property Value

System.String

Gpt_4_vision_preview

Ability to understand images, in addition to all other GPT-4 Turbo capabilties. Returns a maximum of 4,096 output tokens. This is a preview model version and not suited yet for production traffic. 128,000 tokens Up to Apr 2023

public static string Gpt_4_vision_preview { get; }

Property Value

System.String

Gpt_4o

Our most advanced, multimodal flagship model that’s cheaper and faster than GPT-4 Turbo. Currently points to gpt-4o-2024-05-13. 128,000 tokens Up to Oct 2023

public static string Gpt_4o { get; }

Property Value

System.String

Gpt_4o_2024_05_13

Our most advanced, multimodal flagship model that’s cheaper and faster than GPT-4 Turbo. Currently points to gpt-4o-2024-05-13. 128,000 tokens Up to Oct 2023

public static string Gpt_4o_2024_05_13 { get; }

Property Value

System.String

Gpt_4o_mini

Our affordable and intelligent small model for fast, lightweight tasks. GPT-4o mini is cheaper and more capable than GPT-3.5 Turbo. Currently points to gpt-4o-mini-2024-07-18. 128,000 tokens Up to Oct 2023

public static string Gpt_4o_mini { get; }

Property Value

System.String

Gpt_4o_mini_2024_07_18

Our affordable and intelligent small model for fast, lightweight tasks. GPT-4o mini is cheaper and more capable than GPT-3.5 Turbo. Currently points to gpt-4o-mini-2024-07-18. 128,000 tokens Up to Oct 2023

public static string Gpt_4o_mini_2024_07_18 { get; }

Property Value

System.String

TextAdaV1

public static string TextAdaV1 { get; }

Property Value

System.String

TextBabbageV1

public static string TextBabbageV1 { get; }

Property Value

System.String

TextCurieV1

public static string TextCurieV1 { get; }

Property Value

System.String

TextDavinciV1

public static string TextDavinciV1 { get; }

Property Value

System.String

TextDavinciV2

public static string TextDavinciV2 { get; }

Property Value

System.String

TextDavinciV3

public static string TextDavinciV3 { get; }

Property Value

System.String

TextEditDavinciV1

public static string TextEditDavinciV1 { get; }

Property Value

System.String

TextEmbeddingAdaV2

public static string TextEmbeddingAdaV2 { get; }

Property Value

System.String

TextEmbeddingV3Large

public static string TextEmbeddingV3Large { get; }

Property Value

System.String

TextEmbeddingV3Small

public static string TextEmbeddingV3Small { get; }

Property Value

System.String

TextModeration007

public static string TextModeration007 { get; }

Property Value

System.String

TextModerationLatest

public static string TextModerationLatest { get; }

Property Value

System.String

TextModerationStable

public static string TextModerationStable { get; }

Property Value

System.String

TextSearchAdaDocV1

public static string TextSearchAdaDocV1 { get; }

Property Value

System.String

TextSearchAdaQueryV1

public static string TextSearchAdaQueryV1 { get; }

Property Value

System.String

TextSearchBabbageDocV1

public static string TextSearchBabbageDocV1 { get; }

Property Value

System.String

TextSearchBabbageQueryV1

public static string TextSearchBabbageQueryV1 { get; }

Property Value

System.String

TextSearchCurieDocV1

public static string TextSearchCurieDocV1 { get; }

Property Value

System.String

TextSearchCurieQueryV1

public static string TextSearchCurieQueryV1 { get; }

Property Value

System.String

TextSearchDavinciDocV1

public static string TextSearchDavinciDocV1 { get; }

Property Value

System.String

TextSearchDavinciQueryV1

public static string TextSearchDavinciQueryV1 { get; }

Property Value

System.String

TextSimilarityAdaV1

public static string TextSimilarityAdaV1 { get; }

Property Value

System.String

TextSimilarityBabbageV1

public static string TextSimilarityBabbageV1 { get; }

Property Value

System.String

TextSimilarityCurieV1

public static string TextSimilarityCurieV1 { get; }

Property Value

System.String

TextSimilarityDavinciV1

public static string TextSimilarityDavinciV1 { get; }

Property Value

System.String

Tts_1

TTS is an AI model that converts text to natural sounding spoken text. tts-1 is optimized for real time text to speech use cases. Released in Nov 2023.

public static string Tts_1 { get; }

Property Value

System.String

Tts_1_hd

TTS is an AI model that converts text to natural sounding spoken text. tts-1-hd is optimized for quality Released in Nov 2023.

public static string Tts_1_hd { get; }

Property Value

System.String

WhisperV1

public static string WhisperV1 { get; }

Property Value

System.String

Methods

EnumToString(Models.Model)

public static string EnumToString(this Models.Model model)

Parameters

model Models.Model

Returns

System.String

EnumToString(Models.Subject, String)

public static string EnumToString(this Models.Subject subject, string baseModel)

Parameters

subject Models.Subject
baseModel System.String

Returns

System.String

ModelNameBuilder(Models.BaseModel, Nullable<Models.Subject>, String)

This method does not guarantee returned model exists.

public static string ModelNameBuilder(this Models.BaseModel baseModel, Models.Subject? subject = null, string version = null)

Parameters

baseModel Models.BaseModel
subject System.Nullable<Models.Subject>
version System.String

Returns

System.String

ModelNameBuilder(String, String, String)

public static string ModelNameBuilder(string baseModel, string subject, string version)

Parameters

baseModel System.String
subject System.String
version System.String

Returns

System.String