+ Breakdown of requests, tokens and usage costs for each distinct
+ provider.
+
+
+
+
+
+ item.provider || Math.random().toString()
+ }
+ isLoading={isLoading}
+ emptyMessage="No provider metrics available for this period."
+ />
+
+
+
+ {/* Cost by Model Section */}
+
+
+
+ Cost by Model
+
+
+ Breakdown of requests and costs grouped at the AI model level.
+
+
+
+
+
+ `${item.model}-${item.provider}` || Math.random().toString()
+ }
+ isLoading={isLoading}
+ emptyMessage="No model metrics available for this period."
+ />
+
+
+
+
+ );
+
+ if (hideLayout) {
+ return content;
+ }
+
return (
{
"Monitor AI completions, tokens, and billing analytics across all providers.",
}}
>
-
- Breakdown of requests, tokens and usage costs for each distinct
- provider.
-
-
-
-
-
- item.provider || Math.random().toString()
- }
- isLoading={isLoading}
- emptyMessage="No provider metrics available for this period."
- />
-
-
-
- {/* Cost by Model Section */}
-
-
-
- Cost by Model
-
-
- Breakdown of requests and costs grouped at the AI model level.
-
-
-
-
-
- `${item.model}-${item.provider}` || Math.random().toString()
- }
- isLoading={isLoading}
- emptyMessage="No model metrics available for this period."
- />
-