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•7h 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

Show HN: Hacker Smacker – Spot great (and terrible) HN commenters at a glance

https://hackersmacker.org
89•conesus•2d ago•83 comments

Show HN: Terminal Phone – E2EE Walkie Talkie from the Command Line

https://gitlab.com/here_forawhile/terminalphone
285•smalltorch•14h ago•73 comments

Show HN: Deff – Side-by-side Git diff review in your terminal

https://github.com/flamestro/deff
77•flamestro•7h ago•49 comments

Show HN: Linex – A daily challenge: placing pieces on a board that fights back

https://www.playlinex.com/
47•Humanista75•2d ago•19 comments

Show HN: Rev-dep – 20x faster knip.dev alternative build in Go

https://github.com/jayu/rev-dep
35•jayu_dev•6h ago•7 comments

Show HN: I Built Smart Radio That Auto-Skips Talk and Ads by Using ML

https://tunejourney.com/
3•FreeGuessr•1h ago•1 comments

Show HN: Beehive – Multi-Workspace Agent Orchestrator

https://storozhenko98.github.io/beehive/
39•mst98•2d ago•17 comments

Show HN: Mission Control – Open-source task management for AI agents

https://github.com/MeisnerDan/mission-control
33•meisnerd•12h ago•5 comments

Show HN: Respectify – A comment moderator that teaches people to argue better

https://respectify.org/
211•vintagedave•1d ago•214 comments

Show HN: Usplus.ai – Build a company of AI agents and execute work autonomously

https://usplus.ai:443/
2•usplusAI•3h ago•4 comments

Show HN: Safari-CLI – Control Safari without an MCP

https://www.npmjs.com/package/@tamasno1/safari-cli
2•boros2me•4h ago•0 comments

Show HN: Modern Reimplementation of the Speck Molecule Renderer

https://github.com/vangelov/modern-speck
25•vlad_angelov•4d ago•4 comments

Show HN: A real-time strategy game that AI agents can play

https://llmskirmish.com/
213•__cayenne__•1d ago•78 comments

Show HN: I ported Tree-sitter to Go

https://github.com/odvcencio/gotreesitter
217•odvcencio•1d ago•104 comments

Show HN: Clocksimulator.com – A minimalist, distraction-free analog clock

https://www.clocksimulator.com/
124•user_timo•1d ago•94 comments

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

https://github.com/ringger/transcribe-critic
2•ringger•5h ago•1 comments

Show HN: Django Control Room – All Your Tools Inside the Django Admin

https://github.com/yassi/dj-control-room
131•yassi_dev•1d ago•53 comments

Show HN: I stopped building apps for people. Now I make CLI tools for agents

https://github.com/Aayush9029/homebrew-tap
2•aayush9029•6h ago•0 comments

Show HN: Decoy – A native Mac app for mocking HTTP endpoints locally

https://decoy-app.com/
6•mosselman•6h ago•1 comments

Show HN: Smplogs – Local-first AWS Cloudwatch log analyzer via WASM

https://www.smplogs.com
3•alonsim•6h ago•0 comments

Show HN: I built a local AI-powered Ouija board with a fine-tuned 3B model

https://github.com/SurceBeats/Planchette
4•SurceBeats•6h ago•3 comments

Show HN: Protection Against Zero-Day Cyber Attacks

3•gaurav1086•7h ago•0 comments

Show HN: Browser-based .NET IDE with visual designer, NuGet packages, code share

https://xaml.io/s/Samples/Newtonsoft
5•userware•7h ago•0 comments

Show HN: OpenSwarm – Multi‑Agent Claude CLI Orchestrator for Linear/GitHub

https://github.com/Intrect-io/OpenSwarm
34•unohee•23h ago•18 comments

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

https://github.com/vienneraphael/batchling
2•vienneraphael•7h ago•0 comments

Show HN: The best agent orchestrator is a 500-line Markdown file

https://github.com/bassimeledath/dispatch
3•bombastic311•7h ago•0 comments

Show HN: Conjure – 3D printed objects from text description only

https://conjure.tech
7•suchanekj•7h ago•5 comments

Show HN: I built a managed Claude AI and hosting service

https://codedoc.us
2•novatrope•7h ago•0 comments

Show HN: I made a directory for Claude skills

https://skillsplayground.com/skills/
2•jackculpan•7h ago•0 comments

Show HN: Duck Talk – Real-time voice interface to talk to your Claude Code

https://github.com/dhuynh95/duck_talk
6•DanyWin•7h ago•0 comments