Openrouter
Unified access to many large language models from different providers through one API.
Routes a request to a specific model an app depends on, and reports what the call cost.
Use Openrouter with Snow
Snow is a personal AI assistant that builds real apps for you, and they can put Openrouter to work.
What Snow can do with Openrouter
These are the Openrouter operations Snow and the apps you build with it can run. Sign in to choose which ones Snow may run without asking.
Reads12
Look at your data without changing it.
- Create Chat Completion
Tool to generate a chat-style completion. Use after assembling messages and selecting a model. Supports streaming and function calls. Response format varies across models; use explicit prompt instructions to standardize output. Provider-level rate limits and moderation policies differ per model.
- Create Message (Anthropic Format)
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.
- Get Credits
Tool to get the current API credit balance for the authenticated user. Use before large or batch jobs to verify sufficient balance. A successful response may return total_credits=0, which confirms authentication but will cause all paid model generations to fail. Avoid polling this endpoint; call only as needed.
- Get Current Key
Tool to get information about the currently authenticated API key. Use to check usage limits, spending, and key metadata.
- 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.
- Get Models Count
Tool to get the total count of available models on OpenRouter. Use when you need to know how many models are available without fetching the full list.
- List Available Models
Tool to list available models via OpenRouter API. Use after confirming authentication to fetch the model catalog. Use exact model IDs returned here in OPENROUTER_CREATE_CHAT_COMPLETION or OPENROUTER_CREATE_COMPLETION calls — hard-coded IDs may break when the catalog changes. Use exact author and slug values from this response as inputs to OPENROUTER_LIST_MODEL_ENDPOINTS. Models have varying capabilities (e.g., tools, reasoning); verify individual model capabilities before downstream use. Pricing and latency metadata may be null or approximate — handle missing values in routing logic.
- List Embedding Models
Tool to list all available embeddings models via OpenRouter API. Returns a list of embeddings models with their properties including architecture, pricing, and capabilities.
- List User Models
Tool to list models filtered by user provider preferences, privacy settings, and guardrails. Use after authenticating to get models tailored to the user's configuration.
- 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. Some metadata fields (e.g., latency, pricing) may be null or approximate; handle missing values in routing logic.
Creates1
Add something new to your account.
- Create Coinbase Charge
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.
Related integrations
Ready to put Openrouter to work?
Sign up free, build an app by chatting, and connect Openrouter in minutes. No credit card required.