go-openai and goopenai

These are competitors—both provide independent Go client libraries for the OpenAI API, with sashabaranov/go-openai being the mature, widely-adopted option (10,585 stars) while franciscoescher/goopenai is a smaller alternative implementation.

go-openai
55
Established
goopenai
42
Emerging
Maintenance 6/25
Adoption 10/25
Maturity 16/25
Community 23/25
Maintenance 0/25
Adoption 8/25
Maturity 16/25
Community 18/25
Stars: 10,585
Forks: 1,688
Downloads:
Commits (30d): 0
Language: Go
License: Apache-2.0
Stars: 45
Forks: 14
Downloads:
Commits (30d): 0
Language: Go
License: MIT
No Package No Dependents
Stale 6m No Package No Dependents

About go-openai

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.

About goopenai

franciscoescher/goopenai

This is a Go client library for the OpenAI API

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