Skip to content
G

Gptcli

ChatGPT in command line with OpenAI API (gpt-3.5-turbo/gpt-4/gpt-4-32k)

by evilpanFree

#4401in AI
0In stores

Description

gptcli is a simple chat client for OpenAI models that runs as a single Python script in your terminal. It defaults to gpt-3.5-turbo, can be…

Highlights

  • Single Python script terminal chat client
  • Works with OpenAI-compatible APIs and models
  • Session context and saved sessions in Markdown or JSON
  • Streaming output with Markdown rendering
  • HTTP, HTTPS, SOCKS4A and SOCKS5 proxy support

Ratings & Reviews

No ratings yet

Be the first to rate Gptcli.

People also visit

C

Chatgpt

ChatGPT Console client in Golang

AI
Launch
T

TerminalGPT

Get GPT like chatGPT on your terminal

AI
Launch
C

Chatgpt Web

Pure Javascript ChatGPT demo based on OpenAI API

AI
Launch
G

GPT Anywhere

Use GPT anywhere with just one shortcut

AI
Launch
C

Codex Chatgpt Web

Use ChatGPT Web (including Pro) as a native model in Codex

AI
Launch
C

Chat

chat web app for teams, sass with user management and ratelimit, support…

AI
Launch

Gptcli FAQ

What do I need to use it?

Python with the packages in requirements.txt, and an OpenAI API key set in conf/config.json or in the OPENAI_API_KEY variable.

Can I use other APIs with it?

Yes. The base URL can point to any OpenAI-compatible server, such as Azure OpenAI Service or a proxy.

Which models does it support?

It defaults to gpt-3.5-turbo and can be set to other chat models, including gpt-4 and gpt-4-32k.

Can I save a conversation?

Yes. Sessions can be saved and loaded as Markdown or JSON files with the .save and .load commands.

Can I run it in Docker?

Yes. The README includes a Docker run section.

What are the best Gptcli alternatives?

Popular alternatives to Gptcli include Chatgpt, TerminalGPT and Chatgpt Web. See all Gptcli alternatives

Developer Stuff

Badges