OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini avatar
OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini
Try for free

1 day trial then $19.99/month - No credit card required now

View all Actors
OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini

OpenRouter - Unified LLM Interface for ChatGPT, Claude, Gemini

xyzzy/open-router
Try for free

1 day trial then $19.99/month - No credit card required now

Use the OpenRouter platform to choose the best and most cost effective model for your prompts utilizing a standardized interface (including ChatGPT, Claude, Gemini, Llama, Mistral, and more). See instructions for creating an OpenRouter account and API key.

API Key

api_keystringRequired

Your OpenRouter API key.

Messages

messagesarrayRequired

An array of messages to send to the model

Default value of this property is ["Why is the sky blue?"]

Model

modelstringRequired

Model specification

Default value of this property is "openrouter/auto"

Response Format

response_formatEnumOptional

Response format type

Value options:

"json_object": string

Stop

stoparrayOptional

Stop sequence for the model

Max Tokens

max_tokensintegerOptional

Maximum number of tokens for model response

Temperature

temperaturestringOptional

Sampling temperature (e.g., '1.0')

Top P

top_pstringOptional

Nucleus sampling probability threshold (e.g., '1.0')

Top K

top_kstringOptional

Top-k sampling value (e.g., '1')

Frequency Penalty

frequency_penaltystringOptional

Frequency penalty (e.g., '0.0')

Presence Penalty

presence_penaltystringOptional

Presence penalty (e.g., '0.0')

Repetition Penalty

repetition_penaltystringOptional

Repetition penalty (e.g., '1.0')

Random Seed

seedintegerOptional

Random seed for reproducibility

Developer
Maintained by Community
Actor metrics
  • 5 monthly users
  • 4 stars
  • 36.1% runs succeeded
  • Created in May 2024
  • Modified 24 days ago