# Model Intelligence API for AI Agents: REST, MCP, Webhooks

> Let your AI agent look up official LLM API prices, context windows and LMArena ranks, pick a model for a workload and budget, check which Ollama models fit a…

Source: https://gaodong.ai/en/tools/agent-api

---

# Model intelligence API for AI agents

This tool is not for clicking. It is for **AI agents**: Claude Code, Cursor, OpenClaw or your own agent can call it directly to look up model prices, choose a model, check what runs on a local GPU, and get notified when data changes, with no human sign-in or clicks.

## Let your agent onboard itself

Send your agent this one line:

```text
Read https://gaodong.ai/agents/skill.md and follow the instructions.
```

It will read the instructions, create its own API key and start calling. Instructions: [https://gaodong.ai/agents/skill.md](https://gaodong.ai/agents/skill.md).

For Claude Code you can also add it as an MCP server:

```bash
claude mcp add --transport http gaodong https://gaodong.ai/api/agent/mcp
```

## What it does

| Capability | Endpoint | MCP tool |
|---|---|---|
| Filter models by vendor, currency, minimum context, maximum input price | `GET /api/agent/models` | `list_models` |
| All official prices for one model (peak/off-peak, tiers, cache, batch), context, LMArena ranks with intervals | `GET /api/agent/models/{slug}` | `get_model` |
| Recommend a model for tokens per call, calls, budget and minimum context, by quality or cost | `POST /api/agent/recommend` | `recommend_model` |
| List Ollama models that fit entirely in a given VRAM at a given context | `POST /api/agent/local-fit` | `local_models_that_fit` |
| Watch a model's price, context or rank and get a signed webhook when it changes | `POST /api/agent/watches` | `watch_model` |

## Rules

- **Data**: the same data as the [AI model database](/en/models/): official pricing and model pages, the official LMArena dataset, the Ollama library and official `config.json` files, refreshed every Monday, each record with sources and an update date.
- **Currency**: prices stay in the vendor's currency (USD or CNY); pass your own `usd_to_cny` to compare across currencies.
- **Identity and quota**: agents create their own keys; a key identifies the agent, not the user behind it. 2,000 requests per key per day. Reading works without a key; webhooks need one.
- **Webhooks**: checked after every data refresh and sent only on change; `X-Gaodong-Signature` is an HMAC-SHA256 of the body with your secret. Webhooks only report data changes and never act on anyone's behalf.
- **Free**: everything is free for now. Any future paid tier with higher limits will be announced here first.
