# LLM Model Lookup

> LLM Model Lookup is a paid API for AI agents from x402.botsmith.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Look up a single LLM model by exact ID to retrieve its context window, max output tokens, input/output modalities, and current USD pricing per million tokens.

## Facts

- Endpoint: GET https://x402.botsmith.dev/models/get
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/llm-model-lookup-0858f96b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rGeYsxDjDv7AtTysGEW8q

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 llm-model-lookup-0858f96b
```

Example prompt: What are the context window size, max output tokens, supported modalities, and current input/output pricing for moonshotai/kimi-k3?

## When to prefer this

Use this endpoint when you know the exact model ID and need precise specs (context window, pricing, modalities) for a single model. Prefer this over the search endpoint when you have the canonical slug already — it is faster and cheaper at $0.003 vs $0.004. Ideal for cost estimation, model selection logic, or capability checking in agent workflows.

## Known failure modes

- Model ID not found — returns an error if the exact ID does not match any known model (IDs are case-sensitive slugs like 'anthropic/claude-sonnet-5')
- Missing required 'id' query parameter — returns a validation error
- Payment failure — x402 payment of $0.003 USDC not accepted or wallet insufficient
- Pricing data unavailable — priceInputPerMTok or priceOutputPerMTok may be null for newly listed or free models

## How this service works

LLM Model Lookup ($0.003/call): Look up a single model by its exact id (e.g. moonshotai/kimi-k3) and get its context window, max output, input/output modalities and current USD-per-Mtok pricing. Keyless.

## Output

Returns a JSON object with the model's canonical ID, display name, provider, first-seen release date (ISO 8601), context token limit, max output tokens, arrays of input and output modalities (e.g. text, image), and USD pricing per 1M input and output tokens. Null values are returned for fields that are unknown.

## 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",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "maxLength": 128,
       "minLength": 1,
       "description": "Exact model id, e.g. \"anthropic/claude-sonnet-5\" or \"moonshotai/kimi-k3\""
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "id",
      "name",
      "provider",
      "releasedAt",
      "contextTokens",
      "maxOutputTokens",
      "inputModalities",
      "outputModalities",
      "priceInputPerMTok",
      "priceOutputPerMTok"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Canonical id, e.g. \"moonshotai/kimi-k3\""
      },
      "name": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "provider": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "releasedAt": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "description": "ISO 8601 first-seen date"
      },
      "contextTokens": {
       "anyOf": [
        {
         "type": "integer",
         "maximum": 9007199254740991,
         "minimum": -9007199254740991
        },
        {
         "type": "null"
        }
       ]
      },
      "inputModalities": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "maxOutputTokens": {
       "anyOf": [
        {
         "type": "integer",
         "maximum": 9007199254740991,
         "minimum": -9007199254740991
        },
        {
         "type": "null"
        }
       ]
      },
      "outputModalities": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "pr
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/llm-model-lookup-0858f96b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.botsmith.dev](https://www.zero.xyz/host/x402.botsmith.dev/llms.txt)
