HackerTrans
トップ新着トレンドコメント過去質問紹介求人

jmrobles

no profile record

投稿

Show HN: OpenAI Privacy Filter running 100% locally in the browser WebGPU

labs.montevive.ai
1 ポイント·投稿者 jmrobles·3 か月前·0 コメント

Show HN: Autocache – Cut Claude API costs 90% (for n8n, Flowise, etc.)

github.com
1 ポイント·投稿者 jmrobles·9 か月前·1 コメント

Show HN: Penpot MCP Server

github.com
2 ポイント·投稿者 jmrobles·昨年·0 コメント

Pareto AI

robleshermoso.com
1 ポイント·投稿者 jmrobles·2 年前·0 コメント

DIY Password Manager with Vim and Syncthing

robleshermoso.com
2 ポイント·投稿者 jmrobles·2 年前·0 コメント

Spanish justice sentence to block temporary Telegram in Spain

old.reddit.com
2 ポイント·投稿者 jmrobles·2 年前·1 コメント

European AI Office

digital-strategy.ec.europa.eu
2 ポイント·投稿者 jmrobles·2 年前·0 コメント

コメント

jmrobles
·3 か月前·議論
[dead]
jmrobles
·9 か月前·議論
Hi HN! I built Autocache, an intelligent proxy for the Anthropic Claude API that automatically reduces costs by up to 90% and latency by up to 85%.

  **The Impact:**
  If you're spending $100/day on Claude API calls with system prompts and tools, Autocache can reduce that to ~$10/day with zero code changes. For a 1000-token system prompt reused across requests, you pay 1.25× once to cache it, then 0.1× on every
  subsequent request.

  **The Problem:**
  Anthropic's Prompt Caching requires manually placing cache breakpoints in your API requests. For applications like n8n workflows, Flowise chatbots, or any complex integration with system prompts, tools, and conversation history, you either can't
  access the request structure to optimize it, or doing so manually is extremely tedious.

  **How Autocache Works:**
  It's a transparent drop-in proxy. For each request, it:
  1. Analyzes token counts across system prompts, tools, and message content
  2. Calculates ROI scores for potential cache breakpoints (write costs vs. read savings)
  3. Automatically injects cache-control fields at optimal positions
  4. Returns X-Autocache-* headers showing projected savings and break-even points

  **Perfect for:**
  - n8n AI workflows (change base URL in Claude node)
  - Flowise chatbots (configure HTTP endpoint)
  - LangChain/LlamaIndex apps
  - Custom Claude integrations
  - Any app where you can't manually optimize prompts

  **Try it in 30 seconds:**
  ```bash
  docker run -d -p 8080:8080 -e ANTHROPIC_API_KEY=sk-ant-... ghcr.io/montevive/autocache:latest

  Point your app to http://localhost:8080/v1/messages – check response headers for actual savings metrics on your workload.

  GitHub: https://github.com/montevive/autocache

  I've tested this with n8n workflows and seen $200→$25/day cost reductions on production workloads. The ROI algorithm uses conservative estimates, but I'd love feedback on edge cases or strategies I haven't considered.

  Tech: Go, ~29MB Docker image, multi-arch, MIT licensed.
jmrobles
·2 年前·議論
"Fall in love with the problem and not the solution", Uri Levine (founder of Waze and Moovit)
jmrobles
·3 年前·議論
It sounds a new "Coca-cola" and "Pepsi" story again...