kardolus / chatgpt-cli

ChatGPT CLI is an advanced command-line interface for ChatGPT models via OpenAI and Azure, offering streaming, query mode, and history tracking for seamless, context-aware conversations. Ideal for both users and developers, it provides advanced configuration and easy setup options to ensure a tailored conversational experience with the GPT model.
MIT License
404 stars 28 forks source link

Update Readme on Chatgpt vs OpenAI API models? #12

Closed cameronelliott closed 9 months ago

cameronelliott commented 9 months ago

This is a great project!

But, in my quest for looking for a way to use the same model that "chat.openapi.com" uses also from the CLI as the browser, I guess I need to keep looking.

I mean of course it's really Openapi's decisions not to offer the ChatGPT model via an API yet.

I think it would benefit this project, if it went to a little bit of effort to explain that in the Readme.

The fact that you can access many different OpenAI models via their APIs, but the ChatGPT model is not yet available.

It would also be worth mentioning the pricing difference.

kardolus commented 9 months ago

Hello @cameronelliott,

Thank you for your feedback and for bringing attention to the model availability and pricing differences between the web-based platform and the API endpoint.

I will update the README accordingly.

OpenAI indeed has a pattern of debuting new features and models on their web platform (chat.openai.com) before extending them to the API (api.openai.com). I find the $20 monthly subscription worthwhile for gaining early access to new features like file upload and plugin utilization, despite the cost-effectiveness of API calls via the CLI. The staggered release strategy does provide an incentive to maintain the monthly subscription.

I am on Microsoft's waiting list for their version of ChatGPT. It's fascinating to see established companies like Stripe and Shopify leveraging it already. I've configured the API endpoint and paths to be adjustable, allowing for the potential switch to a different vendor, as illustrated below:

name: openai
model: gpt-4-0613
max_tokens: 8192
role: You are a helpful assistant.
thread: default
omit_history: false
url: https://api.openai.com
completions_path: /v1/chat/completions
models_path: /v1/models

I haven't received feedback yet though from folks using the CLI with Microsoft's version of ChatGPT, but I'm looking forward to any insights that might come from the community.

Looking forward to hearing more of your thoughts!

kardolus commented 9 months ago

I updated the README as well. Here's the commit: https://github.com/kardolus/chatgpt-cli/commit/b0030c705acf2c91bd83ee14ff634026a9b359b4