Skip to content

LLM benchmark: allow prompts up to 65,536 tokens - #1

Merged
sfxnz merged 1 commit into
mainfrom
llm-prompt-64k
Oct 21, 2026
Merged

sfxnz merged 1 commit into
mainfrom
llm-prompt-64k

Conversation

@sfxnz

@sfxnz sfxnz commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Raises the LLM inference benchmark's prompt length limit from 32,768 to 65,536 tokens, so a 64k long-context prefill run can be done from the console.

  • One-line change to LlmInferenceParams.prompt_tokens (le=65536). The web form takes the range from the agent's catalog and the console validates against it, so nothing else changes.
  • Checked locally: ruff, ruff format, mypy and pytest (285 passed). The agent and the console accept 65,536 and refuse 65,537.
  • The payload's request code was run at 64k against a TP=2 vLLM server on two DGX Sparks: 2,893–3,017 prefill tok/s, within 1% of vLLM's own prefill timing for the same requests.

🤖 Generated with Claude Code

Long-context prefill is usually quoted at 64k tokens, and the 32,768 cap
could not reproduce it. The payload has no limit of its own, and the web
form reads the range from the agent's catalog, so only the params model
changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sfxnz
sfxnz merged commit d56f0be into main Oct 21, 2026
3 checks passed
@sfxnz
sfxnz deleted the llm-prompt-64k branch October 21, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant