Skip to main content

Variable: GPT4_MODELS

const GPT4_MODELS: object

Type declaration

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:98