The Original Flavors
In OpenAI’s documentation there are 4 models under GPT-3 category and 2 coding models. They cost from $0.02 to $0.0004 per 1k tokens as the base model and the fine-tuned versions cost even more.
- text-davinci-003
- text-curie-001
- text-babbage-001
- text-ada-001
- code-davinci-002
- code-cushman-001
The playground can test them all using the web interface.
Let’s see how good they are comparing to the free ChatGPT.
To ChatGPT webpage:
Who is Paul Graham?
Paul Graham is an American computer scientist, entrepreneur, and investor. He is best known as the co-founder of the startup accelerator and seed capital firm Y Combinator.
Born in 1964 in England, Graham grew up in the United States and attended Cornell University, where he earned a bachelor’s degree in philosophy. He went on to earn a Master’s degree and PhD in computer science from Harvard University.
Graham has founded several startups throughout his career, including Viaweb, which was one of the first web-based applications for e-commerce and was acquired by Yahoo! in 1998. He has also written several influential essays on technology and entrepreneurship, which have been published on his website, paulgraham.com.
In addition to his work with Y Combinator, Graham is also an investor in several successful startups, including Airbnb, Dropbox, and Reddit. He has been widely recognized for his contributions to the technology industry and was included in Time Magazine’s list of the 100 most influential people in the world in 2011.
To text-davinci-003 in playground webpage, default temperature(0.7), maximum length(3900) :
Who is Paul Graham?
Paul Graham is an entrepreneur, venture capitalist, and computer scientist. He is best known as the co-founder of Y Combinator, a technology startup incubator and seed capital fund based in Silicon Valley. Graham has invested in many successful startups, including Dropbox, Airbnb, Stripe, and Reddit. He is also the author of several influential essays on technology, business, and startup culture.
To text-curie-001 in playground webpage, default temperature(0.7), maximum length(2000) :
Who is Paul Graham?
Paul Graham is the co-founder of the startup accelerator Y Combinator and the co-founder of the web development company Graham Holdings Company. He is also a writer and investor.
To text-babbage-001 in playground webpage, default temperature(0.7), maximum length(2000) :
Who is Paul Graham?
Paul Graham is an American entrepreneur and venture capitalist, who is the co-founder and CEO of the startup accelerator, The Graham Group. He is also the co-founder, CEO, and chairman of the board of trustees for the University of Southern California.
To text-ada-001 in playground webpage, default temperature(0.7), maximum length(2000) :
Who is Paul Graham?
Paul Graham is a computer scientist and entrepreneur who is the co-founder of Cogito, a nonprofit news organization.
All these API based GPT-3 models are not even close comparing to ChatGPT. I decide to go further for extra unofficial models.
The Leaked Flavors
ChatGPT API
Thanks to waylaidwanderer for creating, maintaining the NPM package and the Github repo.
In the repo, where talked a lot on the discovery of leaked ChatGPT raw models and its reverse proxy. That looks like a sort of API hacking but legit to me. I skipped the Bing’s GPT-4 or so called Bing-Chat since I don’t have access to.
Download the files following the instruction
git clone https://github.com/waylaidwanderer/node-chatgpt-api
Install dependencies with
npm i -g @waylaidwanderer/chatgpt-api
npm install fastify
Create and copy an API key from OpenAI account page if have not already.
Open session page to copy the accessToken
at the bottom.
Go to node-chatgpt-api
directory and rename settings.example.js
to settings.js
Put the copied accessToken
into openaiApiKey: rocess.env.OPENAI_API_KEY || ''
Remove //
for reverseProxyUrl
and model
, set URL to https://chatgpt.hato.ai/completions
and set a model name from below:
#default, use offical api keys start with 'sk-' instead
text-davinci-003
#leaked, free
text-davinci-002-render
text-chat-davinci-002-20221122
text-chat-davinci-002-sh-alpha-aoruigiofdj83
#paid
text-davinci-002-render-paid
text-davinci-002-render-sha
#patched, no longer working
text-chat-davinci-002-20230126
text-chat-davinci-002-sensitive-20230126
Now in a terminal, go to the directory by cd node-chatgpt-api
Start the server by npm run server
and keep it running
Start the client in another terminal by npm run cli
and input prompts
Late to the Party
While I’m writing this article, the leaked models that using reverse proxy became extremely unstable. It returns errors and irrelevant senseless outputs, often disconnects.
Therefore, I won’t continue unless it is back to stable again.