Arend-Jan/chat-gpt-lib-rs
A Rust library for interacting with OpenAI's ChatGPT API, providing an easy-to-use interface and strongly typed structures.
This is a Rust library that allows developers to integrate OpenAI's powerful AI models directly into their applications. It takes text inputs and can generate chat responses, text completions, or numerical representations (embeddings) of text. Developers building applications that need to interact with OpenAI's API would use this.
Use this if you are a Rust developer building an application and need a robust, strongly-typed way to interact with various OpenAI API endpoints like Chat, Completions, or Embeddings.
Not ideal if you are not a Rust developer or if you need a pre-built application rather than a programming library.
Stars
43
Forks
11
Language
Rust
License
Apache-2.0
Category
Last pushed
Feb 23, 2026
Monthly downloads
309
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/Arend-Jan/chat-gpt-lib-rs"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related tools
openai-rs/openai-api
A simple Rust library for OpenAI API, free from complex async operations and redundant dependencies.
retrage/gpt-macro
ChatGPT powered Rust proc macro that generates code at compile-time.
rsmeowry/chatgpt_rs
OpenAI's ChatGPT API wrapper for Rust 🦀
teunissenstefan/chatgpt-gui
GTK 4 front-end to ChatGPT completions written in Rust
vibheksoni/t3router
Rust library for t3.chat API - Programmatic access to Claude, GPT-4, Gemini, and 50+ AI models....