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 create a Coinbase charge for crypto payment to add credits to your OpenRouter account. Use when you need to purchase credits using cryptocurrency. Returns calldata needed to fulfill the transaction on the specified blockchain.
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 create a message using Anthropic Messages API format via OpenRouter. Use when you need Claude-compatible chat completion with support for text, images, PDFs, tools, and extended thinking.
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 get information about the currently authenticated API key. Use to check usage limits, spending, and key metadata.