Documentation Index
Fetch the complete documentation index at: https://openlayer.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Definition
The total cost test ensures that the total request cost (in USD) for the data is within a given range.Taxonomy
- Task types: LLM.
- Availability: and .
Why it matters
- If you use an external API to get the model predictions, you might be charged for each request. This is the case for most third-party LLMs, such as OpenAI GPTs. Setting up tests for the cost of the requests is important to avoid unexpected costs.
Test configuration examples
If you are writing atests.json, here are a few valid configurations for the character length test:

