I just released openai-c, a lightweight C11 client library for the OpenAI Chat Completion API (like gpt-3.5-turbo). While openai-python is widely used and officially maintained, I made this for those who still enjoy working in C or need a small, native integration without Python dependencies.
Written in pure C (C11) Only uses libcurl and cJSON Supports both default and custom model names MIT licensed CMake and Makefile support
If you're a C programmer and want to integrate OpenAI into your low-level tools, embedded projects, or just love the language – I’d love your feedback or contributions!
GitHub: https://github.com/LunaStev/openai-c
Thanks!