openai-api and openai-client-base

One is a simple, hand-rolled Rust library for the OpenAI API with no external dependencies (A), while the other is an auto-generated Rust client from the OpenAI OpenAPI specification (B), making them primarily **competitors** offering different trade-offs in terms of customization vs. direct specification compliance.

openai-api
49
Emerging
openai-client-base
29
Experimental
Maintenance 6/25
Adoption 10/25
Maturity 16/25
Community 17/25
Maintenance 13/25
Adoption 7/25
Maturity 9/25
Community 0/25
Stars: 226
Forks: 31
Downloads:
Commits (30d): 0
Language: Rust
License: MIT
Stars: 1
Forks:
Downloads: 360
Commits (30d): 0
Language: Rust
License: Apache-2.0
No Package No Dependents
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 openai-client-base

genai-rs/openai-client-base

Auto-generated Rust client for OpenAI API from OpenAPI specification

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