Connect OpenRouter to Your AI Agent

Choose an available model and supply the material you want summarized, rewritten, or translated.

13 tools API key

Try a OpenRouter Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill OpenRouter

Summarize supplied text

Use a selected available model to summarize your document and inspect its usage.

/oo OpenRouter: List OpenRouter models available under my account preferences. Using model [ID], summarize this text into decisions and unresolved questions: [text]. Include the generation ID and usage.

Start Working with OpenRouter

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect OpenRouter

    Connect an OpenRouter API key from Settings > Keys.

    Connect OpenRouter →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • An OpenRouter API key with access and sufficient credits for the chosen model.

OpenRouter Tools

The integration generates chat completions and Anthropic-format messages, lists models and provider endpoints, and reads generation, key, and credit information. Model capabilities depend on the chosen model and endpoint.

Generation, model discovery, and usage

Generate model responses, inspect available models and endpoints, and read account or generation usage.

13 tools

Create Chat Completion

Create an OpenRouter chat completion through the OpenAI-compatible `/chat/completions` endpoint.

openrouter.create_chat_completion

Create Coinbase Charge

Call OpenRouter's deprecated Coinbase charge endpoint for credits purchases. The upstream endpoint is currently deprecated and may return 410 Gone.

openrouter.create_coinbase_charge

Create Message

Create an OpenRouter Anthropic-format message through the `/messages` endpoint.

openrouter.create_message

Get Credits

Get the authenticated OpenRouter credit balance summary.

openrouter.get_credits

Get Current Key

Get metadata for the currently authenticated OpenRouter API key.

openrouter.get_current_key

Get Generation

Get request and usage metadata for a specific OpenRouter generation.

openrouter.get_generation

Get Models Count

Get the total number of OpenRouter models, optionally filtered by output modalities.

openrouter.get_models_count

List Available Models

List the available OpenRouter models, or return the RSS feed when requested.

openrouter.list_available_models

List Embedding Models

List the embedding models available through OpenRouter.

openrouter.list_embedding_models

List Model Endpoints

List the currently available endpoints for a specific OpenRouter model.

openrouter.list_model_endpoints

List Providers

List the model providers currently available through OpenRouter.

openrouter.list_providers

List User Models

List models filtered by the current user's OpenRouter routing preferences, privacy settings, and guardrails.

openrouter.list_user_models

List Zdr Endpoints

Preview the OpenRouter endpoints that remain available under Zero Data Retention.

openrouter.list_zdr_endpoints

Frequently Asked Questions

How do I choose a valid model ID?

Read the available model list or the list filtered by your account preferences. Endpoint details help check a particular model’s available providers.

Can I inspect usage for one response?

Yes. Supply the generation ID to read its request and usage metadata. Credit balance and current-key information have separate operations.

Are streaming replies supported?

These connector actions return complete responses. Streaming requests are rejected. Listing embedding models does not itself create embeddings.

Connect OpenRouter

About OpenRouter ↗