Grandet logo

Grandet

Community
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.

Publisherhanzohanzhe
RepositoryGrandet
LanguageJavaScript
Forks
54
Stars
636
Available tools
0
Transport typestdio
Links
  • Connect tools to AI workflows

    Grandet exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    636 stars and 54 forks from the linked repository.

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

Install

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

text
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.

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.

MCP server

Add it to any MCP client that supports remote servers:

json
{ "mcpServers": { "grandet": { "url": "https://grandet.ai/mcp" } } }

In Claude Code: claude mcp add --transport http grandet https://grandet.ai/mcp

Tools: grandet_find_cheapest_api, grandet_find_free_credits, grandet_resolve_model, grandet_quote_evidence, grandet_glossary, grandet_list_apps.

What it does

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.

  • It ranks by listed price only. It never says which site is "good" and never repeats a site's own claims such as "full strength" or "stable".
  • USD credit, CNY credit and cash prices are listed separately and never compared with each other.
  • Conditions such as a minimum top-up or members-only access are shown as a one-line hint. Prices that contradict the site's own text are listed as a reference. Groups a site limits to one client are folded away when your app is a different one.

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":

  1. You sign up and top up on the site yourself, and create the token in the group it names.
  2. You run one command in your own terminal to store the key. Typing is hidden and the key never enters the chat.
  3. It shows the exact configuration change, backs up the file, and writes only after you confirm.
  4. It checks the key, group and model name without spending credit.
  5. Say "undo" to restore the previous setup.

For Codex, Claude Code, OpenCode, Kilo Code, Continue, Gemini CLI, Hermes, OpenClaw and WorkBuddy, 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.

Try asking

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 Grandet includes

What it does
grandet.aiCompare model API prices across official APIs, inference providers and relays; browse suppliers, free credit and promotions; check sources and observation dates
Grandet SkillFind the lowest price, find free credit and connect the chosen API from inside your agent
MCP serverThe same price and free-credit lookup for any MCP client, anonymous and without a key

Feedback

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.

Data and developer entry points

ContentEntry point
Free credit and promotionsReadable · JSON · Release details
Original catalogue and sourcesCatalogue · JSON · Manifest
Repository data indexMachine-readable index · Reading guide for AI
Agent price lookup (MCP)Anonymous Streamable HTTP: https://grandet.ai/mcp
HTTP price lookuphttps://grandet.ai/api/v1/board · API description
HTTP free-credit lookuphttps://grandet.ai/api/v1/free-credits?q=gemini
Relay jargon glossaryBuilt into the Skill · Online

Local development needs Node.js 20+ and no third-party packages:

sh
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.

Friends

  • LINUX DO: Chinese-language tech community

Licence

  • Skill files: Apache-2.0.
  • Catalogue code and documents written by Grandet: AGPL-3.0-only; scope in LICENSE.
  • Supplier data, original text and trademarks belong to their owners; the factual compilation carries no blanket open-data licence. See DATA-LICENSE.md, TRADEMARKS.md and each release manifest.

Use Grandet MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Grandet is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Grandet as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Grandet MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "grandet": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Grandet MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Grandet MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Grandet to help me with this task?
Grandet
Sure. I read it.
Here is what I found using Grandet.

Frequently asked questions

What is the Grandet MCP server used for?

Grandet is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Grandet MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Grandet with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Grandet MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Grandet connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Grandet MCP to TypingMind?

Grandet runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Grandet MCP provide in TypingMind?

Grandet exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Grandet MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Grandet requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇