openai-api and chatgpt_rs

These are competitors offering alternative Rust bindings for OpenAI's API, with A providing a simpler synchronous-first approach while B specializes in ChatGPT-specific functionality.

openai-api
49
Emerging
chatgpt_rs
47
Emerging
Maintenance 6/25
Adoption 10/25
Maturity 16/25
Community 17/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 21/25
Stars: 226
Forks: 31
Downloads:
Commits (30d): 0
Language: Rust
License: MIT
Stars: 147
Forks: 41
Downloads:
Commits (30d): 0
Language: Rust
License: MIT
No Package No Dependents
Archived Stale 6m No Package No Dependents

About openai-api

openai-rs/openai-api

A simple Rust library for OpenAI API, free from complex async operations and redundant dependencies.

Provides synchronous bindings for OpenAI's models, completions, chat, images, embeddings, and audio endpoints. Built on blocking HTTP requests rather than async/await, reducing dependency overhead while maintaining full API coverage. Supports environment-based authentication and HTTP proxy configuration for flexible deployment scenarios.

About chatgpt_rs

rsmeowry/chatgpt_rs

OpenAI's ChatGPT API wrapper for Rust 🦀

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