All plugins
OpenRouter API
List models, inspect credits, and call OpenRouter-compatible AI endpoints
APICategory: aiPopularity 92
openrouter_apiList models, inspect credits, and call OpenRouter-compatible AI endpoints
Open in dashboard →
See the live tool list, OAuth status, and recent calls.
Install command
Run the install command shown below to add this plugin to your workspace.
Install
hrbr plugins install openrouter-apiHarbor calls https://openrouter.ai/api/v1 (driven by the upstream OpenAPI spec).
Quick start
hrbr exec 'return await openrouter_api.get({ /* see schema */ })'Or from a Function:
import { defineOrbitJob } from "@hrbr/orbit";
export default defineOrbitJob({
name: "openrouter-api-example",
handler: async (ctx) => {
return await ctx.plugins.openrouter_api.list({ limit: 5 });
},
});Tools
Tools are generated from the upstream OpenAPI spec. Inspect with:
hrbr plugins tools openrouter-apiOr open the dashboard plugin page for the live tool list.