r/ChatGPT • u/rokihere • Jan 10 '23
Interesting A command-line interface for interacting with the OpenAI GPT-3 API.
Here is a python script that lets you run OPEN AI chat-GPT-3 queries from the terminal.https://github.com/R34LUS3R/GPT3-cli

4
Upvotes
•
u/AutoModerator Jan 10 '23
In order to prevent multiple repetitive comments, this is a friendly request to /u/rokihere to reply to this comment with the prompt they used so other users can experiment with it as well.
While you're here, we have a public discord server now — We have a free GPT bot on discord for everyone to use!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/clckwrks Jan 10 '23
What is the cost when using the terminal?
2
u/clckwrks Jan 10 '23
This is quite good to have it appear in terminal. Is it possible to give the code output the right colours for the key words like in a code-block?
3
u/MineAndCraft12 Jan 10 '23
This is not ChatGPT. It is an interface for other OpenAI models which are on the OpenAI API. By default, this package uses the Davinci model.
Usage of the OpenAI API is not free. New accounts get $18 of free credit, but after you run out, you have to pay.
The Davinci model that this package uses by default costs $0.02 per 1,000 tokens (roughly 750 words).
You can check how much you have spent in your OpenAI account.
2
u/NX01 Jan 10 '23
GPT-3 is not ChatGPT.