provider: Support provider-defined cache prices (#12944)

This commit is contained in:
Lifei Zhou
2026-10-18 23:26:56 +00:00
committed by GitHub
parent 34a222e3f2
commit 4ea7c2c6dc
9 changed files with 176 additions and 125 deletions
+2
View File
@@ -13,6 +13,8 @@ export type ConfigKey = {
};
export type ModelInfo = {
cache_read_token_cost?: number | null;
cache_write_token_cost?: number | null;
context_limit?: number | null;
currency?: string | null;
input_token_cost?: number | null;