Skip to content

Commit c109788

Browse files
committed
Add a note to the readme about paying for Gptcmd API calls and spending limits.
1 parent 5a69215 commit c109788

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Gptcmd allows you to interact with OpenAI's chat-based models (`gpt-3.5-turbo` a
44
## Getting started
55
Gptcmd requires [Python](https://python.org) 3.7.1 or later. It is available on PyPI, and can, for instance, be installed with `pip install gptcmd` at a command line shell. Running `gptcmd` at a shell starts the application. If Python's `bin` or `scripts` directory isn't on your path, you may need to launch the application with a command like `~/.local/bin/gptcmd` (depending on your system configuration). In most cases though, `gptcmd` should "just work".
66

7-
Gptcmd searches for an OpenAI API key in the `OPENAI_API_KEY` environment variable. If no key was found, Gptcmd will ask for it at launch. If you don't have an API key, you'll need to create an OpenAI account if you don't have one, then [generate a key](https://beta.openai.com/account/api-keys).
7+
If you don't have an OpenAI account, you'll need to create one and [add your credit card](https://platform.openai.com/account/billing/overview). To manage costs, you can [set a monthly hard limit](https://platform.openai.com/account/billing/limits) ($5 or so goes very far, especially on `gpt-3.5-turbo`).
8+
9+
Gptcmd searches for an OpenAI API key in the `OPENAI_API_KEY` environment variable. If no key was found, Gptcmd will ask for it at launch. If you don't have an API key, you'll need to [generate a key](https://beta.openai.com/account/api-keys).
810

911
Once Gptcmd starts, it presents a prompt containing the name of the currently active model and waits for user input. Running the `quit` command (typing `quit` at the prompt and pressing <kbd>Return</kbd>) exits the program.
1012

0 commit comments

Comments
 (0)