@reverbia/sdk 1.0.0-next.20251125212314 → 1.0.0-next.20251126182814

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.mts CHANGED
@@ -74,6 +74,10 @@ type LlmapiChatCompletionUsage = {
74
74
  * CompletionTokens is the number of tokens in the completion
75
75
  */
76
76
  completion_tokens?: number;
77
+ /**
78
+ * CostMicroUSD is the cost of this completion in micro-dollars (USD × 1,000,000)
79
+ */
80
+ cost_micro_usd?: number;
77
81
  /**
78
82
  * PromptTokens is the number of tokens in the prompt
79
83
  */
@@ -171,6 +175,10 @@ type LlmapiEmbeddingResponse = {
171
175
  * Usage contains token usage information
172
176
  */
173
177
  type LlmapiEmbeddingUsage = {
178
+ /**
179
+ * CostMicroUSD is the inference cost for this embedding request
180
+ */
181
+ cost_micro_usd?: number;
174
182
  /**
175
183
  * PromptTokens is the number of tokens in the prompt
176
184
  */
package/dist/index.d.ts CHANGED
@@ -74,6 +74,10 @@ type LlmapiChatCompletionUsage = {
74
74
  * CompletionTokens is the number of tokens in the completion
75
75
  */
76
76
  completion_tokens?: number;
77
+ /**
78
+ * CostMicroUSD is the cost of this completion in micro-dollars (USD × 1,000,000)
79
+ */
80
+ cost_micro_usd?: number;
77
81
  /**
78
82
  * PromptTokens is the number of tokens in the prompt
79
83
  */
@@ -171,6 +175,10 @@ type LlmapiEmbeddingResponse = {
171
175
  * Usage contains token usage information
172
176
  */
173
177
  type LlmapiEmbeddingUsage = {
178
+ /**
179
+ * CostMicroUSD is the inference cost for this embedding request
180
+ */
181
+ cost_micro_usd?: number;
174
182
  /**
175
183
  * PromptTokens is the number of tokens in the prompt
176
184
  */
@@ -43,6 +43,10 @@ type LlmapiChatCompletionUsage = {
43
43
  * CompletionTokens is the number of tokens in the completion
44
44
  */
45
45
  completion_tokens?: number;
46
+ /**
47
+ * CostMicroUSD is the cost of this completion in micro-dollars (USD × 1,000,000)
48
+ */
49
+ cost_micro_usd?: number;
46
50
  /**
47
51
  * PromptTokens is the number of tokens in the prompt
48
52
  */
@@ -43,6 +43,10 @@ type LlmapiChatCompletionUsage = {
43
43
  * CompletionTokens is the number of tokens in the completion
44
44
  */
45
45
  completion_tokens?: number;
46
+ /**
47
+ * CostMicroUSD is the cost of this completion in micro-dollars (USD × 1,000,000)
48
+ */
49
+ cost_micro_usd?: number;
46
50
  /**
47
51
  * PromptTokens is the number of tokens in the prompt
48
52
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reverbia/sdk",
3
- "version": "1.0.0-next.20251125212314",
3
+ "version": "1.0.0-next.20251126182814",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "homepage": "https://github.com/zeta-chain/ai-sdk#readme",
51
51
  "dependencies": {
52
- "@reverbia/portal": "1.0.0-next.20251120153026",
52
+ "@reverbia/portal": "1.0.0-next.20251126175613",
53
53
  "@reverbia/sdk": "1.0.0-next.20251120124145",
54
54
  "ai": "5.0.93"
55
55
  },