Skip to content

Integration · Developer tools

Connect Claude & ChatGPT to OpenRouter

Ask your AI which OpenRouter models fit a task, what they cost and which providers serve them. It can check your credits, the connected key's limit and your recent activity, and look up the cost of a past generation. It can also send a prompt to another model, create embeddings or generate an image, paid from your OpenRouter credits.

Connect OpenRouter free

Free plan, no credit card. Takes about a minute.

Try asking

  • “Find a model with a long context window that accepts images.”

    The AI searches the model catalog by input modality and sorts the results so you can pick a model ID.

  • “Which providers serve this model, and at what price?”

    It lists the provider endpoints for the model with their prices, context limits and uptime.

  • “How many credits do I have left?”

    It reads your total purchased credits and total usage, so you can see the remaining balance.

What your AI can do

Model catalog

Search models by category, modality, price or supported parameters, read a model's details and compare the providers that serve it.

Credits and usage

See purchased credits and usage, the connected key's usage and spending limit, recent activity by endpoint and the cost of a single generation.

Other models on demand

Get a chat reply from any OpenRouter model, create embeddings or generate images, all billed to your OpenRouter credits.

  • “Ask another model to review this answer.”

    It sends the messages to the model you pick and returns its reply. This uses your OpenRouter credits.

  • “What did generation gen-12345 cost?”

    It reads the request and cost details for that past generation.

  • “Generate a square image of a blue ceramic mug on a white table.”

    It finds an image model and generates the image. This uses your OpenRouter credits.

12 tools for OpenRouter

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • create_chat_completionVisible to othersGet an AI reply from any OpenRouter model: pass `body` with `model` (e.g. from search_models) and `messages`, plus optional temperature and max_tokens. Uses your OpenRouter credits.
  • create_embeddingChanges dataCreate embedding vectors for `input` text with an embedding `model`. Uses your credits.
  • generate_imageChanges dataGenerate an image from a `prompt` with an image `model`; optional size, aspect ratio, quality and number of images. Uses your credits.
  • get_activityGet usage activity grouped by endpoint for recent days; optional `date` filter.
  • get_creditsShow the account's total purchased credits and total usage, to see how much balance remains.
  • get_current_keyShow the connected API key's own usage and spending limit.
  • get_generationGet request and cost details for one past generation by its `id`.
  • get_modelGet one model's details (context length, pricing, modalities) by `author` and `model_slug`, e.g. author 'openai'.
  • list_image_modelsList models that can generate images.
  • list_model_providersList the provider endpoints serving one model (`author` + `model_slug`), with their prices, context limits and uptime.
  • list_providersList the AI providers available on OpenRouter.
  • search_modelsSearch the OpenRouter model catalog by `q`, category, input/output modalities, price or supported parameters, sorted as you choose. Use it to find a model ID.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose OpenRouter from the app list.

  2. 2

    Paste your key

    Paste an OpenRouter API key. Sign in at openrouter.ai, open Settings > API Keys and click Create Key. The key is only shown once, so copy it straight away. Anything the AI runs through OpenRouter is billed to your OpenRouter credits.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in OpenRouter?

It can search the model catalog, read model details, list providers and the endpoints that serve a model, list image models, and read your credits, key usage, activity and past generations. It can get chat replies from OpenRouter models, create embeddings and generate images.

Does the AI see my OpenRouter credentials?

No. Your OpenRouter credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, so you can start with the catalog and usage tools only. Chat replies, embeddings and images use your OpenRouter credits, and these tools can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT, open Settings › Apps & Connectors › Advanced, turn on Developer mode and add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own OpenRouter account.

Who pays for the models the AI calls?

You do, through your own OpenRouter credits. Chat replies, embeddings and image generation all draw on your balance. The AI can show the connected key's usage and spending limit and your remaining credits, so you can keep an eye on it.

Let your AI work in OpenRouter today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect OpenRouter free

PipMCP is not affiliated with OpenRouter. Product names are trademarks of their owners.