{
  "schema_version": "AImatchApiV2ComparisonReportV1",
  "generated_at": "2026-07-06T20:24:22.901Z",
  "status": "completed",
  "legacy_roles_path": "/var/lib/aimatch/artifacts/eca060c4-bc9f-486a-80b2-629bbdf7dd08/synthesis/roles-detected.json",
  "role_count": {
    "v2": 1,
    "v2_detected": 1,
    "v2_active": 1,
    "v2_skipped": 0,
    "legacy": 1,
    "match": true,
    "detected_match": true
  },
  "role_gate": {
    "active_roles": [
      {
        "role_key": "paid-social-media-marketer",
        "role_title": "Paid Social Media Marketer",
        "status": "active",
        "priority_rank": 1
      }
    ],
    "skipped_roles": []
  },
  "role_comparisons": [
    {
      "v2_role_key": "paid-social-media-marketer",
      "v2_role_title": "Paid Social Media Marketer",
      "legacy_role_key": "paid-social-media-marketer",
      "legacy_role_title": "Paid Social Media Marketer",
      "title_match": true,
      "role_match_strategy": "role_key",
      "role_title_similarity_pct": 100,
      "hard_requirement_overlap_pct": 13,
      "all_requirement_overlap_pct": 24,
      "search_candidate_overlap_top20_pct": 40,
      "top_candidate_overlap_pct": 80,
      "v2_top_candidates": [
        "samhchoi94@gmail.com",
        "g@u13n.com",
        "b@316-interactive.com",
        "useracquisitionconsultant@gmail.com",
        "peter.opakunle@gmail.com"
      ],
      "legacy_top_candidates": [
        "peter.opakunle@gmail.com",
        "useracquisitionconsultant@gmail.com",
        "g@u13n.com",
        "jotero.consulting@gmail.com",
        "b@316-interactive.com"
      ],
      "hallucination_flags": []
    }
  ],
  "context": {
    "budget_v2_chars": 917,
    "budget_legacy_chars": 705,
    "timeline_v2_chars": 671,
    "timeline_legacy_chars": 537,
    "tools_v2_chars": 579,
    "tools_legacy_chars": 463
  },
  "usage": {
    "attempts": 55,
    "input_tokens": 300523,
    "output_tokens": 168822,
    "thoughts_tokens": 0,
    "output_billable_tokens": 168822,
    "total_tokens": 469345,
    "cache_creation_input_tokens": 6507,
    "cache_read_input_tokens": 292815,
    "uncached_input_tokens": 300523,
    "latency_ms": 2098628
  },
  "cost": {
    "schema_version": "LlmCostSummaryV1",
    "currency": "USD",
    "pricing_source": "https://platform.claude.com/docs/en/about-claude/pricing; https://ai.google.dev/gemini-api/docs/pricing; https://openrouter.ai/docs/api-reference/overview",
    "pricing_source_checked_at": "2026-07-06T20:24:22.896Z",
    "pricing_notes": [
      "Gemini 3.5 Flash defaults use Google Gemini API paid-tier rates: input $1.50/1M, output including thinking $9.00/1M, cached context $0.15/1M.",
      "Claude Opus 4.8 defaults use Anthropic Claude API standard rates: input $5/1M, output $25/1M, 5m cache write $6.25/1M, 1h cache write $10/1M, cache read $0.50/1M.",
      "For Gemini, cachedContentTokenCount is treated as a subset of promptTokenCount, so cached input is priced at the cache-read rate and excluded from uncached input cost.",
      "Rates can be overridden with AIMATCH_API_V2_COST_*_USD_PER_1M environment variables."
    ],
    "input_cost_usd": 1.502615,
    "output_cost_usd": 4.22055,
    "cache_creation_cost_usd": 0.040669,
    "cache_read_cost_usd": 0.146408,
    "total_cost_usd": 5.910241,
    "by_model": [
      {
        "provider": "anthropic",
        "model": "claude-opus-4-8",
        "attempts": 55,
        "input_tokens": 300523,
        "uncached_input_tokens": 300523,
        "cache_read_input_tokens": 292815,
        "cache_creation_input_tokens": 6507,
        "output_tokens": 168822,
        "thoughts_tokens": 0,
        "output_billable_tokens": 168822,
        "input_usd_per_1m_tokens": 5,
        "output_usd_per_1m_tokens": 25,
        "cache_read_usd_per_1m_tokens": 0.5,
        "cache_creation_usd_per_1m_tokens": 6.25,
        "cost_usd": 5.910241
      }
    ]
  },
  "side_effects": {
    "slack_posts": 0,
    "hubspot_writes": 0,
    "legacy_artifact_mutations": 0
  }
}