I’m happy to announce the first version (v0.0.1) of openrouter_api, a library for querying large language models via OpenRouter, a service which provides access to a variety of models under a unified API.
- opam: https://opam.ocaml.org/packages/openrouter_api/
- GitHub: https://github.com/mt-caret/openrouter-ocaml
- docs: index (openrouter_api.index)
I’ve been using this library in my personal projects whenever I want to integrate an AI model, and I’ve found it quite useful; I hope others will find it useful as well. Issues and contributions are welcome.