Skip to main content
Glama

usage_by_model

Analyze AI model usage and costs over time to track spending and optimize resource allocation.

Instructions

Break down usage and cost by AI model over a time period.

Input Schema

NameRequiredDescriptionDefault
fromYesStart timestamp (ISO 8601)
toYesEnd timestamp (ISO 8601)
environmentNoOptional environment filter
limitNoMaximum number of models to return (default: 20)

Input Schema (JSON Schema)

{ "properties": { "environment": { "description": "Optional environment filter", "type": "string" }, "from": { "description": "Start timestamp (ISO 8601)", "format": "date-time", "type": "string" }, "limit": { "description": "Maximum number of models to return (default: 20)", "type": "number" }, "to": { "description": "End timestamp (ISO 8601)", "format": "date-time", "type": "string" } }, "required": [ "from", "to" ], "type": "object" }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/therealsachin/langfuse-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server