> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# Will your local model get 2x faster? An open Claude Code skill computes the ceiling first
- URL: https://globalfeed.ai/en/will-your-local-model-get-2x-faster-an-open-claude-code-skill-computes-the-ceiling-first/
- Published: 2026-11-17T13:37:20.000Z
- Updated: 2026-11-17T13:37:20.000Z
- Description: Sybil Solutions' MIT-licensed agent skill turns speeding up a local LLM server into a measurable method: compute the theoretical ceiling first, then test one change at a time between two controls. On an Intel Arc B390, 256K-token prefill went from 297 to 628 tokens/s.
- Author: GlobalFeed Editor
- Tags: Claude Code, local LLM, Open Source, inference speed, Sybil Solutions, dil-en, elle

Anyone running a language model on a home graphics card hits the same question: is 50 tokens a second good or bad? Can it go faster, or is that the hardware's limit? The tuning lists that circulate online rarely answer it; someone flips a flag and reports "twice as fast", and when you try it nothing changes. An open agent skill posted to GitHub on the evening of November 16 takes that guesswork and turns it into a measurable method.

The team at Sybil Solutions published the skill as [inference-optimisation-skill](https://github.com/sybil-solutions/inference-optimisation-skill?ref=globalfeed.ai) under the MIT license. As of the afternoon of November 17 the repository had 591 stars. The skill loads into Claude Code and any agent that reads SKILL.md-style skills, and there is a ready prompt with the same method for those not using an agent. In the repository's words it is not a list of flags: the team wrote down, step by step, how it actually got its own speedups.

## What is the problem: why is a model slow?

When a language model writes, it has to read most of the model from memory for every new token. Think of scanning every shelf in a library before each word. That is why writing speed (decode) is usually limited by how much data memory can move per second, the bandwidth, rather than by raw compute. Reading a long input (prefill) is the reverse and depends on compute. That split is the skill's first lesson.

## Step 1: compute the ceiling first

Before touching any setting, the skill has the agent compute the [theoretical ceiling](https://github.com/sybil-solutions/inference-optimisation-skill/blob/main/skills/inference-optimisation/references/ceilings.md?ref=globalfeed.ai). The formula is simple: bytes read from memory per emitted token, divided by measured bandwidth. The repository's example is a laptop with an Intel Arc B390 integrated GPU. Memory rated at 153.6 GB/s measures 115 GB/s. The Ornith-1.5-35B-A3B model reads about 1.65 GB per token, which puts the ceiling without speculation at 68 tokens per second. The team reached 53 tokens/s and reports it as 55% of the practical ceiling. Knowing the ceiling does two things: when a user asks for "100 tokens/s", the agent can say up front whether that is above the physics, and the remaining gap becomes visible.

## Step 2: one change at a time

The strictest rule is measurement discipline. According to the method, the same config run back to back moves by 5 to 10%; the team measured the same setting an hour apart at 53.8 and 49.5 tokens/s. So every experiment contains a single change and runs in a "control, candidate, control" order. A candidate is accepted only if it beats both neighbouring controls and regresses nothing else by more than 3%. At least 6 samples are taken and the median is logged, never the best run. A laptop on battery ran 8 to 10% slower, so the harness refuses to run unless it is plugged in.

## Step 3: try the levers in order

The skill also ranks which setting to try first, with [measured evidence](https://github.com/sybil-solutions/inference-optimisation-skill/blob/main/skills/inference-optimisation/references/levers.md?ref=globalfeed.ai). First is keeping compile caches persistent; on the B390, server startup dropped from 113 to 43 seconds. Second is GPU graphs, which alone doubled speed on several systems. Third is speculative decoding: a small draft guesses the next few words and the main model confirms them in one pass. One finding stands out: pruning the draft's vocabulary to its most-used blocks raised single-user speed by 27% on an Arc Pro B70\. Higher acceptance can still mean lower speed if the draft is expensive, so the skill has the agent measure time per step separately.

## Step 4: do not trust a fast result right away

A new best is accepted only after a long-context test. The agent asks the model to find random codes placed halfway through and at the end of a document, exactly. The repository says why: one 117 tokens/s "record" came from a model repeating a numbered list in a loop. Failures go in the log too. On the B390, three separate attempts to fuse small kernels were correct and gained nothing; on an Apple M4, three drafts cut speed from 6.35 to 3.25 tokens/s.

## How the skill was made: measured results

In the runs the skill was distilled from, single-user speed on the B390 laptop went from 43.6 to 53 tokens/s and four-user aggregate from 84.7 to 103\. Reading a 256K-token input went from 297 to 628 tokens/s, 2.1 times faster. On an RTX 3090, the Flash-Next model with its prediction layer went from 45.5 to 65.6 tokens/s at 256K context; on the same card Qwen3.8-27B measured 96.2 tokens/s on prose and 141.1 on code. The full log is open in [the team's registry repository](https://github.com/sybil-solutions/local-ai-registry/pull/453?ref=globalfeed.ai).

## How to try it on your own machine

First serve your model through an OpenAI-compatible server: llama.cpp server, vLLM, SGLang, LM Studio or Ollama's /v1 endpoint. Then clone the repository and copy the `skills/inference-optimisation` folder into `~/.claude/skills/`. Ask Claude Code something like "hill-climb decode and prefill for the model on :8000 under a 40 GiB cap" or "what is the theoretical max tok/s for this model on this machine?". You can also start without an agent: `ceiling.py` computes the ceiling from an example file, and `bench.py` measures your server and appends the result to `ledger.jsonl`. The benchmark uses only the Python standard library; the queue and memory scripts rely on bash and Linux tools, so on Windows they need a Linux environment such as WSL.

The repository welcomes contributions with new levers, gotchas or results. Each needs the hardware, model, quantization, engine version, before and after numbers, and a link to raw data.

Sources: [GitHub: inference-optimisation-skill](https://github.com/sybil-solutions/inference-optimisation-skill?ref=globalfeed.ai), [SKILL.md](https://github.com/sybil-solutions/inference-optimisation-skill/blob/main/skills/inference-optimisation/SKILL.md?ref=globalfeed.ai), [Computing ceilings](https://github.com/sybil-solutions/inference-optimisation-skill/blob/main/skills/inference-optimisation/references/ceilings.md?ref=globalfeed.ai), [Levers and evidence](https://github.com/sybil-solutions/inference-optimisation-skill/blob/main/skills/inference-optimisation/references/levers.md?ref=globalfeed.ai)

*This story was written by Claude.*