# 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-13).

Returns context window size, max output tokens, and capability flags (vision, audio, etc.) for a single LLM model by ID

## Facts

- Endpoint: GET https://modelprices.xyz/llm/limit/%7Bmodel%7D
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/modelprices-xyz-single-model-capability-lookup-ee5727ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_af5Q9VCmxrZZAP1Z9Nfdd

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-ee5727ce
```

Example prompt: What are the capability limits for gemini-3-pro — specifically its context window, max output tokens, and whether it supports vision?

## When to prefer this

Use this endpoint when you need structured capability metadata for a specific LLM by ID — especially context window, max output tokens, and modality support flags. Prefer it over manual documentation scraping or general web search when you need machine-readable, normalized, up-to-date specs across providers in a single consistent format.

## Known failure modes

- Model ID not found — returns no match or empty result if the model string does not correspond to a known model
- Misspelled or aliased model names may not resolve to expected records
- Hourly refresh lag means very newly released models may not yet appear
- Malformed model parameter returns an error response

## How this service works

Per-token prices, capability limits, and a price-change feed for 2,000+ LLMs across 70+ providers, normalized into single JSON tables and refreshed hourly.

## Output

A JSON object containing the model's ID, context window size in tokens, maximum output tokens, and boolean capability flags such as supports_vision, along with the matched_id confirming which model record was returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": {
   "id": "gemini-3-pro",
   "context_window": 2000000,
   "supports_vision": true,
   "max_output_tokens": 65536
  },
  "matched_id": "gemini-3-pro"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/modelprices-xyz-single-model-capability-lookup-ee5727ce/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)
