Carlo Lepelaars
banner
carlolepelaars.bsky.social
Carlo Lepelaars
@carlolepelaars.bsky.social
https://carlo.ai | {AI, Investing, Reading, Music}
For those curious here is the throughput and costs for each model.

- GPT-4o with web search was the most expensive model.
- LFM 40B MoE was the fastest.
- GPT-5-Chat managed to give a great answer without web search.

pip install irouter
github.com/CarloLepelaa...

(3/3)
GitHub - CarloLepelaars/irouter: Access 100s of LLMs with minimal lines of code
Access 100s of LLMs with minimal lines of code. Contribute to CarloLepelaars/irouter development by creating an account on GitHub.
github.com
August 19, 2025 at 8:52 PM
Max Verstappen technically was ahead because of 1 more race win, even though points were tied.

In this example GPT-4o with web search, GPT-5 Chat got the nuance correct. Opus 4.1 realized there was a tie.

Other LLMs were wrong or failed to add the nuance.

(2/3)
August 19, 2025 at 8:52 PM
Documentation and example notebooks can be found in the Github repository. Feedback and ideas are always welcome. If you are interested in contributing check out the contribution docs.

pip install irouter
github.com/CarloLepelaa...

(6/6)
GitHub - CarloLepelaars/irouter: Access 100s of LLMs with 2 lines of code
Access 100s of LLMs with 2 lines of code. Contribute to CarloLepelaars/irouter development by creating an account on GitHub.
github.com
August 6, 2025 at 12:30 PM
irouter is built on and has the most solid support for
@openrouter.bsky.social, but also offers experimental support for other APIs compatible with the OpenAI spec, like XAI and Moonshot AI.

If you insist on using a different API provider change the base URL.

(5/6)
August 6, 2025 at 12:30 PM
Tool usage in irouter is as simple as passing a list of functions to the `tools` parameter.

This example uses a tool to get the time for a specific timezone.

(4/6)
August 6, 2025 at 12:30 PM
Multimodality is becoming commonplace in LLMs, so we need a simple interface to work with them.

irouter supports:
- text
- image URL
- local image path
- pdf URL
- local pdf path
- local audio path

Just provide a list of strings with the modalities you need.

(3/6)
August 6, 2025 at 12:30 PM
irouter also offers a way to process multiple LLMs at once. Just provide a list of model slugs and irouter will process multiple models. Output is given as a mapping from model to message.

(2/6)
August 6, 2025 at 12:30 PM
Musy is a work in progress. Short term plans include:
- Tritone sub support
- Scale comparison
- Better chord recognition
- Sheet music generation
- A chord Progression object.

It's my intention to build music web apps with musy.

Feedback and ideas are welcome! (6/7)
June 17, 2025 at 4:10 PM
Chord and Scale objects can be exported to a table for further analysis. (5/7)
June 17, 2025 at 4:10 PM
Chord objects can be extended and transformed with easy method chaining. This includes adding upper extensions, removing notes, inversion and transposition.

carlolepelaars.github.io/musy/chord.h... (4/7)
June 17, 2025 at 4:10 PM
Scale objects allow you to get all modes, chords and secondary dominants from any scale.

carlolepelaars.github.io/musy/scale.h... (3/7)
June 17, 2025 at 4:10 PM
The basic building blocks are Note, Chord and Scale. Each object can be listened to and visualized on a piano or fretboard.

carlolepelaars.github.io/musy/viz.html (2/7)
June 17, 2025 at 4:10 PM
And this video on the lambda calculus 🤩
youtu.be/RcVA8Nj6HEo
What is PLUS times PLUS?
YouTube video by 2swap
www.youtube.com
March 29, 2025 at 11:23 AM