openrouter-research

Research OpenRouter API details for Grok model IDs and vision support.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/NikGor/image-prompt-optimizer --skill openrouter-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openrouter-research
Source: https://github.com/NikGor/image-prompt-optimizer/tree/main/.claude/skills/openrouter-research
Command: npx skills add https://github.com/NikGor/image-prompt-optimizer --skill openrouter-research

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of understanding and integrating with the OpenRouter API, specifically for utilizing xAI's Grok models, by providing clear documentation and model information.

Core Features & Use Cases

  • API Documentation Research: Fetches and synthesizes information about OpenRouter API endpoints, request/response formats, and error handling.
  • Model Discovery: Identifies available Grok models, their capabilities (especially vision support), and context window sizes.
  • Integration Guidance: Provides specific formats for image input and recommended constants for configuration.
  • Use Case: When implementing openrouter_tool.py and needing to determine the correct Grok model ID that supports image input for the judge_service.py.

Quick Start

Use the openrouter-research skill to find the Grok model ID that supports vision input for the judge service.

Frequently Asked Questions about openrouter-research

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the Grok model ID that supports vision input on the OpenRouter API?

To find a Grok model ID supporting vision input on the OpenRouter API, research available models to identify specific image processing capabilities and context window sizes. This identifies the correct ID for image-based judge service requests.

What is the correct image input format for OpenRouter API vision models?

The correct image input format for OpenRouter API vision models involves specific base64 or URL structures integrated into the request payload. Following documented integration patterns ensures your vision API requests are parsed correctly by the model.

How do I handle API errors with httpx clients when integrating OpenRouter?

To handle API errors with Python httpx clients integrating OpenRouter, implement specific error handling strategies outlined in the API documentation. This manages failed requests, timeouts, and response validation during your model integration.

Can I use Grok models for a judge service that evaluates image inputs?

Yes, you can use Grok models for a judge service evaluating image inputs by selecting a Grok model ID with confirmed vision capabilities. This allows the service to process and analyze image data via the OpenRouter API.

What are the integration patterns for the OpenRouter API using Python?

Integration patterns for the OpenRouter API using Python involve configuring Python httpx clients, structuring request/response formats, and applying recommended constants. These patterns streamline connecting your application to various models like Grok.