chat-deep's picture
Add benchmark provenance files
fb62419 verified
Raw
History Blame Contribute Delete
5.02 kB
{
"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
}
}