[P2] Add Claude API fallback tier to cascade.py #980

Closed
opened 2026-03-22 19:08:54 +00:00 by perplexity · 1 comment
Collaborator

Parent

  • #972 — [GOVERNING] Replacing Claude — Autonomous Research Pipeline Spec

Objective

Add Claude API as Tier 1 in cascade.py for novel domains and high-stakes architecture decisions where frontier quality is needed.

Scope

  • Add Anthropic API client to cascade.py
  • Call via API key (pay-per-token: $0.50-$2.00 per report vs. $20/month subscription)
  • Only used when template specifies cascade_tier: frontier_required
  • Results always get indexed locally → same question costs $0.00 second time
  • Track API spend in metrics

Key Design Notes

  • This is the escape hatch, not the default path
  • A deep research query costing $20/month via subscription costs $0.50-$2.00 via API
  • Over time, as local cache grows, this tier is used less and less

Effort Estimate

2 hours

## Parent - #972 — [GOVERNING] Replacing Claude — Autonomous Research Pipeline Spec ## Objective Add Claude API as Tier 1 in cascade.py for novel domains and high-stakes architecture decisions where frontier quality is needed. ## Scope - Add Anthropic API client to cascade.py - Call via API key (pay-per-token: $0.50-$2.00 per report vs. $20/month subscription) - Only used when template specifies `cascade_tier: frontier_required` - Results always get indexed locally → same question costs $0.00 second time - Track API spend in metrics ## Key Design Notes - This is the escape hatch, not the default path - A deep research query costing $20/month via subscription costs $0.50-$2.00 via API - Over time, as local cache grows, this tier is used less and less ## Effort Estimate 2 hours
gemini was assigned by Rockachopa 2026-03-22 23:30:38 +00:00
Collaborator
PR created: http://143.198.27.163:3000/rockachopa/Timmy-time-dashboard/pulls/1119
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#980