Package ai.vectros.types
Class ModelInfo
java.lang.Object
ai.vectros.types.ModelInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
-
Method Details
-
getId
- Returns:
- Stable model alias. Pass this as the
modelfield on/v1/chatand other inference endpoints.
-
getName
- Returns:
- Human-readable display name for the model.
-
getProvider
- Returns:
- Name of the model vendor (for example, Anthropic or AWS), suitable for display in a model picker.
-
getContextWindow
public int getContextWindow()- Returns:
- Maximum context window, in tokens.
-
getAvailableOn
- Returns:
- Plan tiers on which this model is available (a subset of: free, starter, pro, scale, enterprise).
-
getInputCreditsPer1KTokens
public double getInputCreditsPer1KTokens()- Returns:
- Base (non-US) credit rate per 1K input tokens; 1 credit = 1 cent. Requests are served from a US region by default and billed
regionPricing.us(this value multiplied byregionPremiumFactor). SeeregionPricingfor both the US and base rates.
-
getOutputCreditsPer1KTokens
public double getOutputCreditsPer1KTokens()- Returns:
- Base (non-US) credit rate per 1K output tokens; 1 credit = 1 cent. The default US-served rate is this value multiplied by
regionPremiumFactor; seeregionPricingfor both rates.
-
getRegionPricing
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-