aallam/openai-kotlin
OpenAI API client for Kotlin with multiplatform and coroutines capabilities. observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 66
- Release rhythm 37
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 185.0
- age_days: 2006
- days_rel: 207
- days_push: 207
- n_releases_24m: 3
Adoption not part of the score
1838 stars · 237 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Kotlin client library for the OpenAI API built on Kotlin multiplatform and coroutines, using Ktor as the HTTP engine. It provides typed access to OpenAI endpoints such as chat completions, embeddings, images (DALL-E), and audio (Whisper).
Use cases
- call the OpenAI API from a Kotlin or Android app
- build a ChatGPT-powered feature in a Kotlin multiplatform project
- generate images with DALL-E from Kotlin using coroutines
- transcribe audio with Whisper via the OpenAI API
- use OpenAI embeddings for semantic search in a JVM backend
- swap between OpenAI-compatible API providers in Kotlin
When to choose
- your project is Kotlin, Kotlin multiplatform, or Android and needs OpenAI API access
- you want idiomatic coroutine-based async API calls with typed models
- you need a maintained, MIT-licensed client published to Maven Central
When to avoid
- you need a Java-first client with broader community support
- your stack is not JVM/Kotlin-based
- you need providers beyond OpenAI-compatible APIs without writing custom config
Facets
library · maturity active
http-client sdk llm-inference large-language-models artificial-intelligence developer-tools jvm cross-platform openai-api kotlin-multiplatform coroutines chatgpt api-client ktor android
1 source
- readme: https://github.com/aallam/openai-kotlin · fetched 2026-08-28 · b9adac122628
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aallam/openai-kotlin | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="aallam/openai-kotlin")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem