{"dataset_id":"ai-api-pricing","schema_version":1,"schema":{"type":"object","required":["provider","model_id","input_price","output_price","pricing_unit","currency","observed_at","official_source"],"properties":{"currency":{"enum":["USD"],"type":"string","description":"Currency"},"model_id":{"type":"string","maxLength":160,"description":"Provider's model identifier"},"provider":{"type":"string","maxLength":120,"description":"Inference provider name"},"modalities":{"type":"array","items":{"type":"string"},"description":"Supported input modalities"},"model_name":{"type":"string","maxLength":200,"description":"Human-readable model name"},"input_price":{"type":"number","minimum":0,"description":"Price per pricing_unit of input tokens"},"observed_at":{"type":"string","format":"date-time","description":"When the price was observed"},"output_price":{"type":"number","minimum":0,"description":"Price per pricing_unit of output tokens"},"pricing_unit":{"enum":["USD_per_million_tokens","USD_per_thousand_tokens","USD_per_request"],"type":"string","description":"Normalised pricing unit"},"context_window":{"type":["integer","null"],"minimum":0,"description":"Maximum context tokens"},"effective_date":{"type":["string","null"],"format":"date","description":"Date the price took effect"},"model_category":{"enum":["text","multimodal","embedding","image","audio","code","other"],"type":"string","description":"Model category"},"official_source":{"type":"string","format":"uri","description":"Official pricing page"},"cached_input_price":{"type":["number","null"],"minimum":0,"description":"Cached input price, if offered"},"service_restrictions":{"type":["string","null"],"description":"Regional or usage restrictions"}},"additionalProperties":false},"primary_key":["provider","model_id","observed_at"],"field_descriptions":{"currency":"Currency","model_id":"Provider's model identifier","provider":"Inference provider name","modalities":"Supported input modalities","model_name":"Human-readable model name","input_price":"Price per pricing_unit of input tokens","observed_at":"When the price was observed","output_price":"Price per pricing_unit of output tokens","pricing_unit":"Normalised pricing unit","context_window":"Maximum context tokens","effective_date":"Date the price took effect","model_category":"Model category","official_source":"Official pricing page","cached_input_price":"Cached input price, if offered","service_restrictions":"Regional or usage restrictions"},"supported_query_operations":["eq","neq","in","gt","gte","lt","lte","between","contains","prefix","sort","fields","aggregate"]}