hanzohanzhe avatar

Grandet

hanzohanzhe/grandet

Cheapest API for any model across official, inference and relay providers; find free credits

GitHub stars
1.1K
tools
6
transport
HTTP
last updated
Oct 17, 2026

Install

From registry metadata
$ npx add-mcp https://grandet.ai/mcp --name grandet

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http grandet https://grandet.ai/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 6 tools

Verified live against the running server on Nov 6, 2026.

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 sel...19 params

Compare 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 sel...

Parameters* required
asOfstring
Evaluate as of this UTC time (ISO 8601, e.g. "2026-10-16T12:00:00Z"). Omit to evaluate now.
channelstring
"standard" (default) lists ordinary channels, "declared-nonstandard" only channels the site itself labels nonstandard, "all" both.one of standard · declared-nonstandard · all
clientstring
Legacy alias of targetApp. Prefer targetApp.
currencystring
Limit to one unit board: USD_CREDIT or CNY_CREDIT (site credit, not cash), USD or CNY (cash). Never compare prices across units.one of USD_CREDIT · CNY_CREDIT · USD · CNY
endpointTypestring
Limit to one API protocol. Send it only when the user named a protocol.one of openai · openai-response · anthropic · gemini
hoststring
The assistant or app making this call, e.g. "claude-code" or "codex". Attribution only; it does not change results.
langstring
Answer language: "en" or "zh-CN".one of en · zh-CNdefault: en
limitinteger
Rows per block, 1–20 (default 5).default: 5
mixstring
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 sh...
modelstring
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.
namestring
The catalogue's 20-character hexadecimal raw-name ID (not the name text). Send exactly one of model or name.
osstring
Operating system the target app runs on, for connection steps: windows, macos, linux or unknown.one of windows · macos · linux · unknowndefault: unknown
plansstring
"best" (default) keeps one group per site; "all" lists every group of every site.one of best · all
releaseSetstring
Pin a published data release by its release-set hash. Omit to use the current release.
skillBuildstring
Grandet Skill build ID when called from the Skill. Omit otherwise.
skillVersionstring
Grandet Skill version when called from the Skill, e.g. "0.3.0". Omit otherwise.
targetAppstring
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.
targetProfilestring
An inference profile ID of the target app (see grandet_list_apps). Only together with targetApp or client.
viewstring
"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...one of full · compact · briefdefault: compact
grandet_list_appsRead the shared Grandet application list and inference profiles before selecting a supplier. App profiles determine API compatibility; MCP capability alone does not prove an inference route or Skill installation. Use only when the target app ID, supported protocol or configura...6 params

Read the shared Grandet application list and inference profiles before selecting a supplier. App profiles determine API compatibility; MCP capability alone does not prove an inference route or Skill installation. Use only when the target app ID, supported protocol or configura...

Parameters* required
appstring
Catalogue app ID to show, e.g. "openclaw". Omit to list every app.
hoststring
The assistant or app making this call, e.g. "claude-code" or "codex". Attribution only; it does not change results.
langstring
Answer language: "en" or "zh-CN".one of en · zh-CNdefault: en
skillBuildstring
Grandet Skill build ID when called from the Skill. Omit otherwise.
skillVersionstring
Grandet Skill version when called from the Skill, e.g. "0.3.0". Omit otherwise.
targetAppstring
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.
grandet_resolve_modelLook up public model identifiers when a requested name is ambiguous. Results are a page of candidates, not a cheapest-provider ranking. Prefer an exact officialId match; do not silently substitute a different model generation.7 params

Look up public model identifiers when a requested name is ambiguous. Results are a page of candidates, not a cheapest-provider ranking. Prefer an exact officialId match; do not silently substitute a different model generation.

Parameters* required
hoststring
The assistant or app making this call, e.g. "claude-code" or "codex". Attribution only; it does not change results.
langstring
Answer language: "en" or "zh-CN".one of en · zh-CNdefault: en
name*string
Model name text to look up, e.g. "sonnet" or "deepseek v4".
pageinteger
Result page, starting at 1.default: 1
skillBuildstring
Grandet Skill build ID when called from the Skill. Omit otherwise.
skillVersionstring
Grandet Skill version when called from the Skill, e.g. "0.3.0". Omit otherwise.
targetAppstring
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.
grandet_quote_evidenceRead one provider's paged public declarations for a model and optional rowId. Use only when a detail matters, not before every recommendation. A missing row on one page is not proof of absence; follow pagination if needed. This does not test model quality or spend money.12 params

Read one provider's paged public declarations for a model and optional rowId. Use only when a detail matters, not before every recommendation. A missing row on one page is not proof of absence; follow pagination if needed. This does not test model quality or spend money.

Parameters* required
asOfstring
Evaluate as of this UTC time (ISO 8601, e.g. "2026-10-16T12:00:00Z"). Omit to evaluate now.
hoststring
The assistant or app making this call, e.g. "claude-code" or "codex". Attribution only; it does not change results.
langstring
Answer language: "en" or "zh-CN".one of en · zh-CNdefault: en
modelstring
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.
namestring
The catalogue's 20-character hexadecimal raw-name ID (not the name text). Send exactly one of model or name.
offerPageinteger
Page of this provider's declarations, starting at 1. Follow it when rowId is absent.default: 1
provider*string
The sourceId of the row to inspect (the site host, e.g. "api.example.com"), not the operator ID.
releaseSetstring
Pin a published data release by its release-set hash. Omit to use the current release.
rowIdstring
The rowId of the selected row, to read that exact declaration.
skillBuildstring
Grandet Skill build ID when called from the Skill. Omit otherwise.
skillVersionstring
Grandet Skill version when called from the Skill, e.g. "0.3.0". Omit otherwise.
targetAppstring
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.
grandet_glossaryLook up the published Grandet relay glossary. Site labels are source claims and glossary terms explain them; they do not verify quality. Query q or category and follow pagination. Unknown terms include up to three related FAQ links.9 params

Look up the published Grandet relay glossary. Site labels are source claims and glossary terms explain them; they do not verify quality. Query q or category and follow pagination. Unknown terms include up to three related FAQ links.

Parameters* required
categorystring
Limit to one glossary category.
hoststring
The assistant or app making this call, e.g. "claude-code" or "codex". Attribution only; it does not change results.
langstring
Answer language: "en" or "zh-CN".one of en · zh-CNdefault: en
limitinteger
Results per page, 1–20.
pageinteger
Result page, starting at 1.
qstring
Term or phrase to look up, e.g. "倍率" or "token group".
skillBuildstring
Grandet Skill build ID when called from the Skill. Omit otherwise.
skillVersionstring
Grandet Skill version when called from the Skill, e.g. "0.3.0". Omit otherwise.
targetAppstring
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.
grandet_find_free_creditsFind current official free tiers, application-based credits and relay free groups. Return the stated benefit, six requirements, deadline, original observation and claim link. userCanMeet=no_card excludes explicit required/conditional card entries; unknown card requirements rem...13 params

Find current official free tiers, application-based credits and relay free groups. Return the stated benefit, six requirements, deadline, original observation and claim link. userCanMeet=no_card excludes explicit required/conditional card entries; unknown card requirements rem...

Parameters* required
asOfstring
Evaluate as of this UTC time (ISO 8601, e.g. "2026-10-16T12:00:00Z"). Omit to evaluate now.
hoststring
The assistant or app making this call, e.g. "claude-code" or "codex". Attribution only; it does not change results.
kindstring
"official" free tiers and credits, "relay" free groups, or "all".one of official · relay · all
langstring
Answer language: "en" or "zh-CN".one of en · zh-CNdefault: en
limitinteger
Results per page, 1–20.
pageinteger
Result page, starting at 1.
qstring
Model, vendor or site to search, e.g. "gemini".
releaseSetstring
Pin a published data release by its release-set hash. Omit to use the current release.
skillBuildstring
Grandet Skill build ID when called from the Skill. Omit otherwise.
skillVersionstring
Grandet Skill version when called from the Skill, e.g. "0.3.0". Omit otherwise.
targetAppstring
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.
userCanMeetstring
Only offers the user can meet: "any", "no_card" (no payment card) or "student".one of any · no_card · student
viewstring
"compact" (default): about 18 KB for a typical query. "full": every field, often over 250 KB.one of full · compactdefault: compact

Sponsors

Readme

Grandet: find the cheapest API for any model

简体中文 · Website · Installation

Grandet compares listed API prices for each model across official APIs, inference providers and relay sites. Your AI agent can look them up and connect the cheapest one to your app.

Use it asHow
Websitehttps://grandet.ai
Remote MCP serverhttps://grandet.ai/mcp (Streamable HTTP, no sign-up, no API key)
Agent SkillTell your agent: Install Grandet Skill for me: https://grandet.ai/download.md
Gitgit clone --depth 1 --branch skill-v0.3.0-build.20261018b https://github.com/hanzohanzhe/Grandet.git, then see Install with git

Install

Paste this into the agent you already use (Codex, Claude Code, Cursor and others):

Install Grandet Skill for me: https://grandet.ai/download.md

The agent does the rest. If it needs you to sign in or approve something, it tells you exactly what to click. Then open a new conversation and ask:

I code in Claude Code. Find me the cheapest Claude Sonnet 4.6 API.


View the full README on GitHub

Details

Repository
github.com/hanzohanzhe/grandet
Website
grandet.ai
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 6, 2026