You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(benchmark): compare Kimi coding plan over Anthropic and OpenAI protocols #1269
The Terminal-Bench v11 comparison in #1217 used different API protocols:
Maka used the Anthropic-compatible Messages protocol.
Kimi Code used the OpenAI-compatible Chat Completions protocol.
Kimi supports both protocols, but Maka's Kimi connection is currently fixed to the Anthropic adapter. Protocol choice may change request serialization, reasoning replay, tool-call representation, usage reporting, and cache behavior.
A Maka-versus-Kimi-Code comparison cannot isolate that effect because the two harnesses also differ in system prompt, tools, and context policy.
Desired outcome
Allow the existing Kimi provider to select either protocol, then run a single-variable A/B within Maka.
Do not add a second Kimi provider or duplicate the model registry entry.
Before the benchmark, verify that both paths preserve:
max reasoning effort and reasoning replay;
tool-call IDs, arguments, and result pairing across multiple steps;
normalized usage and cache fields.
The A/B should hold the model, endpoint, prompt, tools, context policy, tasks, and time budget constant. Report pass rate, requests, input/cache/output tokens, latency, and cost where available.
Acceptance criteria
The existing Kimi provider supports explicit Anthropic or OpenAI protocol selection.
Contract tests cover reasoning replay, a multi-step tool loop, and usage normalization on both paths.
A smoke trace proves that protocol is the only intended request-shape difference.
I would like to take #1269 as the next implementation slice after #1336.
I audited the current Kimi provider and the request-level telemetry boundary from #1268/#1277. I propose this implementation/evidence boundary:
Add an explicit protocol selection to the existing Kimi connection/provider path; do not add a second Kimi provider or duplicate model registry entries.
Preserve the current default protocol and existing user configurations. Make the protocol choice visible and backward-compatible.
Add focused contract coverage for Anthropic-compatible and OpenAI-compatible multi-step tool loops, reasoning replay, tool-call/result pairing, normalized usage, cache fields, and request shape.
Run a controlled paired A/B with the model, endpoint, prompt, tools, context policy, tasks, and time budget held constant. Retain raw request telemetry, paired outcomes, token/cache/latency/cost metrics, and the exact protocol difference.
Change the default only if correctness is unchanged and the measured absolute token, latency, or cost metrics improve.
I will keep the first PR focused on protocol selection, provider contract tests, and benchmark harness/reporting. No provider duplication, silent default change, or unrelated model UX work. Please assign me if this boundary matches the current intent.
Activity
Nyvo-io commentedon Jul 22, 2026
I would like to take #1269 as the next implementation slice after #1336.
I audited the current Kimi provider and the request-level telemetry boundary from #1268/#1277. I propose this implementation/evidence boundary:
I will keep the first PR focused on protocol selection, provider contract tests, and benchmark harness/reporting. No provider duplication, silent default change, or unrelated model UX work. Please assign me if this boundary matches the current intent.
Astro-Han commentedon Jul 22, 2026
Assigned, look forward to your PR~