Self-contained Windows LLM statistical fingerprint and relay verification toolkit (lmfpd) with Smart Auto-Heal, universal catalog scanner, and kinetic Moonlight UI.
  • Batchfile 100%
Find a file
2026-12-02 16:42:42 -05:00
DeadMoon_Universal_API_Verify_ScriptV2.2.cmd Create DeadMoon_Universal_API_Verify_ScriptV2.2.cmd 2026-11-06 21:41:47 -05:00
LICENSE Initial commit 2026-11-06 21:34:34 -05:00
README.md docs: update README from DeadMoon suite master bundle 2026-12-02 16:42:42 -05:00

🌕 DeadMoon-Universal-API-Verify-Script 🌙

100% Self-Contained Windows LLM Fingerprint & Relay Verification Toolkit with Smart Auto-Heal, Universal Catalog Scanner & Kinetic Moon UI

DeadMoon Suite Platform Bun Runtime Engine License

Part of the DeadMoon Tool Suite by @Deadplayerdmr


🖥️ Terminal Preview

      *   d~~b  .        .================.        .   d~~b   *
   .    d  b      .==='  .------------.  '===.      d  b     .
      *          /   .-'    .      o    '-.   \              *
               /  .'   o       .      .   '.  \        .
    *         [===]  .    /        \    .  [===]   .       *
        (( .--[===]     \____/    \____/   [===]--. ))   d~b
        ((    [===]   o      .----.      O [===]    ))   d b
    .    '--- [===]    .    /      \   .   [===] ---'
       *       \  '.     .            o  .'  /       *
    .           '.  '-.    o   .   .  .-'  .'     .
         *        '===='--------------'===='          .

  ════════════════════════════════════════════════════════════════════════════
      🌕   D E A D M O O N   //   A P I   V E R I F Y   S C R I P T   🌙
      Self-Contained LLM Fingerprint & Relay Verifier  •  Part of the DeadMoon Tool Suite by @Deadplayerdmr
  ════════════════════════════════════════════════════════════════════════════

🌙 Overview

DeadMoon-Universal-API-Verify-Script is a 100% self-contained, portable Windows CLI toolkit that wraps Ikaleio/lm-detector (lmfpd@latest) to statistically fingerprint and verify upstream Large Language Models (LLMs) across OpenRouter and any custom 3rd-party OpenAI- or Anthropic-compatible API relay.

Unofficial third-party API relays and aggregators can sometimes silently downgrade, quantize, or spoof models behind a system prompt. DeadMoon Universal API Verify Script makes running cryptographic token-distribution fingerprinting effortless on Windows 10/11 with zero global Node.js or Bun installation required.


✨ Key Features & Architecture (v2.2)

  • 🌕 Animated Moon Boot Splash & UI: Features an animated ASCII crest modeled after the DeadMoon headphone logo complete with floating music notes, pulsing headphone soundwaves, twinkling stars, and a smooth single-line 25% -> 50% -> 75% -> 100% progress bar.
  • 🧠 Smart Auto-Config Mode ([M]): Enabled by default. Automatically probes provider endpoints, selects optimal protocol routes (-a cc vs -a message), extends timeouts for reasoning models (opus, r1, o1, o3), and self-heals by dynamically catching dropped SSE streams (missing finish status) or concurrency/rate-limit blocks (HTTP 402/429/503) to auto-retry with non-streaming (-ns) or sequential (-p 1) protection.
  • 🔐 Local API Key Vault ([K] & [V]): Optionally saves your API key locally inside ./lm_detector_deps/saved_apikey.txt so you never have to re-paste it on startup, paired with a dedicated [V] viewer to reveal your full saved key anytime.
  • 🔍 Universal Catalog Scanner ([3]): Bypasses gateway pagination caps to fetch the full model catalog (e.g., 420+ models on OpenRouter) and features multi-word fuzzy search with automatic closest-match fallback.
  • 📡 Dual-Protocol Diagnostic Ping ([4]): Fires a 1-request latency and compatibility test against both /v1/chat/completions (OpenAI format) and /v1/messages (Anthropic native format) side-by-side.
  • 📦 Zero Global Dependencies: Automatically downloads a portable instance of the Bun runtime and installs lmfpd@latest inside a local ./lm_detector_deps folder on first launch.

🚀 Quick Start (Windows 10 / 11)

  1. Download DeadMoon_Universal_API_Verify_ScriptV2.2.cmd from the repository or the Releases page and place it in its own folder.
  2. Double-click DeadMoon_Universal_API_Verify_ScriptV2.2.cmd to launch.
  3. On first launch, pick your Base URL (OpenRouter or Custom 3rd-Party URL) and paste your API Key.
  4. Choose whether to save your API Key locally for future sessions.

🎛️ Interactive Menu Reference

Option Action Description
[1] Verify a Single Model Type an exact model ID (e.g., anthropic/claude-opus-4.6, openai/gpt-4.1, deepseek/deepseek-r1)
[2] Batch-Verify Models Verify a comma- or space-separated queue of model IDs
[3] Auto-Detect Provider Catalog Fetch the full /models catalog, fuzzy-filter by keyword, and pick models by number/range
[4] Quick Diagnostic Ping Test /v1/chat/completions (-a cc) and /v1/messages (-a message) side-by-side
[M] Smart Auto-Config Mode Auto-tunes protocol and self-heals on dropped SSE streams or rate-limit errors
[6]–[9], [S] Manual Protocol Toggles Toggle Anthropic Messages (-a message), Sequential (-p 1), Non-Streaming (-ns), Tokenizer Probe, or Strict Scoring (-s)
[5] / [K] / [V] Endpoint & API Key Vault Switch Base URL, manage local/session API keys, or reveal your saved key
[R] / [I] / [U] Tuning, Offline Analysis & Updates Adjust rounds/samples/effort, re-analyze saved report_*.json files offline, or update lmfpd@latest

📚 Credits, Citations & Upstream Attributions

This project is an interactive Windows batch/JS frontend and relay-compatibility wrapper built around:


📄 License

Distributed under the MIT License. All upstream packages fetched at runtime (lmfpd and bun) remain under their respective authors' licenses.


🌌 The DeadMoon Tool Suite

Repository Role in the Ecosystem
🌕 DeadMoon-Download-Bot Whitelisted 8-platform Telegram audio acquisition bot with direct lossless engines, lock-free scheduler & 477 offline tests
📻 DeadMoon-Radio-Telegram-Synchronizer Dockerized Telegram radio bot & dynamic 1280×720 RTMPS audio-visual livestream engine with 3-tier metadata auto-probe
🤝 DeadMoon-Trade-Bot Dockerized Telegram music & dubplate escrow bot with native-SR SoX spectrograms, FTS5 catalog indexer & group trade board
📡 DeadMoon-Telegram-Scraper Single-file Windows polyglot Telegram channel/group exporter with 4-layer URL intelligence, granular media harvesting & QR login
🤖 DeadMoon-OpenHands-Launcher Zero-friction Windows launcher & installer for OpenHands with kinetic ASCII UI & automatic winnat port recovery
📚 DeadMoon-RaveBSD-Launcher Zero-friction Windows installer & launcher for RaveBSD 2.0 with kinetic ASCII UI, auto-Docker setup & Downloads mapping
🎓 DeadMoon-Scholarly-Harvester Single-file Windows polyglot scholarly PDF harvester with 7-API Recursive Omni-Resolver, 25-source Quality Judge & Command Deck WebUI
🌾 DeadMoon-Credential-Harvester Local Tampermonkey userscript (2.3v) for harvesting streaming ARLs, OAuth tokens, Netscape cookies & Widevine .wvd bundles
🔐 DeadMoon-Unified-Spotify-Provisioner Automated Windows polyglot provisioner for Spotify Premium sp_dc cookies & Android Widevine L3 device.wvd CDMs
🎶 DeadMoon-Playlist-Transfer-Tool Single-file Windows polyglot tool for migrating Deezer Favorites (Artists, Albums & Playlists) via CSV
🔍 DeadMoon-Universal-API-Verify-Script Self-contained Windows LLM statistical fingerprint verifier (lmfpd) with Smart Auto-Heal & catalog scanner

🌕 DeadMoon-Universal-API-Verify-Script 🌙 — Crafted by @Deadplayerdmr