Find a suitable low-cost model API / 寻找便宜且适用的模型 API
grandet_find_cheapest_apiCompare Grandet model prices within each unit. Read listings for price-only ordering and conditions; legacy recommended/alternative/cheapest retain their old meanings. Use view=compact for shared connection cards and a short text response. Provide exactly one model or name selector. host records the source only and never selects the inference route. Send targetApp when the user or conversation identifies the intended API application, including explicit use in the current app. With no target, compare directly. An unrecorded app connection permits a price-only recommendation, not a compatibility claim. Omit profile/protocol for a multi-protocol app unless already specified. Existing client remains a legacy target-app alias. Infer coding/chat/long_output from the task; presets are estimates. Use grandet_list_apps only when application facts are needed. Do not request API keys. view defaults to "compact"; pass view="full" for every field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system the target app runs on, for connection steps: windows, macos, linux or unknown. | unknown |
| mix | No | Workload used to blend input, cache and output prices into one price per million total tokens. Presets "chat" (default), "coding" and "long_output", or custom input/cache-read/output/cache-write shares totalling 100. | |
| asOf | No | Evaluate as of this UTC time (ISO 8601, e.g. "2026-10-16T12:00:00Z"). Omit to evaluate now. | |
| host | No | The assistant or app making this call, e.g. "claude-code" or "codex". Attribution only; it does not change results. | |
| lang | No | Answer language: "en" or "zh-CN". | en |
| name | No | The catalogue's 20-character hexadecimal raw-name ID (not the name text). Send exactly one of model or name. | |
| view | No | "compact" (default): a short text summary plus the listings, with connection cards shared in integrationCards; about a third of the size. "full": every legacy field, with the whole JSON repeated as text. "brief": a short text summary plus one structured body preserving required original fields; size varies with the requested limit and results and can exceed 12,000 characters. | compact |
| limit | No | Rows per block, 1–20 (default 5). | |
| model | No | Model to look up: a catalogue ID, an exact model name or a natural name such as "claude-sonnet-5-5". Send exactly one of model or name. An ambiguous name returns NEEDS_CLARIFICATION with candidates. | |
| plans | No | "best" (default) keeps one group per site; "all" lists every group of every site. | |
| client | No | Legacy alias of targetApp. Prefer targetApp. | |
| channel | No | "standard" (default) lists ordinary channels, "declared-nonstandard" only channels the site itself labels nonstandard, "all" both. | |
| currency | No | Limit to one unit board: USD_CREDIT or CNY_CREDIT (site credit, not cash), USD or CNY (cash). Never compare prices across units. | |
| targetApp | No | Catalogue ID of the app that will use the API, e.g. "openclaw", "claude-code" or "codex". Selects compatible protocols and connection steps. Send it only when the user says where the API will be used. | |
| releaseSet | No | Pin a published data release by its release-set hash. Omit to use the current release. | |
| skillBuild | No | Grandet Skill build ID when called from the Skill. Omit otherwise. | |
| endpointType | No | Limit to one API protocol. Send it only when the user named a protocol. | |
| skillVersion | No | Grandet Skill version when called from the Skill, e.g. "0.3.0". Omit otherwise. | |
| targetProfile | No | An inference profile ID of the target app (see grandet_list_apps). Only together with targetApp or client. |