OpenAI CLI Commands
Manage and test OpenAI provider via the command line.Environment Setup
Commands
Check Provider Status
JSON Output
Test Provider
Test with JSON Output
Chat with OpenAI
List All Providers
Advanced Usage
Custom Base URL (Proxy)
With Organization ID
Verbose Output
Options Reference
| Option | Description |
|---|---|
--json | Output in JSON format |
--verbose | Show detailed information |
--model <model> | Specify model for test |
Troubleshooting
Missing API Key
Connection Error
Invalid Model
gpt-4o-mini, gpt-4o, or gpt-4-turbo.

