go-openai and openaigo

These are competitors—both provide Go client libraries for OpenAI APIs with overlapping functionality, so developers would typically choose one based on feature completeness (sashabaranov/go-openai has broader model support) versus simplicity and minimal dependencies (otiai10/openaigo).

go-openai
55
Established
openaigo
43
Emerging
Maintenance 6/25
Adoption 10/25
Maturity 16/25
Community 23/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 17/25
Stars: 10,585
Forks: 1,688
Downloads:
Commits (30d): 0
Language: Go
License: Apache-2.0
Stars: 299
Forks: 36
Downloads:
Commits (30d): 0
Language: Go
License: MIT
No Package No Dependents
Archived Stale 6m No Package No Dependents

About go-openai

sashabaranov/go-openai

OpenAI ChatGPT, GPT-5, GPT-Image-1, Whisper API clients for Go

This is a Go language library that helps developers integrate OpenAI's powerful AI models into their Go applications. It takes plain text prompts, audio files, or image descriptions and returns generated text (like chat responses or transcriptions) or images, allowing Go developers to build AI-powered features directly into their software. Developers who use Go for backend services, command-line tools, or web applications will find this useful.

Go development AI integration Application development Natural language processing Image generation

About openaigo

otiai10/openaigo

OpenAI GPT3/3.5 and GPT4 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested

Scores updated daily from GitHub, PyPI, and npm data. How scores work