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.
Tool to generate a chat-style completion. use after assembling messages and selecting a model. supports streaming and function calls.
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.
Tool to get the current api credit balance for the authenticated user. use after authenticating to monitor remaining credits before making further api calls.
Tool to retrieve a generation result by its unique id. use after a generation completes to fetch metadata like token counts, cost, and latency.
Tool to list available models via openrouter api. use after confirming authentication to fetch the model catalog.
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.