# modelprices.xyz Single-Model Capability Lookup

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

Returns context window size, max output tokens, and feature support flags (vision, audio, function calling, reasoning) for a single AI model by ID.

## Facts

- Endpoint: GET https://modelprices.xyz/llm/limit/:model
- 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/modelprices-xyz-single-model-capability-lookup-a2a93d07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k5d3LAZ-DDuKLbHxbUbrG

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 modelprices-xyz-single-model-capability-lookup-a2a93d07
```

Example prompt: Does gpt-4o support vision and function calling, and what's its context window size?

## When to prefer this

Use this endpoint when you need to quickly check whether a specific AI model can handle a particular task type (vision, audio, function calls, reasoning) or fits within token constraints, and need a single-model answer rather than browsing a full table. Prefer this over the sibling table endpoint when you already know the model ID and want a fast, cheap ($0.002) per-model check.

## Known failure modes

- Unknown model ID returns 404 or empty result
- Model ID typo or unsupported suffix returns no match
- Payment failure (x402) if USDC not provided returns 402 Payment Required
- Rate limiting if too many requests in short period

## How this service works

Single-model capability lookup: context window size, max output tokens, and vision/audio/function-calling/reasoning support for one AI model by id. Answers 'can this model handle my task?' in one $0.003 call.

## Output

Returns a JSON object for the requested model containing: context window token limit, maximum output tokens, and boolean flags indicating support for vision, audio input, function calling, and reasoning capabilities.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "model"
     ],
     "properties": {
      "model": {
       "type": "string",
       "description": "Model id or suffix"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/modelprices-xyz-single-model-capability-lookup-a2a93d07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from modelprices.xyz](https://www.zero.xyz/host/modelprices.xyz/llms.txt)
