{
 "x402Version": 1,
 "name": "Models: AI model price reference",
 "description": "Per-token prices, context length, modalities and supported parameters for about 470 hosted AI models (every major lab and open-weight model), rebased to USD per million tokens, with a cheapest-fit ranking and side-by-side comparison. Source: OpenRouter's public model list, cached one hour. Pay per call over x402 (USDC on Base) through the Agent Exchange store gateway; no account or key. Free sample: https://models.agentexchange.work/sample.json",
 "payment": {
  "rail": "x402",
  "gateway": "https://store.agentexchange.work/gw/models",
  "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c"
 },
 "free_resources": [
  "https://models.agentexchange.work/",
  "https://models.agentexchange.work/sample.json",
  "https://models.agentexchange.work/.well-known/x402"
 ],
 "count": 3,
 "resources": [
  {
   "resource": "https://models.agentexchange.work/models",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.002,
   "mimeType": "application/json",
   "description": "The model list: id, name, provider, prompt and completion price in USD per million tokens, context length, input and output modalities, reasoning flag; filters provider= (anthropic, openai, google, meta-llama, mistralai ...), modality= (image, file, audio), max_prompt_usd_per_m=, min_context=, sort= (price, context, name), limit= (default 100). Pay 0.002 USDC through https://store.agentexchange.work/gw/models/models?provider=anthropic",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "2000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://models.agentexchange.work/models",
     "description": "The model list: id, name, provider, prompt and completion price in USD per million tokens, context length, input and output modalities, reasoning flag; filters provider= (anthropic, openai, google, meta-llama, mistralai ...), modality= (image, file, audio), max_prompt_usd_per_m=, min_context=, sort= (price, context, name), limit= (default 100). Pay 0.002 USDC through https://store.agentexchange.work/gw/models/models?provider=anthropic",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {
        "provider": {
         "type": "string"
        },
        "modality": {
         "type": "string"
        },
        "max_prompt_usd_per_m": {
         "type": "number"
        },
        "min_context": {
         "type": "number"
        },
        "sort": {
         "type": "string"
        },
        "limit": {
         "type": "number",
         "description": "1..500, default 100"
        }
       }
      }
     }
    }
   ],
   "tags": [
    "llm",
    "model-pricing",
    "tokens",
    "inference",
    "compute",
    "reference",
    "data-feed"
   ]
  },
  {
   "resource": "https://models.agentexchange.work/model",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.002,
   "mimeType": "application/json",
   "description": "One model in full: every price component (prompt, completion, cache read and write, web search, images, requests), context length, max completion tokens, modalities, supported parameters, knowledge cutoff, creation date. id= as on OpenRouter, e.g. anthropic/claude-sonnet-5.5. Pay 0.002 USDC through https://store.agentexchange.work/gw/models/model?id=anthropic/claude-sonnet-5.5",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "2000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://models.agentexchange.work/model",
     "description": "One model in full: every price component (prompt, completion, cache read and write, web search, images, requests), context length, max completion tokens, modalities, supported parameters, knowledge cutoff, creation date. id= as on OpenRouter, e.g. anthropic/claude-sonnet-5.5. Pay 0.002 USDC through https://store.agentexchange.work/gw/models/model?id=anthropic/claude-sonnet-5.5",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {
        "id": {
         "type": "string",
         "required": true
        }
       }
      }
     }
    }
   ],
   "tags": [
    "llm",
    "model-pricing",
    "tokens",
    "inference",
    "compute",
    "reference",
    "data-feed"
   ]
  },
  {
   "resource": "https://models.agentexchange.work/cheapest",
   "type": "http",
   "method": "GET",
   "x402Version": 1,
   "price_usd": 0.002,
   "mimeType": "application/json",
   "description": "The cheapest models that fit a job: rank by blended price (3 parts prompt, 1 part completion) under constraints min_context=, modality= (image, file, audio), reasoning=true, provider=, exclude_free=true (default; free routes are rate-limited); top= (default 10). Pay 0.002 USDC through https://store.agentexchange.work/gw/models/cheapest?min_context=128000&modality=image",
   "accepts": [
    {
     "scheme": "exact",
     "network": "base",
     "maxAmountRequired": "2000",
     "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c",
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "maxTimeoutSeconds": 300,
     "extra": {
      "name": "USD Coin",
      "version": "2"
     },
     "resource": "https://models.agentexchange.work/cheapest",
     "description": "The cheapest models that fit a job: rank by blended price (3 parts prompt, 1 part completion) under constraints min_context=, modality= (image, file, audio), reasoning=true, provider=, exclude_free=true (default; free routes are rate-limited); top= (default 10). Pay 0.002 USDC through https://store.agentexchange.work/gw/models/cheapest?min_context=128000&modality=image",
     "mimeType": "application/json",
     "outputSchema": {
      "input": {
       "type": "http",
       "method": "GET",
       "queryParams": {
        "min_context": {
         "type": "number"
        },
        "modality": {
         "type": "string"
        },
        "reasoning": {
         "type": "string"
        },
        "provider": {
         "type": "string"
        },
        "exclude_free": {
         "type": "string"
        },
        "top": {
         "type": "number"
        }
       }
      }
     }
    }
   ],
   "tags": [
    "llm",
    "model-pricing",
    "tokens",
    "inference",
    "compute",
    "reference",
    "data-feed"
   ]
  }
 ]
}