sashabaranov/go-openai
OpenAI ChatGPT, GPT-5, GPT-Image-1, Whisper API clients for Go
Supports streaming responses for real-time token delivery across chat and completion endpoints, and provides audio transcription with caption format output (SRT). Covers the full OpenAI ecosystem including image generation (DALL·E 2/3, GPT Image 1), speech-to-text (Whisper), and legacy completion models alongside modern chat interfaces, with context-aware request/response handling via Go's standard library patterns.
10,585 stars.
Stars
10,585
Forks
1,688
Language
Go
License
Apache-2.0
Category
Last pushed
Oct 21, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/sashabaranov/go-openai"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
ai-forever/gigachat
Библиотека для доступа к GigaChat
Krazal/nppopenai
OpenAI (aka. ChatGPT) plugin for Notepad++
mkht/PSOpenAI
PowerShell module for OpenAI API.
mgallo/openai.ex
community-maintained OpenAI API Wrapper written in Elixir.
olrea/openai-cpp
OpenAI C++ is a community-maintained library for the Open AI API