[LIVE] [hosseinvatankhah0/modelprobe] 2 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,156 characters
Status: [LIVE]
Endpoints found:
https://openrouter.ai/api/v1
https://openrouter.ai/api/v1/models
Source: https://github.com/hosseinvatankhah0/modelprobe
# modelprobe
> **Probe any LLM API with a key — find out which models actually respond, and which ones are free.**
[](https://www.npmjs.com/package/modelprober)
[](./LICENSE)
[](./package.json)
`modelprobe` takes a **base URL** + **API key**, discovers every model the provider exposes, sends a
real (tiny) request to each one, and tells you exactly what works:
- ✅ which models respond
- 🆓 which of them are **free**
- 💸 which ones cost money (and how much, per 1M tokens)
- 🔑 whether your key is valid, out of credit, or just rate-limited
Works with **any OpenAI-compatible endpoint** (OpenAI, DeepSeek, Groq, OpenRouter, Together, Mistral,
xAI, Cerebras, SiliconFlow, Moonshot, GLM, Qwen, OneAPI/NewAPI, vLLM, Ollama, LM Studio, …) plus
**Anthropic** and **Google Gemini** style APIs.
---
## Install
```bash
npm i -g modelprober
# یا بدون نصب:
npx modelprober
```
Requires Node.js 18+. No runtime dependencies.
> **نکته:** اسم پکیج روی npm **`modelprober`** هست (`modelprobe` قبلاً توسط پکیج دیگری رزرو شده بود و npm اسم مشابه رو بلاک میکرد).
> بعد از نصب، هر دو دستور `modelprober` و `modelprobe` کار میکنن.
---
## Quick start
### حالت تعاملی (سادهترین راه)
```bash
npx modelprober
```
```
🔍 modelprobe — تست مدلهای API
Base URL یا اسم پرووایدر (مثلاً openrouter، deepseek، ollama): openrouter
→ https://openrouter.ai/api/v1 (openai)
API Key (متغیر محیطی پیشنهادی: OPENROUTER_API_KEY): ********
```
The API key is read from the terminal **without echoing** it.
### با فلگ
```bash
npx modelprober --base-url https://api.deepseek.com --api-key sk-xxx
npx modelprober --provider openrouter --fre