Model

@Serializable
data class Model(val name: String, val createdAt: Long, val ownedBy: String, val contextWindow: String)

Provider-agnostic model descriptor.

Represents metadata about an available LLM model. Use ChatClient.listModels to retrieve a list of models from a provider.

Constructors

Link copied to clipboard
constructor(name: String, createdAt: Long, ownedBy: String, contextWindow: String)

Properties

Link copied to clipboard

The context window size (may be empty if unknown).

Link copied to clipboard

Epoch timestamp when the model was created.

Link copied to clipboard

The model identifier (e.g. "gpt-5.6-sol").

Link copied to clipboard

The organization that owns the model (e.g. "openai").