Skip to main content

OpenRouter

OpenRouter is a unified AI gateway that provides access to 480+ AI models from multiple providers including Google Gemini, Anthropic Claude, OpenAI GPT, xAI Grok, DeepSeek, and many more through a single API. This package enables you to build powerful multi-model AI automation workflows in Robomotion.

Key Features

  • Multi-Model Access: Access 480+ AI models from leading providers through one unified API
  • Text Generation: Generate text with support for reasoning mode and structured outputs
  • Chat Completions: Build conversational AI with conversation history support
  • Image Generation: Create images using models like Gemini Nano Banana and FLUX.2
  • Streaming Support: Real-time token streaming for responsive AI interactions
  • Robomotion AI Credits: Use Robomotion's AI credits without managing your own API keys
  • Account Management: Monitor usage, credits, and manage API keys programmatically
  • Model Discovery: List available models and their provider endpoints

Available Models

The package provides easy access to popular models including:

  • Google: Gemini 2.5 Flash, Gemini 2.5 Pro, Gemini 3 Pro Preview
  • Anthropic: Claude Sonnet 4, Claude Sonnet 4.5, Claude Opus 4, Claude Opus 4.5
  • OpenAI: GPT-4.1, GPT-4.1 Mini, GPT-5, GPT-5 Mini, o3, o3 Mini, o4 Mini
  • xAI: Grok 4, Grok 4.1
  • DeepSeek: DeepSeek Chat v3
  • Image Models: Gemini 2.5 Flash Image, Gemini 3 Pro Image, FLUX.2 Pro, FLUX.2 Flex
  • Custom Models: Support for any OpenRouter-compatible model

Use Cases for RPA

  • Document Processing: Extract and analyze data from documents with vision-capable models
  • Customer Support: Build intelligent chatbots with conversation history
  • Content Generation: Generate emails, reports, and marketing content
  • Data Validation: Use AI reasoning to validate complex business logic
  • Image Analysis: Process screenshots, invoices, and visual content
  • Multi-Model Workflows: Compare outputs from different models for better results
  • Cost Optimization: Route requests to the most cost-effective model for each task

Getting Started

  1. Connect: Use the Connect node to establish a session with OpenRouter
  2. Generate: Use Generate Text, Chat Completion, or Generate Image nodes for AI operations
  3. Disconnect: Clean up the connection when done

Alternatively, you can use individual nodes with direct API key credentials without the Connect/Disconnect pattern.

Authentication Options

The package supports three authentication methods:

  1. OpenRouter API Key: Use your own OpenRouter API key for full control
  2. Robomotion AI Credits: Use Robomotion's managed credits (no API key needed)
  3. Provisioning API Key: For programmatic API key management operations