SPB Git forge

spb/doc-api

Public
2commits 1branches 0releases
15.7 MBsize
maindefault branch
13 days agolast push
Python 88.3% TypeScript 7.6% Shell 4.1%
1.5 KB · 68 lines json
Raw Blame History
1{2  "$schema": "https://json-schema.org/draft/2020-12/schema",3  "$id": "https://atlas.local/schemas/price.schema.json",4  "title": "Atlas price record",5  "type": "object",6  "required": [7    "provider",8    "model_or_service",9    "dimension",10    "currency",11    "unit"12  ],13  "properties": {14    "provider": {15      "enum": [16        "openai",17        "anthropic",18        "xai",19        "gemini"20      ]21    },22    "model_or_service": {23      "type": "string"24    },25    "dimension": {26      "type": "string",27      "description": "input | cached_input | cache_write_5m | cache_write_1h | output | audio_input | audio_output | image_input | image_output | video_output | per_call | per_search | storage_gb_day | container_hour | training_token | inference_input | ..."28    },29    "tier": {30      "type": [31        "string",32        "null"33      ],34      "description": "standard | batch | priority | flex | fast | long_context | null"35    },36    "price": {37      "type": [38        "number",39        "string",40        "null"41      ]42    },43    "currency": {44      "type": "string"45    },46    "unit": {47      "type": "string",48      "description": "per 1M tokens | per 1K tokens | per image | per second | per minute | per call | per 1K calls | per GB per day | per hour | per session"49    },50    "effective_notes": {51      "type": [52        "string",53        "null"54      ]55    },56    "source": {57      "type": [58        "string",59        "object",60        "array"61      ]62    },63    "retrieved_at": {64      "type": "string"65    }66  }67}68