An Empirical Study of OpenAI API Discussions on Stack Overflow

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Chen, Xiang, Wang, Jibin, Gao, Chaoyang, Ju, Xiaolin, Cui, Zhanqi
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918012297150464
author Chen, Xiang
Wang, Jibin
Gao, Chaoyang
Ju, Xiaolin
Cui, Zhanqi
author_facet Chen, Xiang
Wang, Jibin
Gao, Chaoyang
Ju, Xiaolin
Cui, Zhanqi
contents The rapid advancement of large language models (LLMs), represented by OpenAI's GPT series, has significantly impacted various domains such as natural language processing, software development, education, healthcare, finance, and scientific research. However, OpenAI APIs introduce unique challenges that differ from traditional APIs, such as the complexities of prompt engineering, token-based cost management, non-deterministic outputs, and operation as black boxes. To the best of our knowledge, the challenges developers encounter when using OpenAI APIs have not been explored in previous empirical studies. To fill this gap, we conduct the first comprehensive empirical study by analyzing 2,874 OpenAI API-related discussions from the popular Q&A forum Stack Overflow. We first examine the popularity and difficulty of these posts. After manually categorizing them into nine OpenAI API-related categories, we identify specific challenges associated with each category through topic modeling analysis. Based on our empirical findings, we finally propose actionable implications for developers, LLM vendors, and researchers.
format Preprint
id arxiv_https___arxiv_org_abs_2505_04084
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Empirical Study of OpenAI API Discussions on Stack Overflow
Chen, Xiang
Wang, Jibin
Gao, Chaoyang
Ju, Xiaolin
Cui, Zhanqi
Software Engineering
Artificial Intelligence
The rapid advancement of large language models (LLMs), represented by OpenAI's GPT series, has significantly impacted various domains such as natural language processing, software development, education, healthcare, finance, and scientific research. However, OpenAI APIs introduce unique challenges that differ from traditional APIs, such as the complexities of prompt engineering, token-based cost management, non-deterministic outputs, and operation as black boxes. To the best of our knowledge, the challenges developers encounter when using OpenAI APIs have not been explored in previous empirical studies. To fill this gap, we conduct the first comprehensive empirical study by analyzing 2,874 OpenAI API-related discussions from the popular Q&A forum Stack Overflow. We first examine the popularity and difficulty of these posts. After manually categorizing them into nine OpenAI API-related categories, we identify specific challenges associated with each category through topic modeling analysis. Based on our empirical findings, we finally propose actionable implications for developers, LLM vendors, and researchers.
title An Empirical Study of OpenAI API Discussions on Stack Overflow
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2505.04084