@llumiverse/common
Version:
Public types, enums and options used by Llumiverse API.
15 lines • 607 B
TypeScript
/**
* Returns the max output tokens for a given model (provider-agnostic).
* When a model's limits vary by provider, returns a conservative value
* that works across all providers.
*/
export declare function getMaxOutputTokens(model: string): number;
/**
* Returns the max input tokens for a given model (context window minus max output).
*/
export declare function getMaxInputTokens(model: string): number;
/**
* Returns the context window size (input + output) for a given model.
*/
export declare function getContextWindowSize(model: string): number;
//# sourceMappingURL=context-windows.d.ts.map