inferencer: Simple Unified Wrappers for Hosted Foundation Model Inference APIs

Provides lightweight R wrappers for querying and listing models from several hosted foundation model inference platforms, currently including Google Gemini, Groq, OpenRouter, Cerebras, and Ollama Cloud. The package is designed for simple inference workflows and quick experimentation, with minimal abstraction and a consistent interface across providers. It includes helper functions for model discovery, text generation, embeddings, image generation, and multimodal inputs, while leaving room for future support of provider-specific parameters and advanced options.

Version: 0.1.4.5
Depends: R (≥ 4.1.0)
Imports: data.table, httr2, jsonlite
Suggests: knitr, rmarkdown, testthat
Published: 2026-07-10
DOI: 10.32614/CRAN.package.inferencer (may not be active yet)
Author: Oliver Zhou [aut, cre]
Maintainer: Oliver Zhou <oliver.yxzhou at gmail.com>
BugReports: https://github.com/OliverLDS/inferencer/issues
License: MIT + file LICENSE
URL: https://github.com/OliverLDS/inferencer
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: inferencer results

Documentation:

Reference manual: inferencer.html , inferencer.pdf

Downloads:

Package source: inferencer_0.1.4.5.tar.gz
Windows binaries: r-devel: not available, r-release: inferencer_0.1.4.5.zip, r-oldrel: inferencer_0.1.4.5.zip
macOS binaries: r-release (arm64): inferencer_0.1.4.5.tgz, r-oldrel (arm64): inferencer_0.1.4.5.tgz, r-release (x86_64): inferencer_0.1.4.5.tgz, r-oldrel (x86_64): inferencer_0.1.4.5.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=inferencer to link to this page.