Skip to content

Slot: cost

Estimated USD cost for the request (when computable).

URI: dspy:cost

Applicable Classes

Name Description Modifies Slot
LMResponse Normalized result of one LM request (``dspy no

Properties

Type and Range

Property Value
Range Float
Domain Of LMResponse

Cardinality and Requirements

Property Value
### Value Constraints
Property Value
Minimum Value 0

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:cost
native dspy:cost

LinkML Source

name: cost
description: Estimated USD cost for the request (when computable).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- LMResponse
range: float
minimum_value: 0.0