OpenAI CLI is a command-line tool for sending requests to the OpenAI API from a terminal. It is aimed at developers and people who want to call OpenAI models from scripts or shell sessions without writing their own client code.
The source code is public under the Apache-2.0 license and the project is published by OpenAI on GitHub. It is available for Windows through the winget package manager. Its listed tags cover the API, GPT and LLM topics.
Alternatives to OpenAI CLI
Products that do a similar job in AI Tools.
Codex
Coding agent that runs in the terminal
goose
Open source AI agent that installs, runs, edits and tests code with any LLM
Jan
Offline desktop chat app for running language models locally
oh-my-openagent
Command-line tool that works with AI coding agents such as Claude and Codex
Kilo Code
Open source AI coding agent for the terminal and VS Code
oh-my-pi
Command-line coding agent with editor integration built in
aider
terminal-based AI pair programmer that edits code in your git repo
Devin CLI
Terminal coding agent that connects to Devin Cloud