We now provide three ways of accessing the unofficial ChatGPT API, all of which have tradeoffs:
Method | Free? | Robust? | Quality? |
---|---|---|---|
ChatGPTAPI
| ❌ No | ✅ Yes | ☑️ Mimics ChatGPT |
ChatGPTUnofficialProxyAPI
| ✅ Yes | ☑️ Maybe | ✅ Real ChatGPT |
ChatGPAPIBrowser (v3)
| ✅ Yes | ❌ No | ✅ Real ChatGPT |
Note: I recommend that you use either ChatGPTAPI
or ChatGPTUnofficialProxyAPI
.
ChatGPTAPI
- Usestext-davinci-003
to mimic ChatGPT via the official OpenAI completions API (most robust approach, but it's not free and doesn't use a model fine-tuned for chat)ChatGPTUnofficialProxyAPI
- Uses an unofficial proxy server to access ChatGPT's backend API in a way that circumvents Cloudflare (uses the real ChatGPT and is pretty lightweight, but relies on a third-party server and is rate-limited)ChatGPTAPIBrowser
- (v3.5.1 of this package) Uses Puppeteer to access the official ChatGPT webapp (uses the real ChatGPT, but very flaky, heavyweight, and error prone)
- Merge pull request #364 from transitive-bullshit/feature/unofficial-proxy-api ef0e341
- 🐏 28ae98d
- 🚍 6110f23
- 🤛 e1ad9ea
- 🔑 29ac584
- 😰 c5c1937
- 🛒 a5272b7
- 🗡 b925587
- 💞 ac53265
- 📘 26c48d1
- feat: add ChatGPTUnofficialProxyAPI 6d81552
- Merge pull request #354 from waynejohny/patch-1 f2f2096
- Update readme.md 60c43c1