OpenAI CLI Pricing
| Plan | Price | Notes |
|---|---|---|
| Open source CLIofficial source ↗ | $0checked 2026-10-23 | Apache-2.0; prebuilt binaries for macOS, Linux and Windows, Homebrew or go install |
| OpenAI API usage (pay as you go)official source ↗ | Usage-basedchecked 2026-10-23 | Requests made through the CLI are billed to your OpenAI API account at standard API rates |
structured from cited official pricing sources: “The CLI is free and open source under the Apache License 2.0. It calls the OpenAI API with your own API key (OPENAI_API_KEY, plus OPENAI_ADMIN_KEY for admin endpoints), so every request is billed at standard OpenAI API rates; see the OpenAI API pricing page.”
Self-hosting cost
OpenAI CLI is open source. Self-hosting does not add a software license fee, but you still pay for infrastructure, operations, and any external model or API usage.
Free & cheaper Terminal & CLI Tools
same category, free plan or open-source license
FAQ
How much does OpenAI CLI cost?
The CLI is free and open source under the Apache License 2.0. It calls the OpenAI API with your own API key (OPENAI_API_KEY, plus OPENAI_ADMIN_KEY for admin endpoints), so every request is billed at standard OpenAI API rates; see the OpenAI API pricing page.
Does OpenAI CLI have a free plan?
Yes — OpenAI CLI is open source and free to use.
Can you self-host OpenAI CLI for free?
OpenAI CLI is open source. Self-hosting does not add a software license fee, but you still pay for infrastructure, operations, and any external model or API usage.
What are free or cheaper OpenAI CLI alternatives?
Claude Code, Ghostty, Warp are in the same category with a free plan or open-source license.
pricing is editorial catalog data (last verified October 23, 2026) — vendors change plans; confirm on the official site before you buy. Reuse this data under CC-BY 4.0 via /data.