# AI Model Lookup by Name or Alias

> AI Model Lookup by Name or Alias is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Look up a single normalized AI model record by name or short alias, returning pricing, context limits, capabilities, and metadata fused from multiple open catalogs.

## Facts

- Endpoint: GET https://api.agentstools.dev/model/lookup
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-model-lookup-by-name-or-alias-995b55b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YCh-NccqRizr8TygFKw4x

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 ai-model-lookup-by-name-or-alias-995b55b9
```

Example prompt: What are the input and output prices per million tokens, context window size, and capability tags for 'claude-sonnet-4-5'? I also need the knowledge cutoff and provider info.

## When to prefer this

Use this endpoint when you need authoritative, multi-source-fused metadata for a specific AI model — especially pricing per million tokens, context limits, and capability tags — and want a single normalized record rather than scraping multiple catalogs yourself. Prefer this over web search when you need structured, machine-readable model specs with source citations. Best for agents that need to compare model costs, validate model capabilities, or route tasks to the right model based on context window or modality support.

## Known failure modes

- Unknown or unresolvable model name returns {found: false} rather than an HTTP error
- Fuzzy resolution may match an unintended model if alias is highly ambiguous
- Catalog data may be stale if upstream sources (LiteLLM, models.dev, Aider) haven't been refreshed
- Very new model releases may not yet appear in any of the fused catalogs
- Missing or partial fields if a model exists in only one catalog source

## How this service works

Look up one normalized model record by name or short alias such as sonnet or 4o. Returns per-million input and output prices, context and output limits, capability tags, modalities, knowledge cutoff, release date, provider and coding benchmark, each fused from open keyless catalogs LiteLLM, models dev and Aider with a source citation. Unknown names return found false, never an error.

## Output

A normalized JSON record for the resolved model including: found flag (true/false), input and output prices per million tokens, context window size, max output tokens, capability tags, supported modalities, knowledge cutoff date, release date, provider name, coding benchmark score, and source citations from LiteLLM/models.dev/Aider catalogs. Unknown names return {found: false} rather than an error.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Model name or short alias, such as claude-sonnet-4-5, gpt-4o, sonnet or 4o. Fuzzy-resolved to the closest catalog model."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-model-lookup-by-name-or-alias-995b55b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
