capabilities.work

Get LLM usage and cost for a chat

One step with TextQL. We can help you get access.

Look something up

Get LLM usage and cost for a chat

with TextQL

Use TextQL: its TextQL Chat Service API lets you get LLM usage and cost for a chat in a single step (POST /textql.rpc.public.chat.ChatService/GetLlmUsage). capabilities.work can help you get signed up and connected.

  • How many tokens did a chat consume?
  • Can I see what a single conversation cost in LLM spend?
Say it to your AI assistant
  • Show LLM usage for chat {chat}.
  • Get token usage for chat {chat} with costs included: {include_costs}.
For your developer

POST /textql.rpc.public.chat.ChatService/GetLlmUsage in TextQL Chat Service API. Full spec on APIs.io.