openai-cpp and liboai

These are direct competitors offering similar C++ bindings for the OpenAI API, with liboai being more actively maintained (higher star count) and explicitly targeting C++17 while openai-cpp lacks version specification.

openai-cpp
49
Emerging
liboai
48
Emerging
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 23/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 22/25
Stars: 314
Forks: 85
Downloads:
Commits (30d): 0
Language: C++
License: MIT
Stars: 479
Forks: 89
Downloads:
Commits (30d): 0
Language: C++
License: MIT
Stale 6m No Package No Dependents
Archived No Package No Dependents

About openai-cpp

olrea/openai-cpp

OpenAI C++ is a community-maintained library for the Open AI API

About liboai

D7EAD/liboai

A C++17 library to access the entire OpenAI API.

Covers ChatGPT, audio transcription, image generation, embeddings, fine-tuning, and moderation endpoints with asynchronous support. Built as a spiritual port of OpenAI's Python library using cURL and nlohmann-json for HTTP requests and JSON serialization. Mirrors Python API conventions for familiar developer experience across languages.

Scores updated daily from GitHub, PyPI, and npm data. How scores work