{ "format": "viano-token-usage-report", "format_version": 1, "recorded_date": "2026-10-20", "run": "bug20-bounded-window-20261020", "code_commit": "682f275590a4b1d3ff61d0ebfc974eeb874000c4", "case_id": "BUG-000020", "package_id": "trial-bounded-window-BUG-000020-20261020", "package_generation": 50, "analysis_revision": 1, "state": "BLOCKED", "routing": { "destination": "inbox", "reason": "INVALID_LLM_RESPONSES", "retry_count": 1, "retry_not_before": "2026-10-20T16:30:55.095729+00:00" }, "source_manifest_sha256": "942bbcce6c24aed7a1924b2c396a2c28651d1b4bc3e2d409fd54c281dcb93b7e", "configuration_sha256": { "config/llm.early-review.local.toml": "ff3296f9a902e4e67861929e584d3629d76edd0d77898c3817ae7f44f50d7ef0", "config/project.local.toml": "235016a23be2d8aa7aed7f450fd77792ccbf0fb9b24c05b65d4771782249f5e3", "config/investigation.bounded.toml": "cf5317fbcf43494043ecd574843588888a5f756d8c9c52987b6411df4ba98250" }, "pricing_snapshot": [ { "id": "gemini-native", "model": "gemini-3.8-flash", "cost_currency": "USD", "input_cost_per_million": 0.75, "cached_input_cost_per_million": 0.075, "output_cost_per_million": 3.75, "cache_storage_cost_per_million_hour": 0.5 } ], "account_eur": { "start": 12.7, "final": null, "settlement": "pending" }, "case_elapsed_seconds_including_local_work_and_idle": 562.670313, "scope": "Partial failed regression: initial H1/H2 tool executions only, H3 exhausted invalid replies. No joint startup review or normal followup executed.", "notes": [ "Output tokens include reasoning: never add reasoning twice.", "Cleaned view retains first regular calls even when rejected; removes additional retries and repairs, including successful replacements.", "Unknown cached counts remain unknown. Conservative USD estimate charges their entire input at uncached rate; lower bound assumes all unknown input cached. These are estimates, not measured billing.", "Cache storage is reported separately from generation. USD estimates are not EUR account differences.", "Protocol-valid gateway metadata is not proof of controller acceptance. Controller rejection codes are listed separately.", "No additional paid API calls were made for this evaluation." ], "totals_all": { "call_count": 11, "usage": { "input_tokens": { "known_sum": 88947, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 23353, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 18769, "unknown_call_count": 2 }, "cached_input_tokens": { "known_sum": 13615, "unknown_call_count": 4 } }, "api_elapsed_seconds_sum": 190.904, "conservative_generation_estimate_usd": 0.14509387499999998, "generation_lower_bound_usd": 0.09986819999999999, "estimated_cache_storage_usd": 8.104166666666667e-05 }, "totals_cleaned": { "call_count": 6, "usage": { "input_tokens": { "known_sum": 69350, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 6318, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 2514, "unknown_call_count": 2 }, "cached_input_tokens": { "known_sum": 5835, "unknown_call_count": 3 } }, "api_elapsed_seconds_sum": 60.952, "conservative_generation_estimate_usd": 0.07176637500000001, "generation_lower_bound_usd": 0.031292025, "estimated_cache_storage_usd": 8.104166666666667e-05 }, "totals_correction_overhead": { "call_count": 5, "usage": { "input_tokens": { "known_sum": 19597, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 17035, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 16255, "unknown_call_count": 0 }, "cached_input_tokens": { "known_sum": 7780, "unknown_call_count": 1 } }, "api_elapsed_seconds_sum": 129.952, "conservative_generation_estimate_usd": 0.07332749999999999, "generation_lower_bound_usd": 0.06857617499999999, "estimated_cache_storage_usd": 0 }, "by_group": { "entity_resolution": { "all": { "call_count": 2, "usage": { "input_tokens": { "known_sum": 46198, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 584, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 0, "unknown_call_count": 2 }, "cached_input_tokens": { "known_sum": 0, "unknown_call_count": 2 } }, "api_elapsed_seconds_sum": 7.374, "conservative_generation_estimate_usd": 0.036838499999999996, "generation_lower_bound_usd": 0.0056548499999999995, "estimated_cache_storage_usd": 0 }, "cleaned": { "call_count": 2, "usage": { "input_tokens": { "known_sum": 46198, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 584, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 0, "unknown_call_count": 2 }, "cached_input_tokens": { "known_sum": 0, "unknown_call_count": 2 } }, "api_elapsed_seconds_sum": 7.374, "conservative_generation_estimate_usd": 0.036838499999999996, "generation_lower_bound_usd": 0.0056548499999999995, "estimated_cache_storage_usd": 0 } }, "investigation_startup": { "all": { "call_count": 7, "usage": { "input_tokens": { "known_sum": 21946, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 12167, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 11420, "unknown_call_count": 0 }, "cached_input_tokens": { "known_sum": 13615, "unknown_call_count": 0 } }, "api_elapsed_seconds_sum": 104.546, "conservative_generation_estimate_usd": 0.052895625, "generation_lower_bound_usd": 0.052895625, "estimated_cache_storage_usd": 8.104166666666667e-05 }, "cleaned": { "call_count": 3, "usage": { "input_tokens": { "known_sum": 9388, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 1931, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 1625, "unknown_call_count": 0 }, "cached_input_tokens": { "known_sum": 5835, "unknown_call_count": 0 } }, "api_elapsed_seconds_sum": 21.922, "conservative_generation_estimate_usd": 0.010343625, "generation_lower_bound_usd": 0.010343625, "estimated_cache_storage_usd": 8.104166666666667e-05 } }, "joint_planning": { "all": { "call_count": 2, "usage": { "input_tokens": { "known_sum": 20803, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 10602, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 7349, "unknown_call_count": 0 }, "cached_input_tokens": { "known_sum": 0, "unknown_call_count": 2 } }, "api_elapsed_seconds_sum": 78.984, "conservative_generation_estimate_usd": 0.05535975, "generation_lower_bound_usd": 0.041317725, "estimated_cache_storage_usd": 0 }, "cleaned": { "call_count": 1, "usage": { "input_tokens": { "known_sum": 13764, "unknown_call_count": 0 }, "output_tokens_including_reasoning": { "known_sum": 3803, "unknown_call_count": 0 }, "reasoning_tokens": { "known_sum": 889, "unknown_call_count": 0 }, "cached_input_tokens": { "known_sum": 0, "unknown_call_count": 1 } }, "api_elapsed_seconds_sum": 31.656, "conservative_generation_estimate_usd": 0.024584250000000002, "generation_lower_bound_usd": 0.01529355, "estimated_cache_storage_usd": 0 } } }, "calls": [ { "call_ref": "llm/operations/6c0a36f93bea41b87241a30769bd92bb6dc387869b46d3a013ec595cfc7e9548/round-0001.json", "call_sha256": "71183b48fb9031800585296b4600a74b6ea21af7668c710d319838950b1c2f24", "prompt_version": "entity_resolution_plan_v4", "phase": "INTERPRETING_CASE", "group": "entity_resolution", "hypothesis": null, "is_extra_correction_or_retry": false, "status": "SUCCESS", "controller_rejection": null, "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 21009, "output_tokens_including_reasoning": 174, "reasoning_tokens": null, "cached_input_tokens": null }, "api_elapsed_seconds": 2.718, "prompt_size": null, "cost_estimate_usd": 0.01640925, "cost_lower_bound_usd": 0.0022281749999999998, "cost_assumption": "unknown cache treated as uncached for conservative estimate", "estimated_cache_storage_usd": 0.0 }, { "call_ref": "llm/operations/88adb8b462df2c473b421f617b086dd65351532f28e81a7a1052e1f24da87dea/round-0001.json", "call_sha256": "ed4335153b356b314bb134ddf8ac72a80d879559ce30ce9a097a23995416a9d6", "prompt_version": "entity_resolution_assessment_v4", "phase": "INTERPRETING_CASE", "group": "entity_resolution", "hypothesis": null, "is_extra_correction_or_retry": false, "status": "SUCCESS", "controller_rejection": null, "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 25189, "output_tokens_including_reasoning": 410, "reasoning_tokens": null, "cached_input_tokens": null }, "api_elapsed_seconds": 4.656, "prompt_size": null, "cost_estimate_usd": 0.02042925, "cost_lower_bound_usd": 0.0034266749999999997, "cost_assumption": "unknown cache treated as uncached for conservative estimate", "estimated_cache_storage_usd": 0.0 }, { "call_ref": "llm/operations/572afccbd4034d9c5485045cb4bb28b61fdd40e48dc8a3fab67cfc17e997cd65/round-0001.json", "call_sha256": "e3ce25e9f046c32c85b1f29449e03cab831ff5d0c4a2ab680b37914c6b3bddfc", "prompt_version": "case_plan_v2", "phase": "INTERPRETING_CASE", "group": "joint_planning", "hypothesis": null, "is_extra_correction_or_retry": false, "status": "SUCCESS", "controller_rejection": null, "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 13764, "output_tokens_including_reasoning": 3803, "reasoning_tokens": 889, "cached_input_tokens": null }, "api_elapsed_seconds": 31.656, "prompt_size": null, "cost_estimate_usd": 0.024584250000000002, "cost_lower_bound_usd": 0.01529355, "cost_assumption": "unknown cache treated as uncached for conservative estimate", "estimated_cache_storage_usd": 0.0 }, { "call_ref": "llm/operations/cdf9fddd5dccf7c6859f2f4c5aa65e46778d6d44e446cf579fa6b6f462b9b85c/round-0001.json", "call_sha256": "2286a45b050438a8dcf66ea39d2c3ead8c01a7adb593257eb42a40f9fff42f11", "prompt_version": "case_plan_statement_repair_v2", "phase": "INTERPRETING_CASE", "group": "joint_planning", "hypothesis": null, "is_extra_correction_or_retry": true, "status": "SUCCESS", "controller_rejection": null, "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 7039, "output_tokens_including_reasoning": 6799, "reasoning_tokens": 6460, "cached_input_tokens": null }, "api_elapsed_seconds": 47.328, "prompt_size": null, "cost_estimate_usd": 0.0307755, "cost_lower_bound_usd": 0.026024175, "cost_assumption": "unknown cache treated as uncached for conservative estimate", "estimated_cache_storage_usd": 0.0 }, { "call_ref": "llm/operations/ca6cdff81de3cbae0492c26802daa287b11bf4fabefad477a9b64f1b6db30112/round-0001.json", "call_sha256": "688eb5fb8a782cabbf324fa17a54e3b9a368266fdd3a7c7093ae21b1caf41b92", "prompt_version": "investigation_startup_v1", "phase": "INVESTIGATING_HYPOTHESES", "group": "investigation_startup", "hypothesis": "H1", "is_extra_correction_or_retry": false, "status": "SUCCESS", "controller_rejection": "INVESTIGATION_OUTPUT", "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 2201, "output_tokens_including_reasoning": 645, "reasoning_tokens": 570, "cached_input_tokens": 1945 }, "api_elapsed_seconds": 7.734, "prompt_size": { "accounted_characters": 8042, "limit_characters": 20000, "message_characters": 6871, "target_characters": 10000 }, "cost_estimate_usd": 0.002756625, "cost_lower_bound_usd": 0.002756625, "cost_assumption": "measured cached token count", "estimated_cache_storage_usd": 8.104166666666667e-05, "full_gemini_logical_characters": 8992 }, { "call_ref": "llm/operations/d844b0d123ece7c9861dbe282539f7879e6e6a21b3d1d4575c6e559fd5044aae/round-0001.json", "call_sha256": "604896130cedbc14a95f2afd8b9ccab1ceb66345375ed68ec9ef5d348bedeca5", "prompt_version": "investigation_startup_v1", "phase": "INVESTIGATING_HYPOTHESES", "group": "investigation_startup", "hypothesis": "H1", "is_extra_correction_or_retry": true, "status": "SUCCESS", "controller_rejection": "INVESTIGATION_OUTPUT", "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 2211, "output_tokens_including_reasoning": 590, "reasoning_tokens": 526, "cached_input_tokens": 1945 }, "api_elapsed_seconds": 6.64, "prompt_size": { "accounted_characters": 8086, "limit_characters": 20000, "message_characters": 6915, "target_characters": 10000 }, "cost_estimate_usd": 0.0025578750000000003, "cost_lower_bound_usd": 0.0025578750000000003, "cost_assumption": "measured cached token count", "estimated_cache_storage_usd": 0.0, "full_gemini_logical_characters": 9036 }, { "call_ref": "llm/operations/68df285004e1ad76029de7884a6b2c77db165a926dd10c44c34c5cf54472af0e/round-0001.json", "call_sha256": "3e15c66994718137af6547d6f388c5cc2fde0134288d6c262f5d03dbd8aa7798", "prompt_version": "investigation_startup_v1", "phase": "INVESTIGATING_HYPOTHESES", "group": "investigation_startup", "hypothesis": "H1", "is_extra_correction_or_retry": true, "status": "SUCCESS", "controller_rejection": null, "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 2211, "output_tokens_including_reasoning": 2096, "reasoning_tokens": 1982, "cached_input_tokens": 1945 }, "api_elapsed_seconds": 16.953, "prompt_size": { "accounted_characters": 8086, "limit_characters": 20000, "message_characters": 6915, "target_characters": 10000 }, "cost_estimate_usd": 0.008205375, "cost_lower_bound_usd": 0.008205375, "cost_assumption": "measured cached token count", "estimated_cache_storage_usd": 0.0, "full_gemini_logical_characters": 9036 }, { "call_ref": "llm/operations/54ef9b495e10fe49a2ffad5909c89efdbfe7ef7645b601865d12e5223b0651bc/round-0001.json", "call_sha256": "c1a22b89977c92c0d69132e54b974c3582c2391c5c8a8ada4dbdceb574ac8254", "prompt_version": "investigation_startup_v1", "phase": "INVESTIGATING_HYPOTHESES", "group": "investigation_startup", "hypothesis": "H2", "is_extra_correction_or_retry": false, "status": "SUCCESS", "controller_rejection": null, "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 3145, "output_tokens_including_reasoning": 586, "reasoning_tokens": 471, "cached_input_tokens": 1945 }, "api_elapsed_seconds": 6.36, "prompt_size": { "accounted_characters": 11176, "limit_characters": 20000, "message_characters": 10005, "target_characters": 10000 }, "cost_estimate_usd": 0.0032433749999999997, "cost_lower_bound_usd": 0.0032433749999999997, "cost_assumption": "measured cached token count", "estimated_cache_storage_usd": 0.0, "full_gemini_logical_characters": 12126 }, { "call_ref": "llm/operations/71fd77c20b2af9bb2d842927c7a39cc8e1cf3e15541f387a26054fdb1047b6e4/round-0001.json", "call_sha256": "b927c65761e52d47b0f79f3c8dd2932c9d5561b8a452c217076948a32ef4aea7", "prompt_version": "investigation_startup_v1", "phase": "INVESTIGATING_HYPOTHESES", "group": "investigation_startup", "hypothesis": "H3", "is_extra_correction_or_retry": false, "status": "SUCCESS", "controller_rejection": "INVESTIGATION_OUTPUT", "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 4042, "output_tokens_including_reasoning": 700, "reasoning_tokens": 584, "cached_input_tokens": 1945 }, "api_elapsed_seconds": 7.828, "prompt_size": { "accounted_characters": 14239, "limit_characters": 20000, "message_characters": 13068, "target_characters": 10000 }, "cost_estimate_usd": 0.004343625, "cost_lower_bound_usd": 0.004343625, "cost_assumption": "measured cached token count", "estimated_cache_storage_usd": 0.0, "full_gemini_logical_characters": 15189 }, { "call_ref": "llm/operations/7b8f9ecd4cb00c7e1d8bbd314d9ab15032701b76a0d5cf4256b895312b03a731/round-0001.json", "call_sha256": "4c37abb4a564ffbd7a1516504574b09b903ebb213a971fc5afa2151d1d89ddba", "prompt_version": "investigation_startup_v1", "phase": "INVESTIGATING_HYPOTHESES", "group": "investigation_startup", "hypothesis": "H3", "is_extra_correction_or_retry": true, "status": "ERROR", "controller_rejection": "LLM_OUTPUT_SCHEMA", "provider_error": "LLM_OUTPUT_SCHEMA", "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 4052, "output_tokens_including_reasoning": 1454, "reasoning_tokens": 1319, "cached_input_tokens": 1945 }, "api_elapsed_seconds": 13.453, "prompt_size": { "accounted_characters": 14283, "limit_characters": 20000, "message_characters": 13112, "target_characters": 10000 }, "cost_estimate_usd": 0.007178625, "cost_lower_bound_usd": 0.007178625, "cost_assumption": "measured cached token count", "estimated_cache_storage_usd": 0.0, "full_gemini_logical_characters": 15233 }, { "call_ref": "llm/operations/cb89815283c33c24b09426c12c79171c3b0edf986d08dd90039905235bfaec70/round-0001.json", "call_sha256": "ad3821e4f6d343d2d4fdebd754b2d67bb103697a37d2ed097ef603f5eb514f2c", "prompt_version": "investigation_startup_v1", "phase": "INVESTIGATING_HYPOTHESES", "group": "investigation_startup", "hypothesis": "H3", "is_extra_correction_or_retry": true, "status": "SUCCESS", "controller_rejection": "INVESTIGATION_OUTPUT", "provider_error": null, "provider": "gemini-native", "model": "gemini-3.8-flash", "config_hash": "249a08e844d8a62c6b202c0bf856d2fa67f9c77f7a1f03174e79f874bf24ac69", "usage": { "input_tokens": 4084, "output_tokens_including_reasoning": 6096, "reasoning_tokens": 5968, "cached_input_tokens": 1945 }, "api_elapsed_seconds": 45.578, "prompt_size": { "accounted_characters": 14399, "limit_characters": 20000, "message_characters": 13228, "target_characters": 10000 }, "cost_estimate_usd": 0.024610124999999997, "cost_lower_bound_usd": 0.024610124999999997, "cost_assumption": "measured cached token count", "estimated_cache_storage_usd": 0.0, "full_gemini_logical_characters": 15349 } ] }