← all repositories

openai/openai-go

Official Go client library for accessing OpenAI's REST API and language models.

3.4k stars Go Language Models
openai-go
Not currently ranked — collecting fresh signals.
star history

This repository is the official Go SDK for the OpenAI API, providing programmatic access to OpenAI’s language models including GPT variants. It offers a typed Go interface for API calls, handling authentication, request construction, and response parsing for model interactions. The library supports the Responses API and multi-turn conversations.

Frequently asked

What is openai/openai-go?
Official Go client library for accessing OpenAI's REST API and language models.
Is openai-go open source?
Yes — openai/openai-go is open source, released under the Apache-2.0 license.
What language is openai-go written in?
openai/openai-go is primarily written in Go.
How popular is openai-go?
openai/openai-go has 3.4k stars on GitHub.
Where can I find openai-go?
openai/openai-go is on GitHub at https://github.com/openai/openai-go.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.