OpenAPI 3.1.12026-08-1827901.1 MB

e7688d4122e1

LLM

Quotes the credit cost of LLM usage. Each entry is the usage of ONE model call and is priced on its own, because provider pricing is tiered on the size of a single request: summing a session into one entry would quote the long-context rate. Uses the same pricing and the same token→credit rate that bills real usage, so a caller needs no copy of either. Does not record usage or spend credits. Usage on a model with no known price contributes 0 credits and the model is named in unpricedModels.

post/v1/llm/cost

Headers

Authorizationstring

Request body

Response

Default Response