# Test the LLM Context Window and Recall

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/audit/context-window. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/audit/context-window.

Measure how much input an LLM API accepts and which positions it recalls using the same requests.

Canonical URL: https://lmspeed.net/audit/context-window
Last updated: 2026-12-03T18:58:42.592Z (site data revision; page date not supplied)

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

Measure accepted input length and see which markers the model recalls at the beginning, middle, and end.

Capabilities & Context LimitsDefault suite@lmspeed/audit v0.3.3 · independent-2026-11-24.1

[Fixed-length recall review](https://lmspeed.net/audit/context-recall)[Run the All-in-One audit](https://lmspeed.net/audit)[Fingerprint Detection](https://lmspeed.net/audit/model-fingerprint)

## Recent public reports

Redacted audit reports that included this probe.

- [9r***.dpdns.org

osqoof/gpt-6

Audited at · Dec 2Needs review](https://lmspeed.net/audit/N40mYlV6Wi7FIZUZ)

- [9r***.dpdns.org

osqoof/gpt-6

Audited at · Dec 2Needs review](https://lmspeed.net/audit/ioQ8Fhj5sRl6FSnv)

- [ap***.ai

claude-opus-5-5

Audited at · Dec 2Passed](https://lmspeed.net/audit/UE6_9YowLYxNwcPG)

- [ap***.cc

standard/claude-opus-5.5

Audited at · Dec 2Did not pass](https://lmspeed.net/audit/tGHasfcva0AHdZFy)

- [fr***.in

deepseek-v4.1-flash-1017

Audited at · Dec 2Needs review](https://lmspeed.net/audit/hiSam9nJebv3-v3K)

- [ap***.vip

Claude Opus 5.5

Audited at · Dec 1Passed](https://lmspeed.net/audit/2JpeaBJGrkHe0Mvz)

## Overview & Risk Context

One set of requests measures input admission and recall by position. With a published window, the audit targets its input limit. Without a reference, it reports the observed character range.

### What this check measures

Records the input length the endpoint accepts and checks each marker in the same response.

### Why this risk matters

Cost-cutting relays frequently clamp effective context windows (for example silently truncating 128k down to 16k or 32k) without throwing an error.

### When to run this check

Run before deploying RAG pipelines, repository indexing, or long-document summarization workflows.

A gateway can advertise "128k" in `/v1/models` while quietly dropping leading chat turns or truncating middle history on the proxy hop so long contexts fail unpredictably.

## Detection Methodology, Evidence & Limitations

Uses stepped context scaling bounded safely by @lmspeed/audit token budgets (capped at 2M estimated audit tokens).

- **1. Probe**

Embed verifiable marker tokens at known offsets inside progressively larger context payloads.

- **2. Inspect**

Send scaled requests across increasing tiers until retrieval accuracy collapses or hard limit errors occur.

- **3. Conclude**

Record accepted length and the recall result at each marker position. Compare with the published limit when available.

### How to read the verdict

The report shows input admission and marker recall separately within one scored check. Repeated marker loss flags a recall issue whose cause requires further evidence.

### Evidence basis & thresholds

Each sample records input length, endpoint response, and the positions of any recalled markers.

### Scope limits & abstention conditions

The audit uses a bounded request and token budget. A fixed-length review is available for follow-up.

### Verification Sources & Baselines

Implemented in @lmspeed/audit v0.3.3 (ruleset independent-2026-11-22.2); supplementary capability/injection design cross-checked against Veridrop, LLMprobe-engine, and meow-llm-detector specs.

- [lmspeed/audit (v0.3.3)](https://github.com/nexmoe/lmspeed-audit)Open-source LMSpeed probe engine, catalog registry, and calibrated fingerprint protocols.

## Frequently Asked Questions

### How can a relay cut context length without returning an HTTP error?

Some gateways silently pop early messages from the messages array or clip text before forwarding to stay inside cheaper upstream tier quotas.

### When should I use the fixed-length recall review?

Use the optional review to repeat marker retrieval at fixed input lengths with natural text. The combined check already records recall by position.

### Can 4xx context-length exceeded errors be a good sign here?

Yes—an explicit 4xx context-limit error is honest behavior compared with quietly discarding user data and hallucinating answers.

### Does context testing run huge million-token single prompts automatically?

Probes scale in conservative bounded steps inside @lmspeed/audit budgets so tests finish quickly without wasting excessive billing tokens.

## All audit checks by category

Explore every single-check audit tool grouped by risk domain, with Fingerprint Detection pinned first for model-authenticity verification.

### Fingerprint Detection

Pinned · Priority Group3

- [Model distribution fingerprint](https://lmspeed.net/audit/model-fingerprint)

- [Numeric fingerprint screening](https://lmspeed.net/audit/numeric-fingerprint)

- [Tokenizer fingerprint](https://lmspeed.net/audit/tokenizer-fingerprint)

### Prompt & Injection Security

6

- [Token injection](https://lmspeed.net/audit/token-injection)

- [Prompt extraction](https://lmspeed.net/audit/prompt-extraction)

- [Instruction conflict](https://lmspeed.net/audit/instruction-conflict)

- [Jailbreak identity](https://lmspeed.net/audit/jailbreak-identity)

- [Conditional injection](https://lmspeed.net/audit/conditional-injection)

- [Web3 injection](https://lmspeed.net/audit/web3-prompt-injection)

### Response & Stream Integrity

5

- [Stream integrity](https://lmspeed.net/audit/stream-integrity)

- [Stream consistency](https://lmspeed.net/audit/stream-consistency)

- [Tool substitution](https://lmspeed.net/audit/tool-substitution)

- [Error leakage](https://lmspeed.net/audit/error-leakage)

- [Latency variance](https://lmspeed.net/audit/latency-variance)

### Capabilities & Context Limits

7

- Context window and recall

- [Tool permissions](https://lmspeed.net/audit/tool-calling)

- [Structured JSON output](https://lmspeed.net/audit/structured-output)

- [Image understanding](https://lmspeed.net/audit/image-understanding)

- [PDF understanding](https://lmspeed.net/audit/pdf-understanding)

- [Quality canary](https://lmspeed.net/audit/quality-canary)

- [Quality comparison](https://lmspeed.net/audit/quality-comparison)

### Related LMSpeed benchmarks & methodology

- [Full 25-Check Provider Audit](https://lmspeed.net/audit)

- [3-Stage Fingerprint Pipeline](https://lmspeed.net/audit#fingerprint-detection)

- [LLM API Speed Test](https://lmspeed.net/speed)

- [Provider Directory](https://lmspeed.net/provider)

- [Model Directory & Pricing](https://lmspeed.net/model)

- [Benchmark Methodology](https://lmspeed.net/methodology)

---
Cite as: Test the LLM Context Window and Recall — LMSpeed, https://lmspeed.net/audit/context-window (retrieved 2026-12-04)
