sashabaranov/go-openai

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

55
/ 100
Established

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.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 23 / 25

How are scores calculated?

Stars

10,585

Forks

1,688

Language

Go

License

Apache-2.0

Category

go-openai-sdks

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.