AxModelInfo Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxModelInfo.md type AxModelInfo

AxModelInfo

TypeScript
type AxModelInfo = object;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L69

Properties

aliases?

TypeScript
optional aliases: string[];

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L97


audio?

TypeScript
optional audio: object;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L111

input?

TypeScript
optional input: boolean;

output?

TypeScript
optional output: boolean;

cacheReadTokenCostPer1M?

TypeScript
optional cacheReadTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L75


cacheWriteTokenCostPer1M?

TypeScript
optional cacheWriteTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L76


characterIsToken?

TypeScript
optional characterIsToken: boolean;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L72


completionTokenCostPer1M?

TypeScript
optional completionTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L74


contextWindow?

TypeScript
optional contextWindow: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L117


currency?

TypeScript
optional currency: string;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L71


deprecatedOn?

TypeScript
optional deprecatedOn: string;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L120

ISO date (YYYY-MM-DD) the upstream provider will stop serving this model.


fastCacheReadTokenCostPer1M?

TypeScript
optional fastCacheReadTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L90

Cache read token cost when a provider speed tier such as Anthropic fast mode is active.


fastCacheWriteTokenCostPer1M?

TypeScript
optional fastCacheWriteTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L92

Cache write token cost when a provider speed tier such as Anthropic fast mode is active.


fastCompletionTokenCostPer1M?

TypeScript
optional fastCompletionTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L88

Completion token cost when a provider speed tier such as Anthropic fast mode is active.


fastPromptTokenCostPer1M?

TypeScript
optional fastPromptTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L86

Prompt token cost when a provider speed tier such as Anthropic fast mode is active.


isDeprecated?

TypeScript
optional isDeprecated: boolean;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L118


isExpensive?

TypeScript
optional isExpensive: boolean;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L116


longContextCacheReadTokenCostPer1M?

TypeScript
optional longContextCacheReadTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L82

Cache read token cost for requests exceeding longContextThreshold


longContextCompletionTokenCostPer1M?

TypeScript
optional longContextCompletionTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L80

Completion token cost for requests exceeding longContextThreshold


longContextPromptTokenCostPer1M?

TypeScript
optional longContextPromptTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L78

Prompt token cost for requests exceeding longContextThreshold


longContextThreshold?

TypeScript
optional longContextThreshold: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L84

Total input token count (including cached) above which long-context rates apply


maxTokens?

TypeScript
optional maxTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L115


name

TypeScript
name: string;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L70


notSupported?

TypeScript
optional notSupported: object;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L107

temperature?

TypeScript
optional temperature: boolean;

topP?

TypeScript
optional topP: boolean;

promptTokenCostPer1M?

TypeScript
optional promptTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L73


serviceTierPricing?

TypeScript
optional serviceTierPricing: Partial<Record<"flex" | "priority", AxServiceTierPricing>>;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L94

Token pricing overrides selected from the tier that actually served a request.


supported?

TypeScript
optional supported: object;

Defined in: https://github.com/ax-llm/ax/blob/781623e58befc00a555cf73ccbac598a72bb700c/src/ax/ai/types.ts#L98

serviceTiers?

TypeScript
optional serviceTiers: readonly AxServiceTier[];

Portable request tiers verified for this exact model.

showThoughts?

TypeScript
optional showThoughts: boolean;

structuredOutputModes?

TypeScript
optional structuredOutputModes: readonly AxStructuredOutputRung[];

Ordered, verified structured-output strategies for this exact model.

structuredOutputs?

TypeScript
optional structuredOutputs: boolean;

thinkingBudget?

TypeScript
optional thinkingBudget: boolean;
Docs