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
This analysis was performed by an AI agent (OpenHands) on behalf of @juanmichelini.
I downloaded all 8 archives and compared metadata + per-instance metrics. The headline finding is that the two endpoints look identical on the model side (same Kimi-k2.6) but very different on the LiteLLM-client side, and that explains most of the gap. There is also a non-trivial amount of run-to-run variance hiding inside the 3-percentage-point spreads.
1. The two configs are not actually identical
From metadata.json in each archive (same field for every benchmark):
Both endpoints route to Kimi-k2.6 on the proxy. But the model name string itself is what LiteLLM and the SDK use as the key into their model-metadata registry (context window, pricing, provider-specific request shaping, etc.). moonshot/kimi-k2.6 is a known entry; accounts/graham-openhands/deployments/mghcd1dc is an opaque deployment slug that LiteLLM has no entry for.
The downstream consequences of that mismatch are visible in every single LLM call.
2. The private endpoint loses model awareness on every call
Inspecting the token_usages records inside each output.jsonl (same instance django__django-13513 for direct comparison):
Public
Private
context_window reported by litellm
262144 (on all 37k calls)
0 (on all 40k calls)
Per-turn pricing
populated (costs[] non-empty)
empty — total cost reports as $0.00
Aggregating across the full benchmarks:
Benchmark
n
turns/inst (pub→priv)
completion_tokens/inst (pub→priv)
cache hit % (pub→priv)
ctx_window (pub→priv)
SWE-Bench Verified
500
74.9 → 81.7 (+9%)
25,245 → 34,255 (+36%)
97.6% → 96.3%
262144 → 0
SWT-Bench
433
48.6 → 51.9 (+7%)
12,499 → 16,859 (+35%)
96.9% → 95.3%
262144 → 0
GAIA
~163
26.0 → 28.0 (+8%)
14,177 → 19,383 (+37%)
93.5% → 93.3%
262144 → 0
Commit0
8 vs 15
82.6 → 200.6 (+143%)
47,504 → 194,135 (+309%)
97.1% → 96.4%
262144 → 0
The pattern is the same across all four benchmarks. The private endpoint reports context_window = 0 on every call, and the agent burns ~35% more completion tokens per instance to reach a worse answer. The model is producing more output but the per-turn quality is lower, so the agent has to iterate more and still ends up unresolved.
Wall-clock per instance corroborates this: private is roughly 2× faster per call (e.g. SWE-Bench 583s vs 1059s average duration), so the same task fits more low-quality turns into the same time budget.
3. Why this happens (most likely)
Because the private model identifier is an arbitrary deployment slug:
LiteLLM cannot look up the model's max_input_tokens / max_output_tokens / context window → these are reported as null / 0, and any client-side context-budgeting heuristics that depend on them silently no-op.
Provider-specific request transformations don't trigger. With drop_params: true, params the client thinks are unsupported are silently dropped. The reasoning controls (reasoning_effort: "high", extended_thinking_budget: 200000, enable_encrypted_reasoning: true) are almost certainly being treated differently — and worth verifying directly against the proxy access logs.
The server-side deployment defaults (sampling, possibly a different quantization or replica pool than the curated Moonshot deployment) take over instead of the params the client intended to send.
Both of those alone are consistent with: more tokens, more turns, faster per call, lower accuracy.
4. How much of the gap is real vs noise?
temperature: 1.0 on both runs.
At 500 instances and ~74% accuracy, the SE of a single run is ~√(0.74·0.26/500) ≈ 2.0%. The 3.2pp SWE-Bench gap and the 3.4pp SWT-Bench gap are right at the edge of one-sigma — i.e. likely a mix of real signal + noise. Cross-tabulating the SWE-Bench resolved IDs: 34 instances were solved by public-only, but 18 instances were solved by private-only (so the cross-variance is 52/500 ≈ 10%, an upper bound on what is purely sampling noise).
Commit0 50% vs 25% is not comparable. Public ran with eval_limit=20 and only 8 instances completed; private ran with eval_limit=500 and 15 completed. Sample sizes are tiny and not the same population. Don't read anything into that number.
GAIA's 10.9-point gap on eval_limit=200 (public) vs eval_limit=500 (private) is the most suspicious. At those sizes, an SE is ~3.5%, so an 11pp gap probably is a real systematic difference — and the per-instance metrics (more turns, more tokens, ctx_window=0) line up with that.
5. Recommendations
In rough order of impact / ease:
Single highest-leverage fix: in the proxy config for the private deployment, register the deployment under the canonical model family so LiteLLM picks up the correct model_info (max_input_tokens, max_output_tokens, mode='chat', cost table). Once the SDK sees a non-zero context_window, all the model-aware code paths come back to life.
Or (faster, client-side only): in the private LLM config JSON, explicitly set
This forces the SDK to use the right model metadata even when LiteLLM can't infer it from the deployment name.
Verify reasoning params actually reach the deployment. Send one completion through the private route and grep the proxy access log for reasoning_effort and the extended-thinking budget. If they're being stripped, the private deployment is effectively running Kimi-k2.6 without extended thinking — which is consistent with the "more tokens, worse answers" signature.
Re-run with temperature=0 (or a fixed seed) once to separate systematic delta from sampling noise. The current numbers can't cleanly tell those apart.
Re-run Commit0 with matching eval_limit on both endpoints before drawing any conclusions from it.
If you want, I'm happy to follow up with a PR that adds the model_canonical_name override path to the benchmark configs (item 2) — but as requested, no PR for now.
The user asked me to analyze why the Kimi-k2.6 model produces systematically lower benchmark results on the private endpoint vs the public endpoint, and explicitly requested no PR — to answer in the issue instead.
What I did
Downloaded all 8 result archives (4 benchmarks × public/private) totalling ~2.2 GB.
Compared metadata.json, output.report.json, cost_report.jsonl, and per-instance token_usages across all 8 runs.
✅ Included AI-disclosure line at the top of the comment.
✅ No code changes to the repo, no branches created, no commits.
Core finding (re-stated)
The two endpoints route to the same underlying Kimi-k2.6 model, but use different model-name strings:
Public: litellm_proxy/moonshot/kimi-k2.6 (known to LiteLLM's model registry)
Private: litellm_proxy/accounts/graham-openhands/deployments/mghcd1dc (opaque deployment slug, unknown to LiteLLM)
That single difference cascades into:
max_input_tokens/max_output_tokens = null on private (262144/131072 on public)
context_window = 0 on every single LLM call on private (262144 on public)
Provider-specific request transformations (incl. reasoning params) likely don't fire the same way
Empirically, on the same instances, private uses ~35% more completion tokens and ~9% more turns per task, runs ~2× faster per call, and produces lower accuracy — the classic "more output, worse per-turn quality" signature.
I also flagged the noise floor (temp=1.0, n=500 → ~2% SE; 52/500 instances cross-differ on SWE-Bench), and called out that the Commit0 50%-vs-25% gap is statistically meaningless because the two runs had different eval_limit and only 8 vs 15 instances completed.
Recommendations posted in the comment, in priority order: (1) register the private deployment under the canonical model family in the proxy config; (2) or set model_canonical_name: "moonshot/kimi-k2.6" plus explicit max_input_tokens/max_output_tokens in the private LLM config; (3) verify reasoning params reach the deployment via proxy access logs; (4) re-run with temperature=0 or fixed seed to separate signal from sampling noise; (5) re-run Commit0 with matching eval_limit.
No changes to the repository — everything lives in the issue comment as requested.
Activity
juanmichelini commentedon May 12, 2026
@OpenHands please take your time and analyze why this happens. Do not create a PR, instead answere here in this issue #707
openhands-ai commentedon May 12, 2026
I'm on it! juanmichelini can track my progress at all-hands.dev
juanmichelini commentedon May 12, 2026
Analysis of the public vs private endpoint gap
This analysis was performed by an AI agent (OpenHands) on behalf of @juanmichelini.
I downloaded all 8 archives and compared metadata + per-instance metrics. The headline finding is that the two endpoints look identical on the model side (same Kimi-k2.6) but very different on the LiteLLM-client side, and that explains most of the gap. There is also a non-trivial amount of run-to-run variance hiding inside the 3-percentage-point spreads.
1. The two configs are not actually identical
From
metadata.jsonin each archive (same field for every benchmark):llm.modellitellm_proxy/moonshot/kimi-k2.6litellm_proxy/accounts/graham-openhands/deployments/mghcd1dcllm.max_input_tokensllm.max_output_tokensopenhands_sdk_versionBoth endpoints route to Kimi-k2.6 on the proxy. But the model name string itself is what LiteLLM and the SDK use as the key into their model-metadata registry (context window, pricing, provider-specific request shaping, etc.).
moonshot/kimi-k2.6is a known entry;accounts/graham-openhands/deployments/mghcd1dcis an opaque deployment slug that LiteLLM has no entry for.The downstream consequences of that mismatch are visible in every single LLM call.
2. The private endpoint loses model awareness on every call
Inspecting the
token_usagesrecords inside eachoutput.jsonl(same instancedjango__django-13513for direct comparison):context_windowreported by litellmcosts[]non-empty)Aggregating across the full benchmarks:
The pattern is the same across all four benchmarks. The private endpoint reports
context_window = 0on every call, and the agent burns ~35% more completion tokens per instance to reach a worse answer. The model is producing more output but the per-turn quality is lower, so the agent has to iterate more and still ends up unresolved.Wall-clock per instance corroborates this: private is roughly 2× faster per call (e.g. SWE-Bench 583s vs 1059s average duration), so the same task fits more low-quality turns into the same time budget.
3. Why this happens (most likely)
Because the private model identifier is an arbitrary deployment slug:
max_input_tokens/max_output_tokens/ context window → these are reported asnull/0, and any client-side context-budgeting heuristics that depend on them silently no-op.drop_params: true, params the client thinks are unsupported are silently dropped. The reasoning controls (reasoning_effort: "high",extended_thinking_budget: 200000,enable_encrypted_reasoning: true) are almost certainly being treated differently — and worth verifying directly against the proxy access logs.Both of those alone are consistent with: more tokens, more turns, faster per call, lower accuracy.
4. How much of the gap is real vs noise?
temperature: 1.0on both runs.eval_limit=20and only 8 instances completed; private ran witheval_limit=500and 15 completed. Sample sizes are tiny and not the same population. Don't read anything into that number.eval_limit=200(public) vseval_limit=500(private) is the most suspicious. At those sizes, an SE is ~3.5%, so an 11pp gap probably is a real systematic difference — and the per-instance metrics (more turns, more tokens, ctx_window=0) line up with that.5. Recommendations
In rough order of impact / ease:
Single highest-leverage fix: in the proxy config for the private deployment, register the deployment under the canonical model family so LiteLLM picks up the correct
model_info(max_input_tokens,max_output_tokens,mode='chat', cost table). Once the SDK sees a non-zerocontext_window, all the model-aware code paths come back to life.Or (faster, client-side only): in the private LLM config JSON, explicitly set
This forces the SDK to use the right model metadata even when LiteLLM can't infer it from the deployment name.
Verify reasoning params actually reach the deployment. Send one completion through the private route and grep the proxy access log for
reasoning_effortand the extended-thinking budget. If they're being stripped, the private deployment is effectively running Kimi-k2.6 without extended thinking — which is consistent with the "more tokens, worse answers" signature.Re-run with
temperature=0(or a fixedseed) once to separate systematic delta from sampling noise. The current numbers can't cleanly tell those apart.Re-run Commit0 with matching
eval_limiton both endpoints before drawing any conclusions from it.If you want, I'm happy to follow up with a PR that adds the
model_canonical_nameoverride path to the benchmark configs (item 2) — but as requested, no PR for now.openhands-ai commentedon May 12, 2026
Summary
The user asked me to analyze why the Kimi-k2.6 model produces systematically lower benchmark results on the private endpoint vs the public endpoint, and explicitly requested no PR — to answer in the issue instead.
What I did
metadata.json,output.report.json,cost_report.jsonl, and per-instancetoken_usagesacross all 8 runs./tmp/analysis.Checklist of the user's instructions
Core finding (re-stated)
The two endpoints route to the same underlying Kimi-k2.6 model, but use different model-name strings:
litellm_proxy/moonshot/kimi-k2.6(known to LiteLLM's model registry)litellm_proxy/accounts/graham-openhands/deployments/mghcd1dc(opaque deployment slug, unknown to LiteLLM)That single difference cascades into:
max_input_tokens/max_output_tokens= null on private (262144/131072 on public)context_window = 0on every single LLM call on private (262144 on public)I also flagged the noise floor (temp=1.0, n=500 → ~2% SE; 52/500 instances cross-differ on SWE-Bench), and called out that the Commit0 50%-vs-25% gap is statistically meaningless because the two runs had different
eval_limitand only 8 vs 15 instances completed.Recommendations posted in the comment, in priority order: (1) register the private deployment under the canonical model family in the proxy config; (2) or set
model_canonical_name: "moonshot/kimi-k2.6"plus explicitmax_input_tokens/max_output_tokensin the private LLM config; (3) verify reasoning params reach the deployment via proxy access logs; (4) re-run withtemperature=0or fixedseedto separate signal from sampling noise; (5) re-run Commit0 with matchingeval_limit.No changes to the repository — everything lives in the issue comment as requested.