File size: 5,017 Bytes
fb62419 | 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 | {
"protocol_id": "deepseek-v4-long-context-retrieval-v1.1.0",
"title": "DeepSeek V4 Flash vs Pro Long-Context Retrieval Benchmark",
"status": "frozen",
"frozen_on": "2026-08-06",
"language": "en",
"scope": "Four objectively graded long-context retrieval and synthesis families over deterministic synthetic record corpora.",
"tokenizer_calibration": {
"implementation": "tokenizers.Tokenizer.from_file",
"tokenizer_path": "tokenizer/tokenizer.json",
"tokenizer_bytes": 6367146,
"tokenizer_sha256": "8f9f37ca37fdc4f5fd36d5cf4d3b0e8392edb4e894fd10cc0d70b4957c8633cf",
"counting_input": "system_prompt + newline + user_prompt",
"add_special_tokens": false,
"calibration_file": "calibration.json"
},
"models": [
{
"id": "deepseek-v4-flash",
"label": "DeepSeek V4 Flash"
},
{
"id": "deepseek-v4-pro",
"label": "DeepSeek V4 Pro"
}
],
"task_families": [
{
"id": "single_record",
"label": "Exact single-record retrieval",
"required_keys": [
"lookup_key",
"alpha",
"beta",
"gamma",
"quantity",
"checksum"
]
},
{
"id": "multi_hop_join",
"label": "Two-record multi-hop join",
"required_keys": [
"source_key",
"linked_key",
"alpha",
"beta",
"gamma",
"quantity",
"checksum"
]
},
{
"id": "latest_version",
"label": "Latest-version conflict resolution",
"required_keys": [
"entity_key",
"version",
"alpha",
"beta",
"gamma",
"quantity",
"checksum"
]
},
{
"id": "event_ordering",
"label": "Scattered event ordering",
"required_keys": [
"group_key",
"ordered_event_codes",
"ordered_checksums"
]
}
],
"request": {
"api_format": "openai-chat-completions",
"stream": true,
"temperature": 0,
"max_tokens": 256,
"response_format": {
"type": "json_object"
},
"extra_body": {
"thinking": {
"type": "disabled"
}
}
},
"context_tiers": [
{
"id": "32k",
"label": "32K",
"target_prompt_tokens": 32000,
"record_counts": {
"single_record": 1277,
"multi_hop_join": 1029,
"latest_version": 1139,
"event_ordering": 1181
},
"accepted_prompt_tokens_min": 24000,
"accepted_prompt_tokens_max": 36000,
"max_billable_prompt_tokens": 36000
},
{
"id": "128k",
"label": "128K",
"target_prompt_tokens": 128000,
"record_counts": {
"single_record": 5117,
"multi_hop_join": 4126,
"latest_version": 4568,
"event_ordering": 4737
},
"accepted_prompt_tokens_min": 110000,
"accepted_prompt_tokens_max": 140000,
"max_billable_prompt_tokens": 140000
},
{
"id": "512k",
"label": "512K",
"target_prompt_tokens": 512000,
"record_counts": {
"single_record": 20477,
"multi_hop_join": 16513,
"latest_version": 18282,
"event_ordering": 18959
},
"accepted_prompt_tokens_min": 450000,
"accepted_prompt_tokens_max": 550000,
"max_billable_prompt_tokens": 550000
},
{
"id": "950k",
"label": "Approximately 950K",
"target_prompt_tokens": 950000,
"record_counts": {
"single_record": 37997,
"multi_hop_join": 30642,
"latest_version": 33925,
"event_ordering": 35181
},
"accepted_prompt_tokens_min": 850000,
"accepted_prompt_tokens_max": 980000,
"max_billable_prompt_tokens": 980000
}
],
"positions": [
{
"id": "beginning",
"fraction": 0.1
},
{
"id": "middle",
"fraction": 0.5
},
{
"id": "end",
"fraction": 0.9
}
],
"repeats": 3,
"grading": {
"method": "family_specific_strict_exact_json",
"primary_metric": "exact_match_rate",
"secondary_metrics": [
"field_accuracy",
"valid_json_rate"
]
},
"cost_controls": {
"currency": "USD",
"hard_stop_usd": 60.0,
"default_operator_budget_usd": 50.0,
"max_paid_attempts_per_case": 1,
"assume_all_input_cache_miss": true,
"safety_multiplier": 1.15,
"pricing_snapshot_date": "2026-08-06",
"pricing_source": "https://api-docs.deepseek.com/quick_start/pricing/",
"pricing_per_million_tokens": {
"deepseek-v4-flash": {
"input_cache_miss": 0.14,
"output": 0.28
},
"deepseek-v4-pro": {
"input_cache_miss": 0.435,
"output": 0.87
}
}
},
"execution_rules": {
"automatic_retries": false,
"failed_requests_remain_failures": true,
"case_order": "deterministic_sha256_order",
"credential_storage": "forbidden",
"raw_response_mutation": "forbidden",
"paid_execution_requires_separate_explicit_authorization": true
}
}
|