model-catalog
Run the following command in DeepSeek Harness:
dsh plugin install JohnXu22786/model-catalog
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install JohnXu22786/model-catalog in your DeepSeek Harness terminal to install this plugin (source: https://github.com/JohnXu22786/model-catalog).
About this plugin
Plugging into an OpenAI-compatible host inside the dsh ecosystem means model listings, per-token or per-million pricing, context windows, and capability flags are scattered across different endpoints in mismatched units. Manually scraping each endpoint, converting quota multipliers and per-call fees into a common scale, and hand-editing the config is tedious and error-prone, especially when you rotate gateways or add a local Ollama instance. model-catalog removes that chore: set a baseUrl, and it probes, fetches, normalizes, and emits ready-to-use configs automatically.
Three pillars drive the work. First, host-type auto-detection covers six shapes—the bare standard endpoint, rich-metadata gateways, quota-multiplier relays, capability-flag proxies, Ollama, and vLLM—with a manual override when every probe fails. Second, end-to-end pricing normalization flattens USD-per-token strings, scientific-notation numbers, multiplier-based quota pricing, and per-call fees into a single USD-per-million scale, with a traceable source chain and structured tiers for DeepSeek's peak/off-peak dynamic billing. Third, optional live capability probing fires minimal requests to verify tool calling, structured output, and streaming when metadata is silent, caching results per host and model for 24 hours and halting on 401/403 to protect your quota.
The output is three files: catalog.json (full normalized directory), dsh-models.json (a config fragment the harness ingests directly), and report.md (a human-readable summary including unknown-pricing and dynamic-billing notes). It is built for developers who already connect dsh to several API providers, relay gateways, or local inference services and want a single clean, auditable model catalog instead of re-typing fields by hand.
Use Cases
- Bulk-pull model listings, context windows, and capability flags from multiple OpenAI-compatible gateways
- Flatten quota multiplier, per-call, and per-token pricing into a uniform USD-per-million scale
- Generate a ready-to-use dsh config fragment with zero manual field entry
Best For
- Developers connecting dsh to multiple API providers or local inference engines
- Platform ops teams standardizing model pricing and capability metadata across gateways
- AI application developers who want to eliminate repetitive per-field config work
Related Plugins
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.
An armor-breaking plugin for DeepSeek: rewrites instruction priority, expands refusal-blocked phrases, persists across sessions, and shows a green active indicator.