Skip to main content

Variable: ALL_AVAILABLE_OPENAI_MODELS

const ALL_AVAILABLE_OPENAI_MODELS: object

We currently support GPT-3.5 and GPT-4 models

Type declaration

gpt-3.5-turbo

5-turbo: object

gpt-3.5-turbo.contextWindow

contextWindow: number = 4096

gpt-3.5-turbo-0125

5-turbo-0125: object

gpt-3.5-turbo-0125.contextWindow

contextWindow: number = 16384

gpt-3.5-turbo-0613

5-turbo-0613: object

gpt-3.5-turbo-0613.contextWindow

contextWindow: number = 4096

gpt-3.5-turbo-1106

5-turbo-1106: object

gpt-3.5-turbo-1106.contextWindow

contextWindow: number = 16384

gpt-3.5-turbo-16k

5-turbo-16k: object

gpt-3.5-turbo-16k.contextWindow

contextWindow: number = 16384

gpt-3.5-turbo-16k-0613

5-turbo-16k-0613: object

gpt-3.5-turbo-16k-0613.contextWindow

contextWindow: number = 16384

gpt-4

gpt-4: object

gpt-4.contextWindow

contextWindow: number = 8192

gpt-4-0125-preview

gpt-4-0125-preview: object

gpt-4-0125-preview.contextWindow

contextWindow: number = 128000

gpt-4-1106-preview

gpt-4-1106-preview: object

gpt-4-1106-preview.contextWindow

contextWindow: number = 128000

gpt-4-32k

gpt-4-32k: object

gpt-4-32k.contextWindow

contextWindow: number = 32768

gpt-4-32k-0613

gpt-4-32k-0613: object

gpt-4-32k-0613.contextWindow

contextWindow: number = 32768

gpt-4-turbo

gpt-4-turbo: object

gpt-4-turbo.contextWindow

contextWindow: number = 128000

gpt-4-turbo-preview

gpt-4-turbo-preview: object

gpt-4-turbo-preview.contextWindow

contextWindow: number = 128000

gpt-4-vision-preview

gpt-4-vision-preview: object

gpt-4-vision-preview.contextWindow

contextWindow: number = 128000

gpt-4o

gpt-4o: object

gpt-4o.contextWindow

contextWindow: number = 128000

gpt-4o-2024-05-13

gpt-4o-2024-05-13: object

gpt-4o-2024-05-13.contextWindow

contextWindow: number = 128000

gpt-4o-mini

gpt-4o-mini: object

gpt-4o-mini.contextWindow

contextWindow: number = 128000

gpt-4o-mini-2024-07-18

gpt-4o-mini-2024-07-18: object

gpt-4o-mini-2024-07-18.contextWindow

contextWindow: number = 128000

Defined in

packages/llamaindex/src/llm/openai.ts:126