Skip to content

Commit

Permalink
gpt4-1106 -> turbo preview
Browse files Browse the repository at this point in the history
  • Loading branch information
jackschedel committed Jan 29, 2024
1 parent 3231733 commit 9dee2cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/constants/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Respond using Markdown.`;
export const modelOptions: ModelChoice[] = [
'gpt-3.5-turbo',
'gpt-3.5-turbo-16k',
'gpt-4-1106-preview',
'gpt-4-turbo-preview',
'gpt-4',
'gpt-4-32k',
'claude-2',
Expand All @@ -32,7 +32,7 @@ export const modelMaxToken = {
'gpt-4': 8192,
'gpt-4-0314': 8192,
'gpt-4-0613': 8192,
'gpt-4-1106-preview': 128000,
'gpt-4-turbo-preview': 128000,
'gpt-4-32k': 32768,
'gpt-4-32k-0314': 32768,
'gpt-4-32k-0613': 32768,
Expand Down Expand Up @@ -77,7 +77,7 @@ export const modelCost = {
prompt: { price: 0.03, unit: 1000 },
completion: { price: 0.06, unit: 1000 },
},
'gpt-4-1106-preview': {
'gpt-4-turbo-preview': {
prompt: { price: 0.01, unit: 1000 },
completion: { price: 0.03, unit: 1000 },
},
Expand Down
2 changes: 1 addition & 1 deletion src/types/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export type ModelChoice =
| 'gpt-4'
| 'gpt-4-0314'
| 'gpt-4-0613'
| 'gpt-4-1106-preview'
| 'gpt-4-turbo-preview'
| 'gpt-4-32k'
| 'gpt-4-32k-0314'
| 'gpt-4-32k-0613'
Expand Down

0 comments on commit 9dee2cc

Please sign in to comment.