返回提交历史
Modified
README.md
+51
-24
Modified
g4f/models.py
+8
-5
XFEstudio/gpt4free
~ | update working providers list & gpt-4 providers
c1fbb13e
代码差异
2 个文件
+59
-29
@@ -394,48 +394,75 @@ if __name__ == "__main__":
394
394
```
395
395
396
396
## Models
397
### gpt-4
398
| Website| Provider| gpt-3.5 | gpt-4 | Streaming | Asynchron | Status | Auth |
399
| ------ | ------- | ------- | ----- | --------- | --------- | ------ | ---- |
400
| [bing.com](https://bing.com/chat) | `g4f.Provider.Bing` | ❌ | ✔️ | ✔️ | ✔️ |  | ❌ |
401
| [chat.geekgpt.org](https://chat.geekgpt.org) | `g4f.Provider.GeekGpt` | ✔️ | ✔️ | ✔️ | ❌ |  | ❌ |
402
| [liaobots.site](https://liaobots.site) | `g4f.Provider.Liaobots` | ✔️ | ✔️ | ✔️ | ✔️ |  | ❌ |
403
| [www.phind.com](https://www.phind.com) | `g4f.Provider.Phind` | ❌ | ✔️ | ✔️ | ✔️ |  | ❌ |
404
| [raycast.com](https://raycast.com) | `g4f.Provider.Raycast` | ✔️ | ✔️ | ✔️ | ❌ |  | ✔️ |
405
| [chat.aivvm.com](https://chat.aivvm.com) | `g4f.Provider.Aivvm` | ✔️ | ✔️ | ✔️ | ❌ |  | ❌ |
406
| [gptchatly.com](https://gptchatly.com) | `g4f.Provider.GptChatly` | ✔️ | ✔️ | ❌ | ✔️ |  | ❌ |
407
| [supertest.lockchat.app](http://supertest.lockchat.app) | `g4f.Provider.Lockchat` | ✔️ | ✔️ | ✔️ | ❌ |  | ❌ |
408
| [app.myshell.ai](https://app.myshell.ai/chat) | `g4f.Provider.Myshell` | ✔️ | ✔️ | ✔️ | ✔️ |  | ❌ |
397
409
398
### gpt-3.5 / gpt-4
410
### gpt-3.5
399
411
400
412
| Website| Provider| gpt-3.5 | gpt-4 | Streaming | Asynchron | Status | Auth |
401
413
| ------ | ------- | ------- | ----- | --------- | --------- | ------ | ---- |
402
| [www.aitianhu.com](https://www.aitianhu.com) | `g4f.Provider.AItianhu` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
403
| [chat.acytoo.com](https://chat.acytoo.com) | `g4f.Provider.Acytoo` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
404
| [chat-gpt.org](https://chat-gpt.org/chat) | `g4f.Provider.Aichat` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
405
| [ai.ls](https://ai.ls) | `g4f.Provider.Ails` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
414
| [chat3.aiyunos.top](https://chat3.aiyunos.top/) | `g4f.Provider.AItianhuSpace` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
415
| [e.aiask.me](https://e.aiask.me) | `g4f.Provider.AiAsk` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
416
| [chat-gpt.org](https://chat-gpt.org/chat) | `g4f.Provider.Aichat` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
406
417
| [bard.google.com](https://bard.google.com) | `g4f.Provider.Bard` | ❌ | ❌ | ❌ | ✔️ |  | ✔️ |
407
| [bing.com](https://bing.com/chat) | `g4f.Provider.Bing` | ❌ | ✔️ | ✔️ | ✔️ |  | ❌ |
408
| [www.chatbase.co](https://www.chatbase.co) | `g4f.Provider.ChatBase` | ✔️ | ✔️ | ✔️ | ✔️ |  | ❌ |
409
| [chatgpt.ai](https://chatgpt.ai/) | `g4f.Provider.ChatgptAi` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
410
| [opchatgpts.net](https://opchatgpts.net) | `g4f.Provider.ChatgptLogin` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
411
| [ava-ai-ef611.web.app](https://ava-ai-ef611.web.app) | `g4f.Provider.CodeLinkAva` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
418
| [www.chatbase.co](https://www.chatbase.co) | `g4f.Provider.ChatBase` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
419
| [chatforai.store](https://chatforai.store) | `g4f.Provider.ChatForAi` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
420
| [chatgpt4online.org](https://chatgpt4online.org) | `g4f.Provider.Chatgpt4Online` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
421
| [chatgpt.ai](https://chatgpt.ai/) | `g4f.Provider.ChatgptAi` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
422
| [chat.chatgptdemo.net](https://chat.chatgptdemo.net) | `g4f.Provider.ChatgptDemo` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
423
| [chatgptlogin.ai](https://chatgptlogin.ai) | `g4f.Provider.ChatgptLogin` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
424
| [chatgptx.de](https://chatgptx.de) | `g4f.Provider.ChatgptX` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
425
| [freegpts1.aifree.site](https://freegpts1.aifree.site/) | `g4f.Provider.FreeGpt` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
426
| [gptalk.net](https://gptalk.net) | `g4f.Provider.GPTalk` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
427
| [ai18.gptforlove.com](https://ai18.gptforlove.com) | `g4f.Provider.GptForLove` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
412
428
| [gptgo.ai](https://gptgo.ai) | `g4f.Provider.GptGo` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
413
| [gpt-gm.h2o.ai](https://gpt-gm.h2o.ai) | `g4f.Provider.H2o` | ❌ | ❌ | ✔️ | ✔️ |  | ❌ |
414
| [huggingface.co](https://huggingface.co/chat/) | `g4f.Provider.HuggingChat` | ❌ | ❌ | ✔️ | ✔️ |  | ✔️ |
415
| [opchatgpts.net](https://opchatgpts.net) | `g4f.Provider.Opchatgpts` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
416
| [open-assistant.io](https://open-assistant.io/chat) | `g4f.Provider.OpenAssistant` | ❌ | ❌ | ✔️ | ✔️ |  | ✔️ |
417
| [chat.openai.com](https://chat.openai.com) | `g4f.Provider.OpenaiChat` | ✔️ | ❌ | ❌ | ✔️ |  | ✔️ |
418
| [www.perplexity.ai](https://www.perplexity.ai) | `g4f.Provider.PerplexityAi` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
419
| [raycast.com](https://raycast.com) | `g4f.Provider.Raycast` | ✔️ | ✔️ | ✔️ | ❌ |  | ✔️ |
429
| [gptgod.site](https://gptgod.site) | `g4f.Provider.GptGod` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
430
| [huggingface.co](https://huggingface.co/chat) | `g4f.Provider.HuggingChat` | ❌ | ❌ | ✔️ | ✔️ |  | ✔️ |
431
| [www.llama2.ai](https://www.llama2.ai) | `g4f.Provider.Llama2` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
432
| [noowai.com](https://noowai.com) | `g4f.Provider.NoowAi` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
433
| [opchatgpts.net](https://opchatgpts.net) | `g4f.Provider.Opchatgpts` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
434
| [chat.openai.com](https://chat.openai.com) | `g4f.Provider.OpenaiChat` | ✔️ | ❌ | ✔️ | ✔️ |  | ✔️ |
420
435
| [theb.ai](https://theb.ai) | `g4f.Provider.Theb` | ✔️ | ❌ | ✔️ | ❌ |  | ✔️ |
421
436
| [sdk.vercel.ai](https://sdk.vercel.ai) | `g4f.Provider.Vercel` | ✔️ | ❌ | ✔️ | ❌ |  | ❌ |
422
| [app.vitalentum.io](https://app.vitalentum.io) | `g4f.Provider.Vitalentum` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
423
| [wewordle.org](https://wewordle.org) | `g4f.Provider.Wewordle` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
424
| [chat.ylokh.xyz](https://chat.ylokh.xyz) | `g4f.Provider.Ylokh` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
425
| [you.com](https://you.com) | `g4f.Provider.You` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
437
| [you.com](https://you.com) | `g4f.Provider.You` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
426
438
| [chat9.yqcloud.top](https://chat9.yqcloud.top/) | `g4f.Provider.Yqcloud` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
427
| [cromicle.top](https://cromicle.top) | `g4f.Provider.Cromicle` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
439
| [www.aitianhu.com](https://www.aitianhu.com) | `g4f.Provider.AItianhu` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
440
| [chat.acytoo.com](https://chat.acytoo.com) | `g4f.Provider.Acytoo` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
428
441
| [aiservice.vercel.app](https://aiservice.vercel.app/) | `g4f.Provider.AiService` | ✔️ | ❌ | ❌ | ❌ |  | ❌ |
442
| [aibn.cc](https://aibn.cc) | `g4f.Provider.Aibn` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
443
| [ai.ls](https://ai.ls) | `g4f.Provider.Ails` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
444
| [chataigpt.org](https://chataigpt.org) | `g4f.Provider.ChatAiGpt` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
445
| [chatgptduo.com](https://chatgptduo.com) | `g4f.Provider.ChatgptDuo` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
446
| [chatgptfree.ai](https://chatgptfree.ai) | `g4f.Provider.ChatgptFree` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
447
| [ava-ai-ef611.web.app](https://ava-ai-ef611.web.app) | `g4f.Provider.CodeLinkAva` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
448
| [cromicle.top](https://cromicle.top) | `g4f.Provider.Cromicle` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
429
449
| [chat.dfehub.com](https://chat.dfehub.com/) | `g4f.Provider.DfeHub` | ✔️ | ❌ | ✔️ | ❌ |  | ❌ |
430
450
| [free.easychat.work](https://free.easychat.work) | `g4f.Provider.EasyChat` | ✔️ | ❌ | ✔️ | ❌ |  | ❌ |
431
451
| [next.eqing.tech](https://next.eqing.tech/) | `g4f.Provider.Equing` | ✔️ | ❌ | ✔️ | ❌ |  | ❌ |
432
452
| [chat9.fastgpt.me](https://chat9.fastgpt.me/) | `g4f.Provider.FastGpt` | ✔️ | ❌ | ✔️ | ❌ |  | ❌ |
433
453
| [forefront.com](https://forefront.com) | `g4f.Provider.Forefront` | ✔️ | ❌ | ✔️ | ❌ |  | ❌ |
434
454
| [chat.getgpt.world](https://chat.getgpt.world/) | `g4f.Provider.GetGpt` | ✔️ | ❌ | ✔️ | ❌ |  | ❌ |
435
| [liaobots.com](https://liaobots.com) | `g4f.Provider.Liaobots` | ✔️ | ✔️ | ✔️ | ✔️ |  | ❌ |
455
| [gpt-gm.h2o.ai](https://gpt-gm.h2o.ai) | `g4f.Provider.H2o` | ❌ | ❌ | ✔️ | ✔️ |  | ❌ |
456
| [komo.ai](https://komo.ai/api/ask) | `g4f.Provider.Komo` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
457
| [ai.okmiku.com](https://ai.okmiku.com) | `g4f.Provider.MikuChat` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
458
| [open-assistant.io](https://open-assistant.io/chat) | `g4f.Provider.OpenAssistant` | ❌ | ❌ | ✔️ | ✔️ |  | ✔️ |
459
| [www.perplexity.ai](https://www.perplexity.ai) | `g4f.Provider.PerplexityAi` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
460
| [talkai.info](https://talkai.info) | `g4f.Provider.TalkAi` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
436
461
| [p5.v50.ltd](https://p5.v50.ltd) | `g4f.Provider.V50` | ✔️ | ❌ | ❌ | ❌ |  | ❌ |
462
| [app.vitalentum.io](https://app.vitalentum.io) | `g4f.Provider.Vitalentum` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
463
| [wewordle.org](https://wewordle.org) | `g4f.Provider.Wewordle` | ✔️ | ❌ | ❌ | ✔️ |  | ❌ |
437
464
| [chat.wuguokai.xyz](https://chat.wuguokai.xyz) | `g4f.Provider.Wuguokai` | ✔️ | ❌ | ❌ | ❌ |  | ❌ |
438
465
| [chat.ylokh.xyz](https://chat.ylokh.xyz) | `g4f.Provider.Ylokh` | ✔️ | ❌ | ✔️ | ✔️ |  | ❌ |
439
466
440
467
### Other Models
441
468
@@ -14,6 +14,7 @@ from .Provider import (
14
14
AItianhu,
15
15
Liaobots,
16
16
Yqcloud,
17
GeekGpt,
17
18
Myshell,
18
19
FreeGpt,
19
20
NoowAi,
@@ -22,6 +23,7 @@ from .Provider import (
22
23
GPTalk,
23
24
AiAsk,
24
25
GptGo,
26
Phind,
25
27
Ylokh,
26
28
Bard,
27
29
Aibn,
@@ -43,7 +45,7 @@ default = Model(
43
45
Bing, # Not fully GPT 3 or 4
44
46
Yqcloud, # Answers short questions in chinese
45
47
ChatgptDuo, # Include search results
46
Aibn, Aichat, ChatgptAi, ChatgptLogin, FreeGpt, GptGo, Myshell, Ylokh,
48
Aibn, Aichat, ChatgptAi, ChatgptLogin, FreeGpt, GptGo, Myshell, Ylokh, GeekGpt
47
49
])
48
50
)
49
51
@@ -54,7 +56,7 @@ gpt_35_long = Model(
54
56
best_provider = RetryProvider([
55
57
AiAsk, Aichat, ChatgptDemo, FreeGpt, Liaobots, You,
56
58
GPTalk, ChatgptLogin, GptChatly, GptForLove, Opchatgpts,
57
NoowAi,
59
NoowAi, GeekGpt
58
60
])
59
61
)
60
62
@@ -63,7 +65,8 @@ gpt_35_turbo = Model(
63
65
name = 'gpt-3.5-turbo',
64
66
base_provider = 'openai',
65
67
best_provider = RetryProvider([
66
ChatgptLogin, ChatgptAi, GptGo, AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
68
GeekGpt, ChatgptLogin, ChatgptAi, GptGo,
69
AItianhu, Aichat, AItianhuSpace, Myshell, Aibn, FreeGpt, Ylokh
67
70
])
68
71
)
69
72
@@ -71,7 +74,7 @@ gpt_4 = Model(
71
74
name = 'gpt-4',
72
75
base_provider = 'openai',
73
76
best_provider = RetryProvider([
74
Bing
77
Bing, GeekGpt, Liaobots, Phind
75
78
])
76
79
)
77
80
@@ -161,7 +164,7 @@ code_davinci_002 = Model(
161
164
gpt_35_turbo_16k = Model(
162
165
name = 'gpt-3.5-turbo-16k',
163
166
base_provider = 'openai',
164
best_provider = Vercel)
167
best_provider = gpt_35_turbo.best_provider)
165
168
166
169
gpt_35_turbo_16k_0613 = Model(
167
170
name = 'gpt-3.5-turbo-16k-0613',