dongri/openai-api-rs
Rust client library for calling OpenAI and OpenRouter language model APIs.

Not currently ranked — collecting fresh signals.
star history
This is a Rust library providing typed wrappers around OpenAI’s API endpoints, including chat completions, embeddings, and realtime features. It supports multiple model families (GPT-4, o1, GPT-4o) and alternative providers like OpenRouter. Developers use it to integrate LLM capabilities into Rust applications without manually constructing HTTP requests.
Frequently asked
- What is dongri/openai-api-rs?
- Rust client library for calling OpenAI and OpenRouter language model APIs.
- Is openai-api-rs open source?
- Yes — dongri/openai-api-rs is open source, released under the MIT license.
- What language is openai-api-rs written in?
- dongri/openai-api-rs is primarily written in Rust.
- How popular is openai-api-rs?
- dongri/openai-api-rs has 487 stars on GitHub.
- Where can I find openai-api-rs?
- dongri/openai-api-rs is on GitHub at https://github.com/dongri/openai-api-rs.