frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Batchling – save 50% off any GenAI requests in two lines of code

https://github.com/vienneraphael/batchling
2•vienneraphael•1h ago
batchling is a Python gateway to provider-native GenAI Batch APIs, so your existing calls can run at batch-priced rates instead of standard realtime pricing.

As an AI developer myself, I discovered Batch APIs when tingling with AI benchmarking: I wanted to save 50% because I was ok with a 24h-SLA.

What I discovered was a hard engineering reality:

- No standards: each batch API has a different flow and batch lifecycles are never the same.

- Framework shift: as a developer, switching from sync/async execution to deferred (submit, poll, download) feels off and requires to build custom code and store files.

That's when I noticed that no open-source project gave a solution to that problem, so I built it myself.

Batch APIs are nothing new, but they lack awareness and adoption. The problem has never been the Batch API itself but its integration and developer experience.

batchling is bridging that gap, giving everyone a developer-first experience of Batch APIs and unlock scale and cost-savings for compatible requests.

batchling usage was designed to be as seamless as possible: just wrap existing async code into an async context manager (the only lib entrypoint) to automatically batch requests.

Users can even push that further and use the CLI to wrap a whole function, without adding a single line of code.

Under the hood, batchling:

- intercepts requests in the scope of the context manager

- repurposes them to batch format

- manages the whole batch lifecycle (submit, poll, download)

- hands back requests when they are processed such that the script can continue its execution seamlessly.

batchling v0.1.0a1 comes batteries-included with:

- Large batch providers support (Anthropic, Doubleword, Gemini, Groq, Mistral, OpenAI, Together, XAI)

- Extensive AI Frameworks integration (Instructor, Langchain LiteLLM, Pydantic AI, Pydantic Evals..)

- Request caching: avoid recomputing requests for which you already own a batch containing its response.

- Python SDK (2 lines of code to change) and Typer CLI (no code change required)

- Rich documentation stuffed with examples, get started and run your first batch in minutes.

I believe this is a game changer in terms of adoption and accessibility for any AI org, research lab or individual that burns tokens through API.

I'd love to get feedback from AI developers and new ideas by exchanging with the technical community. The library is open to contributions, whether they be issues, docs fixes or PR.

Repo: https://github.com/vienneraphael/batchling

Docs: https://batchling.pages.dev

America's dangerous pursuit of critical-mineral dominance

https://www.economist.com/leaders/2026/02/26/americas-dangerous-pursuit-of-critical-mineral-domin...
1•andsoitis•25s ago•0 comments

SF Is the Worst

https://sfistheworst.com/
1•clean_send•32s ago•1 comments

My 2025 Apple Report Card

https://daringfireball.net/2026/02/my_2025_apple_report_card
1•calf•39s ago•0 comments

Claude Code is reviving the fledgling screenshot industry

https://dunn.us/notes/screenshot-archaeology/
1•aed•44s ago•0 comments

Core French 5/6 A

https://classroom.google.com/c/ODAzNDY3NjUyMzUx
1•iiipoi•1m ago•0 comments

Next-Token Predictor Is an AI's Job, Not Its Species

https://www.astralcodexten.com/p/next-token-predictor-is-an-ais-job
1•paulpauper•1m ago•0 comments

If it was just linoleic acid depletion

https://www.exfatloss.com/p/if-it-was-just-linoleic-acid-depletion
1•paulpauper•3m ago•0 comments

Elon Musk threatens to halt Tesla Giga Berlin expansion over union vote

https://electrek.co/2026/02/26/elon-musk-threatens-to-halt-tesla-giga-berlin-expansion-over-union...
2•Bender•3m ago•0 comments

How do you sell the most unappealing products in the world?

https://thehustle.co/originals/how-do-you-sell-the-most-unappealing-products-in-the-world
1•paulpauper•4m ago•0 comments

I Built an Agent That Turns Research Papers into Obsidian Notes I Learn From

https://www.laksh.us/blog/distill
1•LakshyaC•4m ago•0 comments

Setting up phones is a nightmare

https://joelchrono.xyz/blog/setting-up-phones-is-a-nightmare/
1•bariumbitmap•4m ago•0 comments

All-solid-state EV battery specialist Factorial moves one step closer production

https://electrek.co/2026/02/26/all-solid-state-ev-battery-maker-factorial-moves-toward-production/
1•Bender•4m ago•0 comments

Mogan vs. GNU TeXmacs

https://mogan.app/en/Development_Mogan_vs_TeXmacs.html
1•amichail•5m ago•0 comments

Firefox 148.0: Block all AI enhancements with one click

https://www.firefox.com/en-US/firefox/148.0/releasenotes/
2•mikece•5m ago•0 comments

Show HN: Local Hours – Local-first time tracking app (macOS, iOS, open source)

https://github.com/gogrinimish/LocalHours
1•stinger•5m ago•0 comments

Just Use a VPS

https://use-a-vps.exe.xyz/
1•indigodaddy•6m ago•0 comments

Kansas invalidates driver's licenses, birth certificates for ~1k transgender

https://www.reuters.com/legal/government/kansas-invalidates-drivers-licenses-birth-certificates-o...
1•petethomas•6m ago•0 comments

Show HN: Transcribe-Critic – Merge transcript sources for stronger transcript

https://github.com/ringger/transcribe-critic
1•ringger•8m ago•1 comments

MikroTik HAP Be³ Media

https://mikrotik.com/product/hap_be3_media
1•Lwrless•9m ago•0 comments

Framework for nitrogen deposition effects on soil respiration in global forests

https://www.nature.com/articles/s41467-025-67203-8
1•PaulHoule•9m ago•0 comments

Does Agents.md Help Coding Agents?

https://nlp.elvissaravia.com/p/does-agentsmd-actually-help-coding
2•omarsar•9m ago•0 comments

Show HN: A Tcl/TK Clone of the Rust Clone of Microsoft Edit

https://gitlab.com/siddfinch/tcl-editor
2•mkovach•10m ago•0 comments

Show HN: Initium – A single Rust binary replacing scripts in K8s initContainers

https://github.com/KitStream/initium
1•mikkeldamsgaard•10m ago•0 comments

The last-mile meatspace layer for AI agents

https://bumarmy.com/
1•bit_shifted•10m ago•1 comments

'Play like a dog biting God's feet': Steven Isserlis on György Kurtág at 100

https://www.theguardian.com/music/2026/feb/26/steven-isserlis-on-the-formidable-gyorgy-kurtag-at-100
2•mitchbob•11m ago•0 comments

Remove sensitive photo data, 100% client-side and zero uploads

https://droptidy.com
1•bordra•13m ago•1 comments

Ford is recalling 4.3M trucks and SUVs to fix a towing software bug

https://arstechnica.com/cars/2026/02/ford-is-recalling-4-3-million-trucks-and-suvs-to-fix-a-towin...
1•Bender•14m ago•0 comments

I made a Fake MRR Maker in 5 minutes

https://mrrnow.lovable.app
1•LeoJB•15m ago•1 comments

KDE Connect of the Future

https://tintotint.eu/programming/kde-connect/
3•LorenDB•17m ago•0 comments

Show HN: A faster fuck (thefuck CLI rewritten in Rust)

https://github.com/dianyo/thefuck-rs
2•ddyo•18m ago•0 comments