DeepSeek's $0.75 search API for agents, Lean's five-kernel proof check, and Pele

1 hour ago

DeepSeek's new Search and Fetch APIs give agents the web for 75 cents per 1,000 calls, and they are free through Claude Code and Codex until November 1. Also from Sunday's Hacker News front page: Lean's lake check --paranoid, which rechecks proofs with five kernels, Pele's Mermaid-to-SVG renderer, and Sphinx, a Git hook that quizzes you on your agent's code before a push. DeepSeek search and fetch – $0.75 per 1000 successful requests https://api-docs.deepseek.com/guides/search/ Discussion: https://news.ycombinator.com/item?id=50138531 thombles on Brave and Kagi pricing: https://news.ycombinator.com/item?id=50138776 ggnore7452 on quality in a web-fetch benchmark: https://news.ycombinator.com/item?id=50144703 Lean now ships with verified kernels, by Leonardo de Moura https://leodemoura.github.io/blog/2026-10-15-lean-now-ships-with-verified-kernels/ Discussion: https://news.ycombinator.com/item?id=50114758 Pele: Mermaid diagrams as themeable SVG https://pele.run/ Discussion: https://news.ycombinator.com/item?id=50132193 kepano on following Mermaid's syntax but not its layout: https://news.ycombinator.com/item?id=50134925 bilibali on replacing Mermaid.js in a static-site build: https://news.ycombinator.com/item?id=50141905 Sphinx: a hook that quizzes you on your AI's code before shipping https://sphinx-six-theta.vercel.app/ Discussion: https://news.ycombinator.com/item?id=50137950 lecarore on pasting the question back into the agent: https://news.ycombinator.com/item?id=50141605 The front page that day: https://news.ycombinator.com/front?day=2026-10-18

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00DeepSeek Search and Fetch
  2. 0:29Free until November 1
  3. 1:04Cheap, and the quality question
  4. 1:36Lean's five kernels
  5. 2:11Pele
  6. 2:48Sphinx
Show transcript

DeepSeek Search and Fetch

DeepSeek opens its own search engine to agents at 75 cents per 1,000 calls

POST api.deepseek.com/v1/tools/search  query · up to 50 results · page content
POST api.deepseek.com/v1/tools/fetch   one URL in · Markdown out

On Sunday's Hacker News front page, DeepSeek opened its own search engine to agents, on the same API key you already use for its models. Search takes a query, with operators like site and after, and returns up to 50 ranked results, with the page text if you ask for it. Fetch takes one URL and returns the page as Markdown. Both cost 75 cents per 1,000 successful requests, and an empty result or a timeout is free.

Free until November 1

Through Claude Code or Codex, DeepSeek search is free until November 1

Search · 5 requests per second Fetch · 5 requests per second Fetch · plus a per-domain limit Over the limit · HTTP 429

If you run Claude Code, Codex or DeepSeek Harness against the DeepSeek API, you are already calling these endpoints. The model's server-side search and fetch go through them, free for now. Billing starts on November 1, at midnight Beijing time. Each account gets five requests per second for search and five for fetch, across every key, and fetch adds a limit per domain. Past that, requests fail with a 429, so an agent that opens many pages at once needs to wait and retry.

Cheap, and the quality question

DeepSeek charges a fraction of Brave or Kagi per 1,000 searches

DeepSeek$0.75
Brave$5
Kagi$12
Brave and Kagi prices from thombles, in the thread

Quick tests on a web-fetch benchmark: not very good, but quite cheap.

ggnore7452, paraphrased

The price is what drew the thread. thombles put Brave's search API at five dollars per thousand and Kagi's at twelve, so DeepSeek costs about a seventh of the cheaper one. Quality is the open question. ggnore7452 ran a few quick tests on a personal web-fetch benchmark and found DeepSeek's search and fetch not very good, if cheap, and pointed to Jina as a free option, with Parallel, Firecrawl, Tavily and Exa as the paid ones worth trying.

Lean's five kernels

Lean 4.35 rechecks your whole project with five proof kernels in one command

$ lake check --paranoid
leanchecker nanoda lean4lean con-leche · proven consistent con-ron · Rust

AI agents have been finding holes in Lean's proof checker, and Lean 4.35 answers with lake check. It exports your project and rechecks it in a sandbox with the official kernel. Add paranoid and four more kernels check it too. con-leche is written in Lean and proven consistent, by Claude, under Joachim Breitner's supervision. Checking with its Rust translation, con-ron, as well guards against bugs in Lean's own compiler. If two kernels disagree about one of your proofs, the Lean team wants to hear about it.

Pele

Pele renders Mermaid diagrams to themeable SVG without Mermaid.js

Bundle, gzipped
Pele230 kB
Mermaid.js1.6 MB
Render time
Pele0.05–0.3 ms
Mermaid.js6–82 ms

Pele takes Mermaid syntax and hands back an SVG, themed with CSS variables, so switching to dark mode changes the colors without a re-render. kepano built it for Obsidian, under the MIT license. It has zero dependencies, is about six times smaller than Mermaid.js, and draws a diagram in well under a millisecond. In the thread, kepano says Pele follows Mermaid's syntax and lays diagrams out its own way. bilibali swapped it into a static-site build that used to need a whole Chromium instance to render them.

Sphinx

Sphinx quizzes you on your agent's code before your git push goes through

sphinx
The webhook saves the event ID before it charges. If the charge fails, what does the retry do?

Which agent writes most of what you push?

Sphinx is a Git hook for code your agent wrote. On a protected branch the push pauses, and a reviewer model that never saw your chat reads the diff and asks what it does when something fails. Answer wrong and it explains why, then tries a new scenario. Answer right and the push goes through. It works with Claude Code, Codex, Cursor, OpenCode and Pi, and sphinx yolo skips the check and logs the skip. lecarore pointed out you could paste the question straight back into the agent. Which agent writes most of what you push?

Up next

3:32

DeepSeek V4.1 Flash reasons less for the same answers, llmspeed, and a web app built in Lean 4

@hacker-news · 1 day ago

4:11

Claude traced NIST’s P-256 seed to a 1997 timestamp, Muse Spark Open runs on four Mac Studios, and UTC drops leap seconds

@hacker-news · 2 days ago

3:37

Muse Spark Open runs on two Mac Studios, ads that deliver spyware, and a Wi-Fi bug TCP can’t see

@hacker-news · 3 days ago

3:38

Android 17's libc stops at the first emoji, AI agents escape through a package mirror, and pg_vectorsearch

@hacker-news · 4 days ago

4:25

Anthropic replaced git with Scion, Gemini 4 Argon, and an 11-year-old hole in Rust’s borrow checker

@hacker-news · 5 days ago

3:17

Google ads now allow fingerprinting, QGIS bans AI code, and Gran Turismo 4 in WebAssembly

@hacker-news · 6 days ago

3:50

Claude Code and Codex agents rebuilt a shooter byte for byte, a €150 README test, and DDR4 is back

@hacker-news · 1 week ago

3:42

REA reverse engineers any app for your coding agent, Telegram Desktop’s one-click leak, and Bitwarden’s new license

@hacker-news · 1 week ago

2:56

Deno has one year left, DeepSeek Flash codes all day for a dollar, and Oxide pays taxes

@hacker-news · 1 week ago

3:54

Whistle fits speech to text in 16.9 MB, DeepSeek 4.1 Flash runs all day for a dollar, and Opus 5.5 draws Invisible Cities

@hacker-news · 1 week ago

3:44

JPEG XL ships in Chrome, Claude Haiku 5.5, and Photopea's cracked copies

@hacker-news · 1 week ago

3:42

Mistral Large 4 previews before its open weights, Polars 2.0 streams by default, and Gleam drops Erlang source

@hacker-news · 1 week ago