openai/openai-go
The official Go library for the OpenAI API observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 87
- Longevity 55
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: 3.0
- age_days: 772
- days_rel: 7
- days_push: 7
- n_releases_24m: 99
Adoption not part of the score
3434 stars · 347 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
The official Go client library for the OpenAI REST API, providing typed access to models, the Responses API, conversations, and other OpenAI platform features. It is maintained by OpenAI and distributed as a Go module with regular releases.
Use cases
- call the OpenAI API from a Go application
- generate text with GPT models in Go
- build a chatbot backend in Go using OpenAI
- stream OpenAI model responses in a Go service
- integrate OpenAI embeddings or responses API into a Go tool
- manage multi-turn conversations with OpenAI models in Go
When to choose
- you are writing Go and want an officially supported, typed client for the OpenAI API
- you need access to the latest OpenAI features like the Responses API
- you want automatic API key handling from environment variables and idiomatic Go error handling
When to avoid
- you use a language other than Go
- you need a provider-agnostic LLM client that works with many vendors
- you must stay on an older Go version outside the SDK's supported window
Facets
library · maturity active
sdk http-client llm-inference large-language-models artificial-intelligence apis developer-tools go cross-platform openai-api gpt official-sdk rest-api-client chat-completions responses-api
1 source
- readme: https://github.com/openai/openai-go · fetched 2026-08-28 · 34f425741173
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| openai/openai-go | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="openai/openai-go")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem