openlm logo

openlm

r2d4/openlm

OpenAI-compatible Python client for calling any LLM

GraphCanon updated 1w · GitHub synced 1w

368 stars22 forksLast push 3y Python MIT

Decision brief

OpenLM is a flexible Python library designed to interface with various Language Model frameworks similarly to the OpenAI API.

Good fit when

  • Use when you want to seamlessly integrate different LLM frameworks, like Hugging Face or Cohere, under a uniform interface similar to OpenAI’s.
  • If your project requires flexibility in choosing between multiple LLMs during development without changing much of your codebase.

Avoid when

  • Avoid when you require maximum performance optimization specific to one LLM framework, as using an intermediary library like OpenLM might introduce additional overhead.
  • Not suitable if you are strictly working with models that do not have Python support or don't fit within the frameworks supported by OpenLM.
Requirements:
Installation is as simple as using pip to install the openlm package.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Dormant (1184d since push)
As of 1w
Provenance
Not a fork · Personal account
As of 1w
Security (OSV)
31 low (31 low)
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install openlm
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A flexible Python library that allows users to interface with various Language Model frameworks in a manner similar to the OpenAI API.

Capability facts

Languages
python

Source: github.language+pyproject.toml · Aug 15, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 15, 2026)

pip install openlm
Source link

Tags

README

Installation

pip install openlm

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.