BRAND LOCK
aallam/openai-kotlin with Meridian
Drop-in host override for the official Kotlin OpenAI client. Route all requests through your Meridian gateway in one line.
OpenAIConfig with host override
import com.aallam.openai.client.OpenAI
import com.aallam.openai.client.OpenAIConfig
val config = OpenAIConfig(
token = "sk-your-meridian-key",
host = "gateway.meridian.ai/v1"
)
val client = OpenAI(config)Zero code changes
Swap the host and token — your existing OpenAI calls flow through Meridian automatically.
Full API surface
Chat, embeddings, audio, images — every endpoint the Kotlin client supports is proxied.