Sphax 6 days ago

This is really cool. How much would that cost in Claude API calls ?

2
simonw 6 days ago

The daily briefing prompt is here: https://www.val.town/x/geoffreylitt/stevensDemo/code/dailyBr...

It's about 652 tokens according to https://tools.simonwillison.net/claude-token-counter - maybe double that once you add all of the context from the database table.

1200 input tokens and 200 output tokens for Claude 3.7 Sonnet costs 0.66 cents - that's around 2/3rd of a cent.

LLM APIs are so cheap these days.

mdrzn 6 days ago

You can use Gemini free API calls (limited quantity, but they are plenty)