Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get a preset
OPENROUTER_GET_PRESETRetrieves a preset by its slug with its currently designated version inline.
Get a specific version of a preset
OPENROUTER_GET_PRESET_VERSIONRetrieves a specific version of a preset by its slug and version number.
Get a private endpoint
OPENROUTER_GET_PRIVATE_ENDPOINTGet 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
OPENROUTER_GET_RANKINGS_DAILYReturns 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
OPENROUTER_GET_SCIM_GROUP_MAPPINGGet a SCIM group-to-workspace mapping. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Get SCIM directory sync status
OPENROUTER_GET_SCIM_SYNC_JOBGet SCIM directory sync status. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Cost per session by harness and model
OPENROUTER_GET_SESSION_COSTReturns 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
OPENROUTER_GET_TASK_CLASSIFICATIONSReturns 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
OPENROUTER_GET_TOOLOne server tool by canonical name or any accepted alias, with the models that run it natively.
Get user activity grouped by endpoint
OPENROUTER_GET_USER_ACTIVITYReturns 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
OPENROUTER_GET_VIDEO_CONTENTDownload one output from a completed OpenRouter video generation job.
Get Video Generation
OPENROUTER_GET_VIDEO_GENERATIONPoll a video generation job for its status, outputs, and usage.
Get a workspace
OPENROUTER_GET_WORKSPACEGet a single workspace by ID or slug. [Management key](/docs/guides/overview/auth/management-api-keys) required.
Get a workspace budget
OPENROUTER_GET_WORKSPACE_BUDGETRetrieve the budget for a given interval. [Management key](/docs/guides/overview/auth/management-api-keys) required.
List API keys
OPENROUTER_LIST_API_KEYSList 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
OPENROUTER_LIST_AVAILABLE_MODELSList 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
OPENROUTER_LIST_BATCHESLists 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
OPENROUTER_LIST_BYOK_CREDENTIALSList 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
OPENROUTER_LIST_CONTAINER_FILESLists 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
OPENROUTER_LIST_EMBEDDING_MODELSList available OpenRouter embedding models with properties including architecture, pricing, and capabilities. Returns at most the first three models from the response.