@canarycoders/ai 0.8.1 → 0.8.2
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/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -73,6 +73,12 @@ interface ApiEnvelope<T> {
|
|
|
73
73
|
interface CostInfo {
|
|
74
74
|
/** Customer price in USD for this call; 0 when it ran on your own provider key (BYOK). */
|
|
75
75
|
customerPrice: number;
|
|
76
|
+
/**
|
|
77
|
+
* What the call would cost at list rates. Equals `customerPrice` on metered
|
|
78
|
+
* calls; on BYOK calls it is the price you avoided by bringing your own key.
|
|
79
|
+
* Absent on gateways older than 2026-09.
|
|
80
|
+
*/
|
|
81
|
+
listPrice?: number;
|
|
76
82
|
currency: "USD";
|
|
77
83
|
billing: "metered" | "byok";
|
|
78
84
|
/** True when served from the completion cache. */
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,12 @@ interface ApiEnvelope<T> {
|
|
|
73
73
|
interface CostInfo {
|
|
74
74
|
/** Customer price in USD for this call; 0 when it ran on your own provider key (BYOK). */
|
|
75
75
|
customerPrice: number;
|
|
76
|
+
/**
|
|
77
|
+
* What the call would cost at list rates. Equals `customerPrice` on metered
|
|
78
|
+
* calls; on BYOK calls it is the price you avoided by bringing your own key.
|
|
79
|
+
* Absent on gateways older than 2026-09.
|
|
80
|
+
*/
|
|
81
|
+
listPrice?: number;
|
|
76
82
|
currency: "USD";
|
|
77
83
|
billing: "metered" | "byok";
|
|
78
84
|
/** True when served from the completion cache. */
|