Skip to main content
agentscope-extensions-model-openai integrates OpenAI Chat Completions-style models. It is also the module to use for OpenAI-compatible endpoints such as DeepSeek, GLM, Kimi, MiniMax, and similar services when their wire format follows the OpenAI API.

Add the dependency

ModelRegistry

Set OPENAI_API_KEY, then use the openai:<model> id:

Explicit builder

Use the builder when you need a custom endpoint, formatter, transport, or generation options:

Spring Boot

Spring Boot applications can use the OpenAI starter:
Full builder options, formatters, credentials, and registry context details are covered in Model.