File size: 12,096 Bytes
dc41b7d
 
a137fa4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dc41b7d
a137fa4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57ed104
a137fa4
 
 
57ed104
a137fa4
 
 
 
59754de
a137fa4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
---
license: cc-by-4.0
language:
  - en
pretty_name: DeepSeek 1M Context Benchmark v1.0.0
size_categories:
  - n<1K
tags:
  - deepseek
  - long-context
  - model-evaluation
  - api-benchmark
  - reproducibility
  - synthetic-data
configs:
  - config_name: primary
    default: true
    data_files:
      - split: test
        path: data/primary-cases.csv
  - config_name: all_attempts_csv
    data_files:
      - split: test
        path: data/all-attempts.csv
  - config_name: pilot_excluded
    data_files:
      - split: test
        path: data/pilot-excluded-cases.csv
  - config_name: india_latency
    data_files:
      - split: test
        path: data/india-latency-cases.csv
  - config_name: india_matched_pairs
    data_files:
      - split: test
        path: data/india-matched-pairs.csv
  - config_name: failures
    data_files:
      - split: test
        path: data/failures.csv
  - config_name: model_fingerprints
    data_files:
      - split: test
        path: data/model-fingerprints.csv
  - config_name: case_inventory
    data_files:
      - split: test
        path: data/release-case-inventory.csv
---

# DeepSeek 1M Context Benchmark

This dataset is the publication-safe measurement release for **DeepSeek 1M Context Benchmark: Retrieval Accuracy, Latency, and Cost**, version `v1.0.0`. It contains 344 sanitized terminal API records produced by the frozen protocol `deepseek-v4-long-context-retrieval-v1.1.0` during a bounded run from `2026-08-06T20:17:02.706Z` through `2026-08-07T00:07:44.737Z`.

The study compared `deepseek-v4-flash` and `deepseek-v4-pro` on deterministic synthetic English retrieval and synthesis tasks. Provider-counted prompt tiers covered 32K, 128K, 512K, and approximately 950K tokens. The primary matrix varied model, prompt tier, objective task family, target position, and repeat while holding the request and grader contracts fixed.

- **Versioned source:** [GitHub release v1.0.0](https://github.com/chatdeepai/deepseek-1m-context-benchmark/releases/tag/v1.0.0)
- **Reproducible repository:** [chatdeepai/deepseek-1m-context-benchmark](https://github.com/chatdeepai/deepseek-1m-context-benchmark)
- **Research article:** [DeepSeek 1M Context Benchmark](https://chat-deep.ai/research/deepseek-1m-context-benchmark/)
- **Archival DOI:** [10.5281/zenodo.21838863](https://doi.org/10.5281/zenodo.21838863)

## What is included

The 344 terminal rows are divided into three analysis roles that must not be combined indiscriminately:

| Role | Rows | Network vantage | Use in primary accuracy |
|---|---:|---|---|
| `primary_accuracy` | 288 | AWS `us-east-1` client vantage | Yes |
| `pilot_excluded` | 20 | Two disclosed pilot vantages | No |
| `india_latency_validation` | 36 | AWS `ap-south-1` client vantage | No |

Only the 288 rows with `analysis_role=primary_accuracy` enter the published primary accuracy denominator. The pilot and India-vantage records are retained for auditability and separate bounded analyses.

The release contains sanitized measurements and hashes. It does **not** publish raw prompts, raw request bodies, raw responses, raw SSE payloads, credentials, authorization material, cloud resource identifiers, account data, or private URLs.

## Configurations

Every configuration uses the Hugging Face `test` split because these are measured benchmark outcomes, not training examples.

| Config | File | Rows | Columns | Purpose |
|---|---|---:|---:|---|
| `primary` | `data/primary-cases.csv` | 288 | 51 | Default config and only primary accuracy denominator. |
| `all_attempts_csv` | `data/all-attempts.csv` | 344 | 51 | All sanitized terminal rows in CSV format. |
| `pilot_excluded` | `data/pilot-excluded-cases.csv` | 20 | 51 | Paid pilot calls, excluded from primary accuracy. |
| `india_latency` | `data/india-latency-cases.csv` | 36 | 51 | Bounded India client-network-vantage validation rows. |
| `india_matched_pairs` | `data/india-matched-pairs.csv` | 36 | 15 | Matched U.S.-versus-India timing comparisons. |
| `failures` | `data/failures.csv` | 154 | 15 | Non-exact terminal states across all analysis roles. |
| `model_fingerprints` | `data/model-fingerprints.csv` | 8 | 8 | Requested/returned model and fingerprint group counts. |
| `case_inventory` | `data/release-case-inventory.csv` | 344 | 11 | Presentation-sorted inventory of released cases. |

The original `data/all-attempts.jsonl` file remains available as a 344-row raw alternate serialization of `all_attempts_csv`. It is intentionally excluded from the Viewer configuration list so every displayed configuration uses the repository's tabular CSV schema. Do not concatenate the CSV and JSONL copies. Empty fields mean that the provider or adapter did not supply a value; no missing values were silently imputed. See [DATA-DICTIONARY.md](DATA-DICTIONARY.md) for the 51-field case schema.

## Loading the dataset

Load any published Viewer configuration with the final Hugging Face dataset ID:

```python
from datasets import load_dataset

dataset_id = "chatdeepai/deepseek-1m-context-benchmark"

# The 288-case primary benchmark matrix.
primary = load_dataset(dataset_id, "primary", split="test")

# All 344 terminal rows in CSV form.
all_attempts = load_dataset(dataset_id, "all_attempts_csv", split="test")

# The bounded India client-network-vantage subset.
india = load_dataset(dataset_id, "india_latency", split="test")
```

For a local checkout, the underlying files can also be loaded directly with the `csv` or `json` builders.

## Benchmark design

The frozen 288-case primary matrix is:

- 2 exact API model IDs: `deepseek-v4-flash` and `deepseek-v4-pro`;
- 4 provider-counted prompt tiers: 32K, 128K, 512K, and approximately 950K;
- 4 objective task families: single-record retrieval, two-record join, latest-version conflict resolution, and scattered event ordering;
- 3 target-position labels: beginning, middle, and end;
- 3 deterministic fixture repeats.

The benchmark used streaming Chat Completions, non-thinking mode, temperature `0`, JSON Output, a 256-token study output cap, and a strict family-specific grader. Exact match required the expected key set, types, and values with no surrounding prose. The 256-token value is this study's generation cap, not a claim about the provider's maximum supported output.

The 20 pilot calls are excluded from all primary denominators. The 36 India-vantage calls form a separate matched client-network-vantage check at the 32K and approximately 950K edges; they do not represent Indian users or identify provider hosting locations.

## Selected versioned results

These figures describe release `v1.0.0` only:

- Primary strict exact match: **152/288 (52.78%)**.
- V4 Flash strict exact match: **71/144 (49.31%)**.
- V4 Pro strict exact match: **81/144 (56.25%)**.
- Primary valid JSON and exact key-set rates: **288/288 (100%)** each.
- Primary end-to-end stream time: **12,748 ms p50** and **162,295 ms p95** across the complete primary matrix.
- Dated primary cache-miss cost upper bound: **USD 33.589136**, using the official price snapshot frozen on 2026-08-06 and complete returned usage for 288/288 rows.

These results are task-specific. They do not establish a universal model winner, and the dated cost figures are not current price quotes.

## Provenance and integrity

The public release was built through an explicit allowlist from a validator export that reconciled all 344 planned terminal rows. The trusted publication-safe source archive has SHA-256:

```text
38337e1213e2cf7ba7de8f21703e11772eddb71326361a66f27f7a8d0c114dcb
```

The following files preserve the versioned methodology and release evidence:

- [`provenance/protocol.json`](provenance/protocol.json): frozen experimental contract.
- [`provenance/calibration.json`](provenance/calibration.json): deterministic prompt-tier calibration.
- [`provenance/methodology.json`](provenance/methodology.json): publication methodology and analysis boundaries.
- [`provenance/summary.json`](provenance/summary.json): canonical versioned aggregate metrics.
- [`provenance/prices.json`](provenance/prices.json): dated price snapshot used for reported estimates.
- [`provenance/pilot-evidence-summary.json`](provenance/pilot-evidence-summary.json): public-safe pilot and preflight disclosure.
- [`provenance/run-manifest.json`](provenance/run-manifest.json) and [`provenance/validator-export-manifest.json`](provenance/validator-export-manifest.json): frozen run and export evidence.
- [`provenance/upstream-manifest.json`](provenance/upstream-manifest.json), [`provenance/upstream-qa-report.json`](provenance/upstream-qa-report.json), and [`provenance/upstream-checksums.sha256`](provenance/upstream-checksums.sha256): integrity records for the complete GitHub release. The upstream checksum list also names charts and tables that are intentionally not duplicated in this compact Hugging Face bundle.
- [`CITATION.cff`](CITATION.cff): machine-readable citation metadata bound to the versioned Zenodo DOI.
- [`MANIFEST.json`](MANIFEST.json) and [`QA.json`](QA.json): integrity and safety checks for this Hugging Face upload bundle itself.

The full fixture generator, grader, publication code, charts, and release tables remain in the versioned GitHub repository.

## Intended uses

This dataset is suitable for:

- auditing the published primary accuracy calculation;
- reanalyzing accuracy by model, prompt tier, task family, and target position;
- inspecting transport, streaming, token, cache, and dated cost telemetry;
- reproducing published tables or creating new visualizations;
- studying matched outcomes and bounded client-network-vantage latency differences;
- teaching reproducible benchmark reporting, denominator separation, and release provenance.

## Out-of-scope uses

This dataset should not be treated as:

- a training or fine-tuning corpus;
- a general intelligence, coding, factuality, safety, multilingual, agent, or web-search benchmark;
- a representative sample of real user prompts;
- evidence of provider server location;
- a recurring reliability or availability monitor;
- a current pricing source;
- a source of raw prompts or raw model outputs.

## Limitations and potential sources of bias

- All benchmark records are deterministic synthetic English data.
- The strict JSON grader measures narrow exact retrieval and synthesis behavior, not open-ended response quality.
- The run covers one bounded execution window and two exact model IDs as routed during that window.
- Target-position semantics differ by task family, so aggregate position comparisons require the detailed methodology.
- Latency includes the disclosed client network vantage and workload; it should not be generalized to every user, region, or date.
- The India subset is intentionally small and limited to matched single-record cases at two prompt tiers.
- Provider pricing, model aliases, routing, and fingerprints can change after this release.
- Hashes of withheld raw artifacts support provenance but do not make the raw content public.

## Licensing and attribution

The dataset is licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/). See [LICENSE-DATA.txt](LICENSE-DATA.txt). Attribute **Chat Deep AI**, identify version `v1.0.0`, link the versioned release, and retain material methodology and limitation notices when redistributing or adapting the data.

Provider names and trademarks belong to their respective owners. This is an independent benchmark and is not an official DeepSeek dataset.

## Citation

Use the versioned archival DOI `10.5281/zenodo.21838863`:

```bibtex
@dataset{chat_deep_ai_2026_deepseek_1m_context,
  author    = {Chat Deep AI},
  title     = {DeepSeek 1M Context Benchmark: Retrieval Accuracy, Latency, and Cost},
  year      = {2026},
  version   = {1.0.0},
  doi       = {10.5281/zenodo.21838863},
  url       = {https://github.com/chatdeepai/deepseek-1m-context-benchmark/releases/tag/v1.0.0}
}
```

The archival record resolves at [https://doi.org/10.5281/zenodo.21838863](https://doi.org/10.5281/zenodo.21838863).