AI GPT Router (OpenRouter)

AI GPT Router gives you models from many providers through OpenRouter: text, audio, images, video, TTS, and transcription. One node instead of separate keys per provider; you do not need your own OpenRouter API key.
Plug and Play (PnP) billing
This is a PnP (Plug and Play) node: Latenode meters usage and charges PnP tokens on top of execution credits (1 PnP token = $1). This node has custom pricing: check the node settings for the current rate.
Your own API key
To pay the provider from your own account and key, use Custom LLM Connection or the Custom LLM action in this node.
Getting structured output
By default the reply is plain text.
To feed the next nodes with structured data (extract fields, classify, parse forms), in the All LLM Models action enable Structured Output and tell the model in the prompt to answer in JSON.
Simple: toggle plus prompt
Enable Structured Output and add JSON instructions to the prompt.


Example (receipt):
You are given a receipt text. Extract the store name, purchase date, list of items with prices, and the total amount.
Receipt:
{receipt_text}
Respond in JSON using this format:
{
"store": "...",
"date": "...",
"items": [
{ "name": "...", "price": 0.00 }
],
"total": 0.00
}
Advanced: Output JSON Schema
For a strict field structure, fill in Output JSON Schema. Structured Output plus a JSON instruction in the prompt is often enough on its own.
Schema format
OpenRouter and ChatGPT wrap the schema with name. Claude starts with "type": "object". Copying between nodes without reformatting can fail.
{
"name": "receipt_data",
"schema": {
"type": "object",
"properties": {
"store": { "type": "string", "description": "Store name" },
"date": { "type": "string", "description": "Purchase date" },
"total": { "type": "number", "description": "Total amount" }
},
"required": ["store", "date", "total"],
"additionalProperties": false
},
"strict": true
}Actions
AI Agent
The AI Agent as a PnP node in Integrations, with billing details and links to the full docs.
Anthropic Claude
Prompt Claude models in scenarios with Latenode PnP billing and no API key.
Need Help? Ask the community
If something on this page is missing or unclear, post on the Latenode community forum. Our team and other users usually reply quickly.