# Aayat AI – AI Model Price & Feature Lookup

> Aayat AI – AI Model Price & Feature Lookup is a paid API for AI agents from aayatai.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Search and filter AI language models by price, context window, features, and provider, returning ranked pricing data sourced from OpenRouter

## Facts

- Endpoint: GET https://aayatai.com/ai/models?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-ai-model-price-feature-lookup-d75aa7b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kF1oFvApLoCiorvXC9x0B

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aayat-ai-ai-model-price-feature-lookup-d75aa7b6
```

Example prompt: Find me the cheapest AI model that supports tools and vision with at least a 128k context window — sort by price and show me the top 10 results.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically select the best LLM for a task based on cost, capability, or context constraints — especially useful for coding agents or orchestration layers dynamically routing to the cheapest capable model. Prefer over manual research or static model lists when you need up-to-date pricing from OpenRouter across hundreds of models. Ideal for cost-optimization workflows or when building model selection logic into an agent pipeline.

## Known failure modes

- No models match the filter combination (empty models array, count 0)
- Invalid feature name in 'needs' parameter returns error or empty results
- Invalid sort enum value causes request rejection
- minContext or maxInputPrice values outside allowed range cause validation error
- Payment failure via x402 if USDC balance is insufficient

## How this service works

Live prices and specs of 400+ AI models from every major provider (OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, Qwen...): USD per million input/output tokens, cached-input price, context length, max output, and features (tools, JSON, reasoning, vision). Filter by ?q=, provider, needs=tools,vision, minContext, maxInputPrice; sort by price, context or newest.

## Output

Returns a JSON object containing a list of AI models with their IDs, names, providers, per-million-token input and output prices, context window sizes, supported features, input modalities, knowledge cutoff dates, and creation dates. Also includes total count of matching models before the limit and data source attribution with fetch timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 80,
       "description": "Words to match in the model id or name, e.g. claude, gpt-5, llama."
      },
      "sort": {
       "enum": [
        "price",
        "context",
        "newest"
       ],
       "type": "string",
       "default": "price",
       "description": "price (cheapest first), context (largest first) or newest."
      },
      "limit": {
       "type": "integer",
       "default": 50,
       "maximum": 200,
       "minimum": 1,
       "description": "Most models to return."
      },
      "needs": {
       "type": "string",
       "maxLength": 100,
       "description": "Comma list of required features: tools, json, reasoning, vision, audio, files, web-search."
      },
      "provider": {
       "type": "string",
       "maxLength": 200,
       "description": "Comma list of providers, e.g. anthropic,openai,google."
      },
      "minContext": {
       "type": "integer",
       "maximum": 100000000,
       "minimum": 0,
       "description": "Minimum context window in tokens."
      },
      "includeFree": {
       "type": "boolean",
       "default": false,
       "description": "Include free (rate-limited) model variants."
      },
      "maxInputPrice": {
       "type": "number",
       "maximum": 1000,
       "minimum": 0,
       "description": "Maximum USD per million input tokens."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "count",
      "total",
      "models",
      "source",
      "fetchedAt"
     ],
     "properties": {
      "count": {
       "type": "integer"
      },
      "total": {
       "type": "integer",
       "description": "Models matching before the limit."
      },
      "models": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "st
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "total": 458,
  "models": [
   {
    "id": "google/gemini-2.5-flash",
    "free": false,
    "name": "Google: Gemini 2.5 Flash",
    "created": "2025-06-17",
    "features": [
     "tools",
     "json",
     "reasoning",
     "vision",
     "audio",
     "files"
    ],
    "provider": "google",
    "inputPerMTok": 0.3,
    "contextLength": 1048576,
    "outputPerMTok": 2.5,
    "perRequestUsd": 0,
    "inputModalities": [
     "text",
     "image",
     "file",
     "audio"
    ],
    "knowledgeCutoff": null,
    "maxOutputTokens": 65535,
    "cachedInputPerMTok": 0.075
   }
  ],
  "source": "OpenRouter",
  "fetchedAt": "2026-09-28T12:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-ai-model-price-feature-lookup-d75aa7b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
