Skip to content
Developer Preview

ModelCost

Per-1M-token catalog cost, carried verbatim for display and never rounded or re-formatted by the host. Cost arithmetic stays client-local view math.

  • cached
  • currency
  • input
  • output
Source

schema/msp/experimental/msp.schema.json#/types/ModelCost

{
"description": "Per-1M-token catalog cost, carried **verbatim** for display and never\nrounded or re-formatted by the host. Cost arithmetic stays\nclient-local view math.",
"properties": {
"cached": {
"description": "Cached-input cost, a decimal string.",
"type": "string"
},
"currency": {
"description": "Currency; nullable — today's catalogs are USD.",
"type": [
"string",
"null"
]
},
"input": {
"description": "Input cost, a decimal string.",
"type": "string"
},
"output": {
"description": "Output cost, a decimal string.",
"type": "string"
}
},
"required": [
"cached",
"currency",
"input",
"output"
],
"type": "object"
}