OpenRouter

@Serializable
data object OpenRouter : LLMProvider(source)

Represents the OpenRouter provider within the available set of large language model providers.

OpenRouter is identified by its unique ID ("openrouter") and display name ("OpenRouter"). It extends the LLMProvider sealed class, which serves as a base class for all supported language model providers.

This data object adheres to the structure and serialization requirements defined by the parent class. It is part of the available LLM provider hierarchy, which is used to configure and identify specific providers for large language model functionalities and capabilities.

Properties

Link copied to clipboard

The human-readable name of the LLM provider.

Link copied to clipboard
val id: String

The unique identifier of the LLM provider.