Developer Tools

OpenRouter MCP

Browse OpenRouter's model catalog, rankings, benchmarks and providers, check credits and keys, and run chat, image, speech, transcription, video and batch jobs through OpenRouter's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Generate image

    Generate an image from a text prompt. When the API can issue a signed URL, it is returned as a resource_link on MCP 2025-06-18 and newer, or as text on older versions. The URL is valid up to 24 hours and opens without an API key. Otherwise the image comes back inline (e.g. Zero Data Retention endpoints). This bills the authenticated user for the generation.

  • Generate speech

    Synthesize speech from text and return it inline as an audio content block (clients that can play audio render it; not all MCP clients can). This bills the authenticated user. Find TTS models via list-models with output_modalities=speech, and each model's voices via get-model (supported_voices). Cost is available afterwards via get-generation.

  • Generate video

    Start a video generation job. Waits up to 20 s and returns the finished video if the job completes that fast; otherwise returns job_id, and you must keep calling get-video every 15-20 s until status is completed, failed, cancelled or expired (jobs usually take 1-5 minutes, so expect several polls). Image inputs are model-dependent: read the argument descriptions and check the model with get-model. Bills the authenticated user, from cents to dollars per clip. Find models with list-models output_modalities=video.

  • Send batch

    Submit many inference requests as one asynchronous batch (Batch API) at discounted batch pricing with results within a 24-hour window. Use it for offline/bulk workloads (evals, backfills, classification over a dataset) that do not need an immediate answer; use send-message for a single interactive reply. Returns the batch id and initial status ("validating"); poll get-batch to follow it to completed/failed and read the results. Completed requests are billed to the authenticated user.

  • Send decision

    Ask a decision model typed questions about a piece of state and get calibrated answers with probabilities: yes/no (noul), pick-one (choice), rubric score (score) or image bounding box (box). Use for classification, gating, routing, grading and extraction; several questions can share one call. Not for generating text (use send-message). Bills the authenticated user and returns usage.

  • Send feedback

    Submit structured feedback on a specific generation the caller made — a category plus an optional comment. Use after a generation had a problem (wrong or incoherent output, latency, formatting, billing, or an API error) so the OpenRouter team can act on it. Requires the generation id, which get-generation and send-message both return. The comment can describe what was expected and what actually happened.

  • Send message

    Chat with a model and get its plain-text response, to test a prompt or compare models without leaving the editor. Model slug suffixes activate routing variants: ":online" enables web search (e.g. "deepseek/deepseek-v4-pro:online"), ":nitro" prioritizes throughput, ":floor" prioritizes lowest price, ":free" uses a free endpoint if one exists. For normal chats, omit "provider" and let the router choose. Set "provider" to pin the upstream provider only when you need zero variance, such as running evals or reproducing a result.

  • Transcribe audio

    Transcribe speech from an audio file to text. Pass exactly one of audio_url (preferred; fetched server-side) or audio_base64. Returns the transcript plus the cost and generation id. This bills the authenticated user. Find STT models via list-models with output_modalities=transcription.