mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-04 00:42:14 +00:00
feat: add Anthropic reasoning effort pricing controls
This commit is contained in:
1 parent
5097b31457
commit
8249ab37db
47 files changed
+664
-247
No files matched your search
@@ -50,6 +50,7 @@ export interface ChannelModelPricing {
|
||||
cache_read_price: number | null
|
||||
fast_multiplier?: number | null
|
||||
flex_multiplier?: number | null
|
||||
max_reasoning_effort_multiplier?: number | null
|
||||
image_input_price: number | null
|
||||
image_output_price: number | null
|
||||
per_request_price: number | null
|
||||
@@ -179,6 +180,7 @@ export interface ModelDefaultPricing {
|
||||
cache_read_price?: number
|
||||
image_input_price?: number
|
||||
image_output_price?: number
|
||||
max_reasoning_effort_multiplier?: number | null
|
||||
}
|
||||
|
||||
export async function getModelDefaultPricing(model: string): Promise<ModelDefaultPricing> {
|
||||
|
||||
@@ -41,6 +41,7 @@ export interface UserSupportedModelPricing {
|
||||
cache_write_price: number | null
|
||||
cache_write_1h_price?: number | null
|
||||
cache_read_price: number | null
|
||||
max_reasoning_effort_multiplier?: number | null
|
||||
image_input_price: number | null
|
||||
image_output_price: number | null
|
||||
per_request_price: number | null
|
||||
|
||||
Reference in new issue
Block a user