Skip to content

Commit 3cdc13f

Browse files
Add gpt-4o-mini for both web and api access (#749)
Reference: - https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/
1 parent b96ba7c commit 3cdc13f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/config/index.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const ModelMode = {
2929
export const chatgptWebModelKeys = [
3030
'chatgptFree35',
3131
'chatgptFree4o',
32+
'chatgptFree4oMini',
3233
'chatgptPlus4',
3334
'chatgptFree35Mobile',
3435
'chatgptPlus4Browsing',
@@ -45,6 +46,7 @@ export const chatgptApiModelKeys = [
4546
'chatgptApi35_1106',
4647
'chatgptApi35_0125',
4748
'chatgptApi4o_128k',
49+
'chatgptApi4oMini',
4850
'chatgptApi4_8k',
4951
'chatgptApi4_8k_0613',
5052
'chatgptApi4_32k',
@@ -96,6 +98,7 @@ export const Models = {
9698
chatgptFree35: { value: 'text-davinci-002-render-sha', desc: 'ChatGPT (Web)' },
9799

98100
chatgptFree4o: { value: 'gpt-4o', desc: 'ChatGPT (Web, GPT-4o)' },
101+
chatgptFree4oMini: { value: 'gpt-4o-mini', desc: 'ChatGPT (Web, GPT-4o mini)' },
99102

100103
chatgptPlus4: { value: 'gpt-4', desc: 'ChatGPT (Web, GPT-4 All in one)' },
101104
chatgptPlus4Browsing: { value: 'gpt-4-gizmo', desc: 'ChatGPT (Web, GPT-4)' },
@@ -104,6 +107,7 @@ export const Models = {
104107
chatgptApi35_16k: { value: 'gpt-3.5-turbo-16k', desc: 'ChatGPT (GPT-3.5-turbo-16k)' },
105108

106109
chatgptApi4o_128k: { value: 'gpt-4o', desc: 'ChatGPT (GPT-4o)' },
110+
chatgptApi4oMini: { value: 'gpt-4o-mini', desc: 'ChatGPT (GPT-4o mini)' },
107111
chatgptApi4_8k: { value: 'gpt-4', desc: 'ChatGPT (GPT-4-8k)' },
108112
chatgptApi4_32k: { value: 'gpt-4-32k', desc: 'ChatGPT (GPT-4-32k)' },
109113
chatgptApi4_128k: {
@@ -268,6 +272,7 @@ export const defaultConfig = {
268272
activeApiModes: [
269273
'chatgptFree35',
270274
'chatgptFree4o',
275+
'chatgptFree4oMini',
271276
'chatgptPlus4',
272277
'chatgptApi35',
273278
'chatgptApi4o_128k',

0 commit comments

Comments
 (0)