# Repository Briefing: MoonshotAI/Kimi-Vendor-Verifier
> Source: https://repoforai.com/repo/MoonshotAI/Kimi-Vendor-Verifier (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/MoonshotAI/Kimi-Vendor-Verifier
- **Category**: LLMs & Inference (大模型与推理微调)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: CLI, API
- **Momentum**: 216 ★ total (+0 24h / +3 7d) · 38 forks
- **When to Use**: Best for: Teams qualifying a hosted or self-hosted Kimi endpoint and needing to separate API compatibility failures from model-quality regressions. Skip if: You need an inference server, a model-agnostic leaderboard, or service-level latency, throughput, and cost testing.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Execution split: Inspect AI scores model tasks; standalone pytest suites exercise raw chat-completions contracts.
- Schema validation: MFJS fixtures force tool calls, then `jsonschema` checks arguments in both regular and reassembled streaming responses.
- Backend compatibility: `--think-mode` selects Kimi or open-source request conventions; `KVV_TOKEN_PARAM` selects the output-token field for pytest and BEAM.
- Usage accounting: Text and vision fixtures verify streamed `usage.prompt_tokens`, with documented vLLM-specific adjustments.
- Tool-use coverage: Production regressions test single-step correction; Pier-hosted DeepSWE adds 113 multi-step coding-agent tasks.
- Long-context coverage: Standalone BEAM tests memory over 1M-token conversations; separate K3 and K3.1 Pro tables provide provider baselines.
```

## Quick Start / Clone
```bash
uv sync && uv pip install -e .
```
