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.

  • Get a preset

    Retrieves a preset by its slug with its currently designated version inline.

  • Get a specific version of a preset

    Retrieves a specific version of a preset by its slug and version number.

  • Get a private endpoint

    Get one private endpoint with its upstream configuration and current pricing. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Daily token totals for top 50 models

    Returns the top 50 public models per day by total token usage on OpenRouter, plus a single aggregated `other` row per day that sums every model outside that top 50. Token totals are `prompt_tokens + completion_tokens`, matching the public rankings chart on openrouter.ai/rankings. Each row is a distinct `(date, model_permaslug)` pair. The `other` row uses the reserved permaslug `other` and is always returned last within its date, so callers can compute `top-50 traffic / total daily traffic` without a second request. Optional filters slice the dataset. `period` (`day`/`week`/`month`) sets the time grain.

  • Get a SCIM group mapping

    Get a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Get SCIM directory sync status

    Get SCIM directory sync status. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Cost per session by harness and model

    Returns weekly refreshed, aggregated cost-per-session cells for the published harnesses. Sessions are never pooled across apps. Medians are of per-session USD spend, and privacy-preserving aggregation never exposes clerk_user_id values or per-session rows. Filter by `app_slug`, `model`, or `turn_range`. Filtering by `model` alone works across apps for harness-vs-harness comparison at a fixed model. Results refresh weekly and include the source snapshot window in `meta`. Licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/): reuse and republish with attribution to OpenRouter. Returns one page; pass the documented pagination parameters for subsequent pages.

  • Task classification market share

    Returns the market-share breakdown of OpenRouter traffic by task classification (e.g. code generation, web search, summarization) over a trailing time window. Each classification reports its share of classified sampled requests (`usage_share`) and classified sampled token volume (`token_share`) as fractions between 0 and 1. The unclassified `other` bucket is excluded.

  • Get a server tool

    One server tool by canonical name or any accepted alias, with the models that run it natively.

  • Get user activity grouped by endpoint

    Returns user activity data grouped by endpoint for the last 30 (completed) UTC days. Pass `workspace_id` to scope the response to a single workspace. Pass `group_by=workspace` to split each row per workspace and include `workspace_id` on every item; by default rows are aggregated across workspaces and `workspace_id` is not returned. Activity recorded before workspace resolution existed is permanently attributed to the account default workspace (no backfill is possible). [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • Get Video Content

    Download one output from a completed OpenRouter video generation job.

  • Get Video Generation

    Poll a video generation job for its status, outputs, and usage.

  • Get a workspace

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

  • Get a workspace budget

    Retrieve the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.

  • List API keys

    List all API keys for the authenticated user. [Management key](/docs/guides/overview/auth/management-api-keys) required. Returns one page; pass the documented pagination parameters for subsequent pages.

  • List Available Models

    List available OpenRouter models, optionally filtered by category. Returns at most the first three models from the response, with their IDs, capabilities and pricing metadata.

  • List batches

    Lists batches in the workspace of the authenticating API key, newest first. To fetch the next page, pass the previous page's `last_id` as `after`. List items omit `results`. Use `GET /batches/{id}` to get them. See the [Batch API Quickstart](https://openrouter.ai/docs/batch-quickstart). Returns one page; pass the documented pagination parameters for subsequent pages.

  • List BYOK provider credentials

    List the bring-your-own-key (BYOK) provider credentials for the authenticated entity's default workspace. Use the `workspace_id` query parameter to scope the result to a different workspace, or the `provider` query parameter to filter by upstream provider. [Management key](/docs/guides/overview/auth/management-api-keys) required. Returns one page; pass the documented pagination parameters for subsequent pages.

  • List container files

    Lists the files in a container, in lexicographic path order. The container id is the canonical id returned in bash/shell tool results; a restarted session is a separate container with its own id. Paginate with `limit` and `after` (pass the previous page’s `last_id`); `has_more: true` always means the next page is fetchable that way. `last_id` is the resume cursor: it is the last listed file’s id, except when a page ends at the per-request scan bound on hidden bookkeeping objects, where it names the scan position instead and may not appear in `data` (which can then be empty). Returns one page; pass the documented pagination parameters for subsequent pages.

  • List Embedding Models

    List available OpenRouter embedding models with properties including architecture, pricing, and capabilities. Returns at most the first three models from the response.

PreviousPage 2 / 4Next