sashabaranov/go-openai
OpenAI, GPT 5.6, GPT-Image-2, Whisper API clients for Go observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 9.0
- age_days: 2206
- days_rel: 31
- days_push: 14
- n_releases_24m: 33
Adoption not part of the score
10748 stars · 1711 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
An unofficial Go client library for the OpenAI API covering chat completions, the Responses API, embeddings, image generation, audio transcription (Whisper), moderation, files, fine-tuning, and more. It provides typed request/response structs, streaming support, and multi-turn conversation helpers for Go applications.
Use cases
- call the OpenAI API from Go
- build a chatbot in Golang
- stream GPT responses in a Go server
- transcribe audio with Whisper from Go
- generate images with DALL-E in Go
- get embeddings for semantic search in Go
- fine-tune OpenAI models via Go
When to choose
- you write Go and need typed, idiomatic access to OpenAI endpoints
- you need streaming, tool-calling, or multi-turn conversation support
- you want a mature community client with broad API surface coverage
When to avoid
- you use another language like Python or TypeScript with official SDKs
- you need a provider-agnostic abstraction across multiple LLM vendors
- you require official support guarantees from OpenAI
Facets
library · maturity active
sdk http-client llm-inference speech-recognition image-processing large-language-models artificial-intelligence developer-tools apis go cross-platform openai-api chatgpt gpt whisper dall-e embeddings streaming unofficial-client
1 source
- readme: https://github.com/sashabaranov/go-openai · fetched 2026-08-28 · 054f78842e97
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sashabaranov/go-openai | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="sashabaranov/go-openai")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem