{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Model Pricing, Context & Changelog Radar",
    "description": "Compare live LLM API prices, context windows, and capabilities across providers, detect price changes across runs, and track AI SDK breaking releases.",
    "version": "0.1",
    "x-build-id": "pIfyVYCCijVNezuGv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/striped_tailgate~ai-model-pricing-changelog-radar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-striped_tailgate-ai-model-pricing-changelog-radar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/striped_tailgate~ai-model-pricing-changelog-radar/runs": {
      "post": {
        "operationId": "runs-sync-striped_tailgate-ai-model-pricing-changelog-radar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/striped_tailgate~ai-model-pricing-changelog-radar/run-sync": {
      "post": {
        "operationId": "run-sync-striped_tailgate-ai-model-pricing-changelog-radar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "providers": {
            "title": "Provider Filter",
            "type": "array",
            "description": "Filter by provider slugs (e.g. openai, anthropic, google, deepseek, mistralai, meta-llama, x-ai). Leave empty for all providers.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "modes": {
            "title": "Model Modes",
            "type": "array",
            "description": "Model modes to include (e.g. chat, reasoning, embedding, image, audio, completion).",
            "items": {
              "type": "string"
            },
            "default": [
              "chat"
            ]
          },
          "search_query": {
            "title": "Search Query",
            "type": "string",
            "description": "Case-insensitive substring filter matched against model ID or display name.",
            "default": ""
          },
          "min_context_tokens": {
            "title": "Minimum Context Tokens",
            "minimum": 0,
            "type": "integer",
            "description": "Filter out models with a context window smaller than this token count (0 = no minimum).",
            "default": 0
          },
          "max_blended_cost_per_1m": {
            "title": "Max Blended Cost (USD per 1M Tokens)",
            "minimum": 0,
            "type": "number",
            "description": "Maximum weighted input/output USD cost per 1M tokens (0 = no cap).",
            "default": 0
          },
          "required_capabilities": {
            "title": "Required Capabilities",
            "type": "array",
            "description": "Only return models supporting all listed capabilities: tools, vision, reasoning, prompt_caching, structured_outputs, web_search.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "blended_input_weight": {
            "title": "Blended Input Weight (0.0 - 1.0)",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Weight of input token price in blended cost calculation (default 0.75 = 3:1 input-to-output ratio).",
            "default": 0.75
          },
          "include_free_models": {
            "title": "Include Free Tier Models",
            "type": "boolean",
            "description": "Include $0 / free-tier model endpoints in results.",
            "default": true
          },
          "exclude_deprecated": {
            "title": "Exclude Deprecated Models",
            "type": "boolean",
            "description": "Omit models that carry a known deprecation date.",
            "default": false
          },
          "detect_changes": {
            "title": "Detect Price & Spec Changes",
            "type": "boolean",
            "description": "Compare live results against the previous snapshot in an Apify Key-Value Store to detect price drops, hikes, new models, and deprecations.",
            "default": true
          },
          "only_changed": {
            "title": "Only Push Changed Models",
            "type": "boolean",
            "description": "When enabled with detect_changes, only push models whose price, context, or deprecation status changed since the last run (ideal for scheduled alerts).",
            "default": false
          },
          "state_store_name": {
            "title": "State Key-Value Store Name",
            "type": "string",
            "description": "Named Apify Key-Value Store used to persist historical pricing snapshots across runs.",
            "default": "llm-pricing-radar-state"
          },
          "include_release_changelogs": {
            "title": "Include AI SDK & Runtime Release Feeds",
            "type": "boolean",
            "description": "Fetch official GitHub release Atom feeds for major AI SDKs and runtimes and classify breaking changes, deprecations, and new model support.",
            "default": true
          },
          "release_repos": {
            "title": "GitHub Repositories for Release Tracking",
            "type": "array",
            "description": "GitHub owner/repo pairs whose releases.atom feeds will be parsed for breaking changes and deprecations.",
            "items": {
              "type": "string"
            },
            "default": [
              "openai/openai-python",
              "anthropics/anthropic-sdk-python",
              "googleapis/python-genai",
              "BerriAI/litellm",
              "vercel/ai",
              "vllm-project/vllm",
              "ollama/ollama"
            ]
          },
          "release_lookback_days": {
            "title": "Release Lookback Window (Days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only include SDK/runtime releases published within the last N days.",
            "default": 30
          },
          "output_dataset_mode": {
            "title": "Dataset Output Mode",
            "enum": [
              "models_enriched",
              "models_and_releases",
              "releases_only"
            ],
            "type": "string",
            "description": "Choose whether dataset rows contain enriched model pricing records, both models and SDK release rows, or only SDK release rows.",
            "default": "models_enriched"
          },
          "sort_by": {
            "title": "Sort Models By",
            "enum": [
              "value_score",
              "blended_cost_asc",
              "input_cost_asc",
              "context_length_desc",
              "price_spread_desc",
              "changed_first"
            ],
            "type": "string",
            "description": "Ordering applied to model records before max_models limit.",
            "default": "value_score"
          },
          "max_models": {
            "title": "Max Models to Output",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of model records to push to the dataset (0 = unlimited).",
            "default": 250
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}