llmck
v0.1.1
Published
Terminal CLI to list and test OpenAI-compatible and Claude API models.
Readme
llmck
Terminal CLI to list models and test a response from OpenAI-compatible and Claude/Anthropic APIs.
Usage
npx llmckOr pass values directly:
npx llmck --provider auto --base-url https://api.example.com/v1Use environment variables to avoid putting keys in shell history:
LLM_BASE_URL=https://api.example.com/v1 LLM_API_KEY=sk-xxx npx llmckPowerShell:
$env:LLM_BASE_URL="https://api.example.com/v1"
$env:LLM_API_KEY="sk-xxx"
npx llmckProviders
openai: OpenAI-compatible APIs usingAuthorization: Bearer.claude: Claude/Anthropic native API usingx-api-keyandanthropic-version.auto: detects by hostname first, then probes both providers.
Options
--provider auto|openai|claude
--base-url <url>
--api-key <key>
--model <model>
--prompt <text>
--timeout <seconds>
--debugNotes
The CLI masks API keys in output. Use --debug to print endpoint, HTTP status, raw response, and a masked curl example when errors occur.
