
com.simiacryptus.jopenai.models.PerplexityModels.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jo-penai Show documentation
Show all versions of jo-penai Show documentation
A Java client for OpenAI's API
package com.simiacryptus.jopenai.models
object PerplexityModels {
val SonarSmallChat128k = ChatModels(
name = "SonarSmallChat128k",
modelName = "llama-3.1-sonar-small-128k-chat",
maxTotalTokens = 128 * 1024,
provider = APIProvider.Perplexity,
inputTokenPricePerK = 0.0005,
outputTokenPricePerK = 0.0015
)
val SonarSmallOnline128k = ChatModels(
name = "SonarSmallOnline128k",
modelName = "llama-3.1-sonar-small-128k-online",
maxTotalTokens = 128 * 1024,
provider = APIProvider.Perplexity,
inputTokenPricePerK = 0.0005,
outputTokenPricePerK = 0.0015
)
val SonarLargeChat128k = ChatModels(
name = "SonarLargeChat128k",
modelName = "llama-3.1-sonar-large-128k-chat",
maxTotalTokens = 128 * 1024,
provider = APIProvider.Perplexity,
inputTokenPricePerK = 0.0005,
outputTokenPricePerK = 0.0015
)
val SonarLargeOnline128k = ChatModels(
name = "SonarLargeOnline128k",
modelName = "llama-3.1-sonar-large-128k-online",
maxTotalTokens = 128 * 1024,
provider = APIProvider.Perplexity,
inputTokenPricePerK = 0.0005,
outputTokenPricePerK = 0.0015
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy