hanzoai 8.5.742 → 8.5.749
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/pricing-api.d.ts +75 -4
- package/dist/api/pricing-api.js +85 -4
- package/dist/esm/api/pricing-api.d.ts +75 -4
- package/dist/esm/api/pricing-api.js +85 -4
- package/dist/esm/models/ai-model-pricing-info.d.ts +26 -0
- package/dist/esm/models/ai-per-million.d.ts +42 -0
- package/dist/esm/models/ai-per-million.js +14 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/models/pricing-enso-out.d.ts +49 -0
- package/dist/esm/models/pricing-enso-out.js +14 -0
- package/dist/esm/models/pricing-price.d.ts +42 -0
- package/dist/esm/models/pricing-price.js +14 -0
- package/dist/esm/models/pricing-quote.d.ts +75 -0
- package/dist/esm/models/pricing-quote.js +14 -0
- package/dist/esm/models/pricing-rate-arm.d.ts +61 -0
- package/dist/esm/models/pricing-rate-arm.js +14 -0
- package/dist/esm/models/pricing-rate-window.d.ts +42 -0
- package/dist/esm/models/pricing-rate-window.js +14 -0
- package/dist/models/ai-model-pricing-info.d.ts +26 -0
- package/dist/models/ai-per-million.d.ts +42 -0
- package/dist/models/ai-per-million.js +15 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/models/pricing-enso-out.d.ts +49 -0
- package/dist/models/pricing-enso-out.js +15 -0
- package/dist/models/pricing-price.d.ts +42 -0
- package/dist/models/pricing-price.js +15 -0
- package/dist/models/pricing-quote.d.ts +75 -0
- package/dist/models/pricing-quote.js +15 -0
- package/dist/models/pricing-rate-arm.d.ts +61 -0
- package/dist/models/pricing-rate-arm.js +15 -0
- package/dist/models/pricing-rate-window.d.ts +42 -0
- package/dist/models/pricing-rate-window.js +15 -0
- package/package.json +1 -1
- package/src/api/pricing-api.ts +133 -4
- package/src/models/ai-model-pricing-info.ts +30 -0
- package/src/models/ai-per-million.ts +48 -0
- package/src/models/index.ts +6 -0
- package/src/models/pricing-enso-out.ts +57 -0
- package/src/models/pricing-price.ts +48 -0
- package/src/models/pricing-quote.ts +87 -0
- package/src/models/pricing-rate-arm.ts +69 -0
- package/src/models/pricing-rate-window.ts +48 -0
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AiPerMillion } from './ai-per-million';
|
|
13
|
+
import type { AiWindow } from './ai-window';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -21,6 +23,18 @@ export interface AiModelPricingInfo {
|
|
|
21
23
|
* @memberof AiModelPricingInfo
|
|
22
24
|
*/
|
|
23
25
|
'completion'?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AiModelPricingInfo
|
|
30
|
+
*/
|
|
31
|
+
'fee'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AiPerMillion}
|
|
35
|
+
* @memberof AiModelPricingInfo
|
|
36
|
+
*/
|
|
37
|
+
'from'?: AiPerMillion;
|
|
24
38
|
/**
|
|
25
39
|
*
|
|
26
40
|
* @type {number}
|
|
@@ -55,10 +69,22 @@ export interface AiModelPricingInfo {
|
|
|
55
69
|
'rates'?: {
|
|
56
70
|
[key: string]: string;
|
|
57
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {AiPerMillion}
|
|
75
|
+
* @memberof AiModelPricingInfo
|
|
76
|
+
*/
|
|
77
|
+
'up_to'?: AiPerMillion;
|
|
58
78
|
/**
|
|
59
79
|
*
|
|
60
80
|
* @type {boolean}
|
|
61
81
|
* @memberof AiModelPricingInfo
|
|
62
82
|
*/
|
|
63
83
|
'variable'?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {AiWindow}
|
|
87
|
+
* @memberof AiModelPricingInfo
|
|
88
|
+
*/
|
|
89
|
+
'window'?: AiWindow;
|
|
64
90
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AiPerMillion
|
|
16
|
+
*/
|
|
17
|
+
export interface AiPerMillion {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AiPerMillion
|
|
22
|
+
*/
|
|
23
|
+
'cache_read_per_million'?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AiPerMillion
|
|
28
|
+
*/
|
|
29
|
+
'cache_write_per_million'?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AiPerMillion
|
|
34
|
+
*/
|
|
35
|
+
'input_per_million'?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AiPerMillion
|
|
40
|
+
*/
|
|
41
|
+
'output_per_million'?: number;
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -146,6 +146,7 @@ export * from './ai-model-providers';
|
|
|
146
146
|
export * from './ai-models';
|
|
147
147
|
export * from './ai-panel-judge';
|
|
148
148
|
export * from './ai-paused';
|
|
149
|
+
export * from './ai-per-million';
|
|
149
150
|
export * from './ai-price';
|
|
150
151
|
export * from './ai-provider-usage';
|
|
151
152
|
export * from './ai-provider-usage-model-spend';
|
|
@@ -2344,6 +2345,8 @@ export * from './pref-prefs-view';
|
|
|
2344
2345
|
export * from './pricing-card';
|
|
2345
2346
|
export * from './pricing-component';
|
|
2346
2347
|
export * from './pricing-enablement-board';
|
|
2348
|
+
export * from './pricing-enso-out';
|
|
2349
|
+
export * from './pricing-price';
|
|
2347
2350
|
export * from './pricing-pricing-health';
|
|
2348
2351
|
export * from './pricing-pricing-model-list';
|
|
2349
2352
|
export * from './pricing-pricing-plan-list';
|
|
@@ -2352,7 +2355,10 @@ export * from './pricing-pricing-provider-list';
|
|
|
2352
2355
|
export * from './pricing-pricing-region-list';
|
|
2353
2356
|
export * from './pricing-pricing-tier-list';
|
|
2354
2357
|
export * from './pricing-pricing-tool-list';
|
|
2358
|
+
export * from './pricing-quote';
|
|
2355
2359
|
export * from './pricing-rate';
|
|
2360
|
+
export * from './pricing-rate-arm';
|
|
2361
|
+
export * from './pricing-rate-window';
|
|
2356
2362
|
export * from './pricing-speed';
|
|
2357
2363
|
export * from './pricing-user-enablement-item';
|
|
2358
2364
|
export * from './principal-agent-brief';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -146,6 +146,7 @@ export * from './ai-model-providers';
|
|
|
146
146
|
export * from './ai-models';
|
|
147
147
|
export * from './ai-panel-judge';
|
|
148
148
|
export * from './ai-paused';
|
|
149
|
+
export * from './ai-per-million';
|
|
149
150
|
export * from './ai-price';
|
|
150
151
|
export * from './ai-provider-usage';
|
|
151
152
|
export * from './ai-provider-usage-model-spend';
|
|
@@ -2344,6 +2345,8 @@ export * from './pref-prefs-view';
|
|
|
2344
2345
|
export * from './pricing-card';
|
|
2345
2346
|
export * from './pricing-component';
|
|
2346
2347
|
export * from './pricing-enablement-board';
|
|
2348
|
+
export * from './pricing-enso-out';
|
|
2349
|
+
export * from './pricing-price';
|
|
2347
2350
|
export * from './pricing-pricing-health';
|
|
2348
2351
|
export * from './pricing-pricing-model-list';
|
|
2349
2352
|
export * from './pricing-pricing-plan-list';
|
|
@@ -2352,7 +2355,10 @@ export * from './pricing-pricing-provider-list';
|
|
|
2352
2355
|
export * from './pricing-pricing-region-list';
|
|
2353
2356
|
export * from './pricing-pricing-tier-list';
|
|
2354
2357
|
export * from './pricing-pricing-tool-list';
|
|
2358
|
+
export * from './pricing-quote';
|
|
2355
2359
|
export * from './pricing-rate';
|
|
2360
|
+
export * from './pricing-rate-arm';
|
|
2361
|
+
export * from './pricing-rate-window';
|
|
2356
2362
|
export * from './pricing-speed';
|
|
2357
2363
|
export * from './pricing-user-enablement-item';
|
|
2358
2364
|
export * from './principal-agent-brief';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PricingQuote } from './pricing-quote';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PricingEnsoOut
|
|
17
|
+
*/
|
|
18
|
+
export interface PricingEnsoOut {
|
|
19
|
+
/**
|
|
20
|
+
* Computed is when the prices were computed, RFC 3339.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PricingEnsoOut
|
|
23
|
+
*/
|
|
24
|
+
'computed'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Fee is the platform\'s fee every price carries, percent: the margin, and the only one.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PricingEnsoOut
|
|
29
|
+
*/
|
|
30
|
+
'fee'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Free names the Enso models served at no charge.
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof PricingEnsoOut
|
|
35
|
+
*/
|
|
36
|
+
'free'?: Array<string>;
|
|
37
|
+
/**
|
|
38
|
+
* Measured is when the calls typical was measured over were read, RFC 3339.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PricingEnsoOut
|
|
41
|
+
*/
|
|
42
|
+
'measured'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Quotes is each model at each depth asked: from, typical and upTo in dollars a million tokens, and the window typical was measured over.
|
|
45
|
+
* @type {Array<PricingQuote>}
|
|
46
|
+
* @memberof PricingEnsoOut
|
|
47
|
+
*/
|
|
48
|
+
'quotes'?: Array<PricingQuote>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PricingPrice
|
|
16
|
+
*/
|
|
17
|
+
export interface PricingPrice {
|
|
18
|
+
/**
|
|
19
|
+
* CacheRead is a prompt token read from the provider\'s cache, dollars a million; \"\" where the price states none.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PricingPrice
|
|
22
|
+
*/
|
|
23
|
+
'cacheRead'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* CacheWrite is a prompt token written to the provider\'s cache, dollars a million; \"\" where the price states none.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PricingPrice
|
|
28
|
+
*/
|
|
29
|
+
'cacheWrite'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Input is a fresh prompt token\'s price, dollars a million.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PricingPrice
|
|
34
|
+
*/
|
|
35
|
+
'input'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Output is a completion token\'s price, dollars a million.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PricingPrice
|
|
40
|
+
*/
|
|
41
|
+
'output'?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PricingPrice } from './pricing-price';
|
|
13
|
+
import type { PricingRateArm } from './pricing-rate-arm';
|
|
14
|
+
import type { PricingRateWindow } from './pricing-rate-window';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PricingQuote
|
|
19
|
+
*/
|
|
20
|
+
export interface PricingQuote {
|
|
21
|
+
/**
|
|
22
|
+
* Arms are the model\'s routes, set for a SuperAdmin alone.
|
|
23
|
+
* @type {Array<PricingRateArm>}
|
|
24
|
+
* @memberof PricingQuote
|
|
25
|
+
*/
|
|
26
|
+
'arms'?: Array<PricingRateArm>;
|
|
27
|
+
/**
|
|
28
|
+
* BYOK says the prices carry the fee of a call on the org\'s own key.
|
|
29
|
+
* @type {boolean}
|
|
30
|
+
* @memberof PricingQuote
|
|
31
|
+
*/
|
|
32
|
+
'byok'?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Fee is the platform\'s fee each price carries, percent.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof PricingQuote
|
|
37
|
+
*/
|
|
38
|
+
'fee'?: string;
|
|
39
|
+
/**
|
|
40
|
+
* From is the least a token bills: the model\'s cheapest arm, class by class.
|
|
41
|
+
* @type {PricingPrice}
|
|
42
|
+
* @memberof PricingQuote
|
|
43
|
+
*/
|
|
44
|
+
'from'?: PricingPrice;
|
|
45
|
+
/**
|
|
46
|
+
* Model is the model quoted, or a blend\'s models joined by commas.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof PricingQuote
|
|
49
|
+
*/
|
|
50
|
+
'model'?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Reasoning is the depth quoted: none, low, medium, high, max or default; \"\" for every depth together.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof PricingQuote
|
|
55
|
+
*/
|
|
56
|
+
'reasoning'?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Typical is what a token of the model\'s calls billed, measured over Window; nil when no call was measured.
|
|
59
|
+
* @type {PricingPrice}
|
|
60
|
+
* @memberof PricingQuote
|
|
61
|
+
*/
|
|
62
|
+
'typical'?: PricingPrice;
|
|
63
|
+
/**
|
|
64
|
+
* UpTo is the most a token bills: the model\'s dearest arm, a long prompt\'s price included.
|
|
65
|
+
* @type {PricingPrice}
|
|
66
|
+
* @memberof PricingQuote
|
|
67
|
+
*/
|
|
68
|
+
'upTo'?: PricingPrice;
|
|
69
|
+
/**
|
|
70
|
+
* Window is the calls Typical was measured over.
|
|
71
|
+
* @type {PricingRateWindow}
|
|
72
|
+
* @memberof PricingQuote
|
|
73
|
+
*/
|
|
74
|
+
'window'?: PricingRateWindow;
|
|
75
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PricingPrice } from './pricing-price';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PricingRateArm
|
|
17
|
+
*/
|
|
18
|
+
export interface PricingRateArm {
|
|
19
|
+
/**
|
|
20
|
+
* Above is the prompt length Long applies past, tokens.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PricingRateArm
|
|
23
|
+
*/
|
|
24
|
+
'above'?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Fee is a reseller\'s fee on the provider\'s price, percent: part of the cost.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PricingRateArm
|
|
29
|
+
*/
|
|
30
|
+
'fee'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Kind is how the provider is reached: direct (its own API, on a key Hanzo or the org holds), family (a Hanzo family service), do (DigitalOcean\'s inference) or openrouter (the fallback), asked in that order.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PricingRateArm
|
|
35
|
+
*/
|
|
36
|
+
'kind'?: string;
|
|
37
|
+
/**
|
|
38
|
+
* List is the provider\'s own price.
|
|
39
|
+
* @type {PricingPrice}
|
|
40
|
+
* @memberof PricingRateArm
|
|
41
|
+
*/
|
|
42
|
+
'list'?: PricingPrice;
|
|
43
|
+
/**
|
|
44
|
+
* Long is the provider\'s price for a prompt past Above tokens, where it charges one.
|
|
45
|
+
* @type {PricingPrice}
|
|
46
|
+
* @memberof PricingRateArm
|
|
47
|
+
*/
|
|
48
|
+
'long'?: PricingPrice;
|
|
49
|
+
/**
|
|
50
|
+
* Provider is the account the arm runs on, as the family\'s catalog names it.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof PricingRateArm
|
|
53
|
+
*/
|
|
54
|
+
'provider'?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Upstream is the model the arm runs.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof PricingRateArm
|
|
59
|
+
*/
|
|
60
|
+
'upstream'?: string;
|
|
61
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PricingRateWindow
|
|
16
|
+
*/
|
|
17
|
+
export interface PricingRateWindow {
|
|
18
|
+
/**
|
|
19
|
+
* Basis is \"24h\" (every call of the last day), \"last\" (the model\'s last calls, the day having held too few) or \"\" (none measured).
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PricingRateWindow
|
|
22
|
+
*/
|
|
23
|
+
'basis'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Requests is how many calls were measured.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PricingRateWindow
|
|
28
|
+
*/
|
|
29
|
+
'requests'?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Since is when the first call measured was made, unix seconds.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PricingRateWindow
|
|
34
|
+
*/
|
|
35
|
+
'since'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Until is when the last was, unix seconds.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PricingRateWindow
|
|
40
|
+
*/
|
|
41
|
+
'until'?: number;
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Hanzo Cloud API
|
|
5
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export {};
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AiPerMillion } from './ai-per-million';
|
|
13
|
+
import type { AiWindow } from './ai-window';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -21,6 +23,18 @@ export interface AiModelPricingInfo {
|
|
|
21
23
|
* @memberof AiModelPricingInfo
|
|
22
24
|
*/
|
|
23
25
|
'completion'?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AiModelPricingInfo
|
|
30
|
+
*/
|
|
31
|
+
'fee'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {AiPerMillion}
|
|
35
|
+
* @memberof AiModelPricingInfo
|
|
36
|
+
*/
|
|
37
|
+
'from'?: AiPerMillion;
|
|
24
38
|
/**
|
|
25
39
|
*
|
|
26
40
|
* @type {number}
|
|
@@ -55,10 +69,22 @@ export interface AiModelPricingInfo {
|
|
|
55
69
|
'rates'?: {
|
|
56
70
|
[key: string]: string;
|
|
57
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {AiPerMillion}
|
|
75
|
+
* @memberof AiModelPricingInfo
|
|
76
|
+
*/
|
|
77
|
+
'up_to'?: AiPerMillion;
|
|
58
78
|
/**
|
|
59
79
|
*
|
|
60
80
|
* @type {boolean}
|
|
61
81
|
* @memberof AiModelPricingInfo
|
|
62
82
|
*/
|
|
63
83
|
'variable'?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {AiWindow}
|
|
87
|
+
* @memberof AiModelPricingInfo
|
|
88
|
+
*/
|
|
89
|
+
'window'?: AiWindow;
|
|
64
90
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hanzo Cloud API
|
|
3
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AiPerMillion
|
|
16
|
+
*/
|
|
17
|
+
export interface AiPerMillion {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AiPerMillion
|
|
22
|
+
*/
|
|
23
|
+
'cache_read_per_million'?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof AiPerMillion
|
|
28
|
+
*/
|
|
29
|
+
'cache_write_per_million'?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AiPerMillion
|
|
34
|
+
*/
|
|
35
|
+
'input_per_million'?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof AiPerMillion
|
|
40
|
+
*/
|
|
41
|
+
'output_per_million'?: number;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Hanzo Cloud API
|
|
6
|
+
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator\'s admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -146,6 +146,7 @@ export * from './ai-model-providers';
|
|
|
146
146
|
export * from './ai-models';
|
|
147
147
|
export * from './ai-panel-judge';
|
|
148
148
|
export * from './ai-paused';
|
|
149
|
+
export * from './ai-per-million';
|
|
149
150
|
export * from './ai-price';
|
|
150
151
|
export * from './ai-provider-usage';
|
|
151
152
|
export * from './ai-provider-usage-model-spend';
|
|
@@ -2344,6 +2345,8 @@ export * from './pref-prefs-view';
|
|
|
2344
2345
|
export * from './pricing-card';
|
|
2345
2346
|
export * from './pricing-component';
|
|
2346
2347
|
export * from './pricing-enablement-board';
|
|
2348
|
+
export * from './pricing-enso-out';
|
|
2349
|
+
export * from './pricing-price';
|
|
2347
2350
|
export * from './pricing-pricing-health';
|
|
2348
2351
|
export * from './pricing-pricing-model-list';
|
|
2349
2352
|
export * from './pricing-pricing-plan-list';
|
|
@@ -2352,7 +2355,10 @@ export * from './pricing-pricing-provider-list';
|
|
|
2352
2355
|
export * from './pricing-pricing-region-list';
|
|
2353
2356
|
export * from './pricing-pricing-tier-list';
|
|
2354
2357
|
export * from './pricing-pricing-tool-list';
|
|
2358
|
+
export * from './pricing-quote';
|
|
2355
2359
|
export * from './pricing-rate';
|
|
2360
|
+
export * from './pricing-rate-arm';
|
|
2361
|
+
export * from './pricing-rate-window';
|
|
2356
2362
|
export * from './pricing-speed';
|
|
2357
2363
|
export * from './pricing-user-enablement-item';
|
|
2358
2364
|
export * from './principal-agent-brief';
|