Artificial Intelligence

OpenRouter

OpenRouter is a platform that provides a unified API for accessing various large language models (LLMs) from different providers, allowing developers to integrate multiple AI models seamlessly.

Tools

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

  • Create Transcription

    Transcribe audio into text using an OpenRouter speech-to-text model. Send JSON input_audio containing raw base64 data and its format, or a public URL downloaded directly by the provider. Use verbose_json for timestamps and speaker labels; diarization and keyterms require a supporting model and may incur additional provider charges. This action does not upload multipart files.

  • Download Container File Content

    Download raw file content from an OpenRouter container using its canonical container and file IDs.

  • Download File Content

    Download raw content of a server-created file. Uploaded files return HTTP 400.

  • Get available analytics metrics and dimensions

    Returns the available metrics, dimensions, filter operators, and granularities for the analytics query endpoint. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Get a single API key

    Get a single API key by hash. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Top apps by token usage

    Returns the top public apps on OpenRouter ranked by token usage inside the requested date window, matching the public apps marketplace on openrouter.ai/apps. Token totals are `prompt_tokens + completion_tokens`; hidden and private apps are excluded and traffic from related app aliases is merged into the canonical visible app. `sort=popular` (default) ranks by total token volume inside the window. `sort=trending` ranks by absolute excess token growth: window volume minus the average volume of the three equal-length periods immediately preceding the window. Returns one page; pass the documented pagination parameters for subsequent pages.

  • Get a batch

    Returns a batch with its status and request counts. Batches in a terminal status include `results`. Failed batches report the reason in `error.message`. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart).

  • List Benchmarks

    Unified benchmark endpoint that aggregates scores from multiple benchmark sources (Artificial Analysis, Design Arena, and OpenRouter's own tau-bench, GPQA, and web-search evals). Filter by source to reproduce the exact shapes from the legacy per-source endpoints, or use task_type to find models suited for specific workloads. Use task_type=search (or a search_* benchmark_type) for OpenRouter's search benchmarks, which publish each model's highest-scoring eligible evaluation configuration with same-configuration runs combined by task-weighted mean. Authenticate with any valid OpenRouter API key. Rate-limited to 30 requests/minute per key and 500 requests/day per account.

  • Get a BYOK provider credential

    Get a single bring-your-own-key (BYOK) provider credential by its `id`. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Retrieve a container file

    Returns the metadata of a single file in a container.

  • Get Credits

    Tool to get the current API credit balance for the authenticated user. Use before large or batch jobs to verify sufficient balance. A successful response may return total_credits=0, which confirms authentication but will cause all paid model generations to fail. Avoid polling this endpoint; call only as needed.

  • Get Current Key

    Tool to get information about the currently authenticated API key. Use to check usage limits, spending, and key metadata.

  • Get file metadata

    Retrieves metadata for a single file owned by the requesting workspace.

  • Get Generation

    Tool to retrieve a generation result by its unique ID. Use after a generation completes to fetch metadata like token counts, cost, and latency.

  • Get a guardrail

    Get a single guardrail by ID. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Get a model by its slug

    Returns full details for a single model identified by its author and slug (e.g. openai/gpt-4). Supports variant suffixes (e.g. openai/gpt-4:free) and resolves known slug aliases.

  • Get Models Count

    Tool to get the total count of available models on OpenRouter. Use when you need to know how many models are available without fetching the full list.

  • OpenRouter access token signing keys

    RFC 7517 JWK Set containing the public keys OpenRouter signs access tokens with.

  • Get an observability destination

    Fetch a single observability destination by its UUID. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Get organization settings

    Get the settings of the organization associated with the authenticated management key. [Management key](/docs/guides/overview/auth/management-api-keys) required.

Page 1 / 4Next