by hanzohanzhe
Find the cheapest API for any model and connect it from your AI agent: Grandet Skill and an anonymous MCP server, backed by listed prices from 1,800+ official, inference and relay providers on grandet.ai.
# Add to your Claude Code skills
git clone https://github.com/hanzohanzhe/GrandetSee how Grandet compares with popular alternatives.
Grandet is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by hanzohanzhe. Find the cheapest API for any model and connect it from your AI agent: Grandet Skill and an anonymous MCP server, backed by listed prices from 1,800+ official, inference and relay providers on grandet.ai. It has 85 GitHub stars.
Grandet's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/hanzohanzhe/Grandet" and add it to your Claude Code skills directory (see the Installation section above).
Grandet is primarily written in JavaScript. It is open-source under hanzohanzhe on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Grandet against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
简体中文 · Website · Installation
Ask your agent for the cheapest API for a model, then let it connect that API to your own app.
Paste this into the agent you already use (Codex, Claude Code, Cursor and others):
Install Grandet for me: https://github.com/hanzohanzhe/Grandet
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.
No need to mention Grandet or attach files again. Price lookups need no account or API key. To install by hand, or for apps such as ChatGPT or Claude on the web that take an uploaded skill file, see Manual installation.
1. Finds the lowest listed price. It compares the relay and official prices on grandet.ai for your model and kind of use (chat, coding, long output) and lists the cheapest few: the site, the group to pick when you create the token, the price, its unit and when it was observed.
2. Finds free credit. Ask "is there anything free?" and it lists official free tiers, trial credit and relay sign-up, check-in and free-group offers, with whether a card, ID check or application is needed. If something you already said makes you eligible for a free offer, it mentions it once.
3. Connects it for you. When you say "connect it":
For Codex, Claude Code, OpenCode, Kilo Code, Continue and Gemini CLI, the Skill's own connect program (scripts/connect.mjs, also usable as a local MCP server) makes the change the same way every time. Other apps get a field card and their documentation link. In a cloud chat, it can only hand you the command and configuration to run yourself.
20 million tokens a month, a quarter input and the rest output, no cache. Which is cheapest, and what does it cost a month?
Is there a free Gemini API? I don't have a credit card.
Use the second one and connect it to Codex on Windows.
What do "官转" and "逆向" mean?
Answers include a link to the price sources. Listed prices and suppliers' claims say nothing about quality. Asked about quality, speed or downgraded models, it reports only what Grandet has on record and says so when there is no measurement.
| What it does | |
|---|---|
| grandet.ai | Compare model API prices across official APIs, inference providers and relays; browse suppliers, free credit and promotions; check sources and observation dates |
| Grandet Skill | Find the lowest price, find free credit and connect the chosen API from inside your agent |
| MCP server | The same price and free-credit lookup for any MCP client, anonymous and without a key |
Please open an issue if something goes wrong, with the app, version, system and the step where it stopped. Don't paste API keys or private conversations.
| Content | Entry point |
|---|---|
| Free credit and promotions | Readable · JSON · Release details |
| Original catalogue and sources | Catalogue · JSON · Manifest |
| Repository data index | Machine-readable index · Reading guide for AI |
| Agent price lookup (MCP) | Anonymous Streamable HTTP: https://grandet.ai/mcp |
| HTTP price lookup | https://grandet.ai/api/v1/board · API description |
| HTTP free-credit lookup | https://grandet.ai/api/v1/free-credits?q=gemini |
| Relay jargon glossary | Built into the Skill · Online |
Local development needs Node.js 20+ and no third-party packages:
node scripts/catalogue.mjs validate
node scripts/catalogue.mjs generate --check
node scripts/validate-public.mjs
node --test tests/*.test.mjs
node scripts/serve.mjs
serve.mjs opens a local browser view at http://127.0.0.1:8787/. These commands check local files only and never update the website's prices.
Sourced corrections and improvements are welcome; see the contributing guide and methodology.