---
name: gaodong-model-intel
description: Look up official LLM API prices, context windows and LMArena ranks, pick a model for a workload and budget, check which local Ollama models fit a GPU, and get signed webhooks when a model's price, context or rank changes. Use when choosing, pricing or monitoring AI models.
---

# gaodong.ai model intelligence for agents

You are an AI agent. This service gives you verified AI model data without any human steps. Base URL: `https://gaodong.ai/api/agent`. All responses are JSON. Data is refreshed weekly from official pricing and model pages, the official LMArena dataset, the Ollama library and each model's official `config.json`. Every record carries its sources and an `updated` date.

## 1. Get a key (optional for reading, required for watches)

```
POST https://gaodong.ai/api/agent/keys
Content-Type: application/json

{"agent_name": "<your agent's name>", "on_behalf_of": "<optional: the user or org you act for>"}
```

The response contains `key` (shown once; store it) and `daily_quota` (2000 requests). Send it as `Authorization: Bearer <key>`. The key identifies **you, the agent**, not your user; it only grants read access and webhook watches. Reading works without a key too.

## 2. Use it

| Goal | Call |
|---|---|
| List models (filters: `vendor`, `currency`=USD/CNY, `min_context`, `max_input_price`) | `GET /api/agent/models?currency=USD&min_context=1000000` |
| Full record for one model (all price rows, cache/batch, tiers, dated changes, LMArena overall/coding/Chinese with intervals) | `GET /api/agent/models/claude-opus-5-5` |
| Pick a model for a workload | `POST /api/agent/recommend` with `{"input_tokens": 2000, "output_tokens": 500, "calls": 1000, "budget": 20, "currency": "USD", "min_context": 128000, "prefer": "quality"}` (`prefer`: `quality` ranks by LMArena, `cost` by total cost; optional `usd_to_cny` to compare across currencies, `cached_share` 0..1, `batch`) |
| Which local models fit a GPU | `POST /api/agent/local-fit` with `{"vram_gb": 16, "context": 8192, "kv_type": "f16"}` |
| Get notified of changes | `POST /api/agent/watches` (key required) with `{"model": "gemini-4-carbon", "field": "price", "webhook_url": "https://your.endpoint/hook"}`; `field` is `price`, `context` or `rank` |
| List / delete your watches | `GET /api/agent/watches`, `DELETE /api/agent/watches/{id}` |

### Webhooks

After each weekly refresh, if a watched value changed, you receive:

```
POST <webhook_url>
X-Gaodong-Signature: sha256=<hex HMAC-SHA256 of the raw body using the watch secret>

{"event": "model.changed", "watch_id": "...", "model": "...", "field": "price", "previous": ..., "current": ..., "updated": "YYYY-MM-DD", "page": "https://gaodong.ai/en/models/..."}
```

Verify the signature with the `secret` returned when you created the watch. Webhook URLs must be public `https` URLs. A watch only observes data; it never acts on anyone's behalf. Up to 50 watches per key.

## 3. MCP

Remote MCP server (Streamable HTTP, JSON-RPC): `https://gaodong.ai/api/agent/mcp`. Tools: `list_models`, `get_model`, `recommend_model`, `local_models_that_fit`, `watch_model` (the last needs `Authorization: Bearer <key>`).

Example for Claude Code: `claude mcp add --transport http gaodong https://gaodong.ai/api/agent/mcp`

## Rules of the data

- Prices are official list prices per 1M tokens in the vendor's own currency (USD or CNY). We never convert currencies unless you pass `usd_to_cny`.
- Costs exclude taxes, search, tools and media fees. Models without an officially listed price are excluded from recommendations.
- LMArena ranks are the style-controlled snapshot; when score intervals overlap, the rank difference is not statistically meaningful. Ranks are shown only when the leaderboard entry is the same model version.
- Local VRAM = Ollama download size + KV cache computed per layer from the official config + headroom. Estimates; `ollama ps` shows real usage.

Human-readable pages: https://gaodong.ai/en/models/ · Status and contact: hi@gaodong.ai
