MoonshotAI/Kimi-Vendor-Verifier
A CLI harness for scoring Kimi deployments and checking vendor API contracts
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
KVV is a Python 3.12+ CLI benchmark harness and API verifier, not an inference server. Its two main paths have different jobs: eval.py runs scored tasks through Inspect AI, with kimi_model registered as an inspect_ai entry point, while standalone pytest suites send chat-completions requests directly to the deployment under test. BEAM has a separate script path, and the DeepSWE agent benchmark runs externally on Pier.
The direct API path preserves fields that an evaluation adapter could normalize or reject before transmission, including messages[].tools and malformed tool declarations. For schema checks, the verifier forces a tool call using a test fixture, reassembles streamed arguments when needed, and validates them locally with jsonschema. The manifest includes the OpenAI SDK and httpx[http2] for client-side API work, plus pytest-xdist and pytest-rerunfailures for parallel execution and retries.
Key Capabilities & Differentiators
The scored suite separates OCRBench text recognition, MMMU Pro Vision visual QA, BEAM memory over 1M-token conversations, and single-step tool-call correction drawn from production regressions. DeepSWE adds 113 multi-step coding-agent tasks; it measures workflow completion rather than whether the model can fix one tool call. AIME 2025 remains available for earlier model generations but is not used for K3 evaluation.
The contract suites check parameter constraints, dynamic tools, response_format, tool_choice, thinking effort, malformed requests that should return HTTP 400, and streamed usage.prompt_tokens. The schema suite covers both streaming and non-streaming responses. Across the listed K3.1 Pro deployments at max effort, OCRBench ranges from 0.866 to 0.886 and BEAM from 0.3835 to 0.3976, while ToolCall scores range from 0.972 to 1.0. These are workload-specific comparison points, not general service-quality scores.
Trade-offs & Limitations
Compared with Inspect AI alone, KVV adds raw API checks that separate integration failures from weak task scores. Compared with a custom pytest suite, it adds shared Kimi fixtures and provider benchmarks, at the cost of a broader dependency stack and more endpoint-specific configuration. It is an acceptance harness for Kimi deployments, not a general LLM leaderboard or a load-testing tool.
Backend modes are not interchangeable: open-source mode uses reasoning_effort rather than the Kimi-specific thinking object, and skips Kimi platform-only cases within the K3 feature suite. The standalone prompt-token suite has its own open-source behavior: it requests streaming usage and adjusts expectations for measured vLLM counting differences. For a fair vendor comparison, record the mode, effort, token limit, concurrency, and case coverage. The published score tables do not establish latency, throughput, or cost, and full long-context runs can be substantially heavier than pre-flight checks.
Hardware & Deployment Guide
Install with Python 3.12+ and uv using uv sync && uv pip install -e .. Configure KIMI_BASE_URL, KIMI_API_KEY, and the vendor model ID; the pytest suites accept corresponding endpoint, key, and model flags. Run the applicable API checks first, then run scored tasks with eval.py. For pytest and BEAM, KVV_TOKEN_PARAM=max_completion_tokens selects that field instead of max_tokens; eval.py uses its CLI token-limit flag instead. Interrupted Inspect AI runs can be resumed with inspect eval-retry and a saved evaluation log.
KVV does not host model weights; the standard runner is an API client and does not require local GPU inference. It can target a self-hosted endpoint such as vLLM, but the serving hardware is a separate sizing problem, especially for BEAM. DeepSWE additionally needs a Pier setup with Kimi-code 0.29.0 or later. No GitHub release is listed; the package manifest is at 0.1.0. The visible evolution is in evaluation coverage: K3 drops AIME 2025 and adds reasoning-effort configuration.
jsonschema checks arguments in both regular and reassembled streaming responses.--think-mode selects Kimi or open-source request conventions; KVV_TOKEN_PARAM selects the output-token field for pytest and BEAM.usage.prompt_tokens, with documented vLLM-specific adjustments.Teams qualifying a hosted or self-hosted Kimi endpoint and needing to separate API compatibility failures from model-quality regressions.
You need an inference server, a model-agnostic leaderboard, or service-level latency, throughput, and cost testing.
Quick Start & Installation
uv sync && uv pip install -e .
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/MoonshotAI/Kimi-Vendor-Verifier.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Kimi-Vendor-Verifier
How do I connect an existing Kimi deployment?
eval.py for scored benchmarks through Inspect AI. Set --think-mode and the output-token parameter to match the endpoint. DeepSWE runs separately on Pier with Kimi-code 0.29.0 or later.What hardware and VRAM does the verifier need?
Can we use or self-host KVV commercially?
Why use KVV instead of Inspect AI or a custom pytest suite?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy