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

AxServiceTierPricing

TypeScript
type AxServiceTierPricing = object;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L36

Per-token pricing overrides for a non-standard service tier.

Properties

cacheReadTokenCostPer1M?

TypeScript
optional cacheReadTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L39


cacheWriteTokenCostPer1M?

TypeScript
optional cacheWriteTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L40


completionTokenCostPer1M?

TypeScript
optional completionTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L38


longContextCacheReadTokenCostPer1M?

TypeScript
optional longContextCacheReadTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L43


longContextCacheWriteTokenCostPer1M?

TypeScript
optional longContextCacheWriteTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L44


longContextCompletionTokenCostPer1M?

TypeScript
optional longContextCompletionTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L42


longContextPromptTokenCostPer1M?

TypeScript
optional longContextPromptTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L41


promptTokenCostPer1M?

TypeScript
optional promptTokenCostPer1M: number;

Defined in: https://github.com/ax-llm/ax/blob/3d5aa8dac28a2637e4150f022dcd02e6fc3309f0/src/ax/ai/types.ts#L37

Docs