Openrouter
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.

Completely Secure
120387VIEWS
2104USERS

Tools

1 of 2

Create Chat Completion

Tool to generate a chat-style completion. Use after assembling messages and selecting a model. Supports streaming and function calls.

Create Completion

Tool to generate a text completion for a given prompt or set of messages. Use when you need a model-generated response from a specified model.

Get Credits

Tool to get the current API credit balance for the authenticated user. Use after authenticating to monitor remaining credits before making further API calls.

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.

List Available Models

Tool to list available models via OpenRouter API. Use after confirming authentication to fetch the model catalog.

Openrouter List Model Endpoints

Tool to list endpoints for a specific model. Use after specifying model author and slug to get endpoint details including pricing, context length, and supported parameters.