openrouter_apiversion Documentation on ocaml.org
OCaml client for the OpenRouter API
An Async-based OCaml client for OpenRouter (https://openrouter.ai), a unified API for LLMs from multiple providers (Anthropic, OpenAI, Google, and others). Covers chat completions (with streaming, tools, plugins, multimodal content, provider routing, reasoning, and structured outputs), text embeddings, model listing, and generation stats.
| Tags | openrouter llm ai api-client async |
|---|---|
| Author | Masayuki Takeda <mtakeda@oeconomia.jp> |
| License | MIT |
| Published | |
| Homepage | https://github.com/mt-caret/openrouter-ocaml |
| Issue Tracker | https://github.com/mt-caret/openrouter-ocaml/issues |
| Documentation | https://mt-caret.github.io/openrouter-ocaml/ |
| Maintainer | Masayuki Takeda <mtakeda@oeconomia.jp> |
| Available | arch != "riscv64" |
| Dependencies |
|
| Source [http] | https://github.com/mt-caret/openrouter-ocaml/archive/refs/tags/v0.1.0.tar.gz md5=37c701d570788095f9a0690e401a4b0c sha512=0f6e6d347094aff4efb50330d50ade3f1706929400498998a8d8f409f1ab45099d792cc469210e53c2ca06b0e1a9b20fdf8e89361a52969cc495812092fe584b |
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/openrouter_api/openrouter_api.0.1.0/opam |
No package is dependent


