Warning: Your API key is exposed in the code. For security, please use environment variables instead.
Enter your OpenRouter API key:

Advanced Parameters

Basic Parameters

0.0 - 2.0
Controls response randomness. Lower values are more focused and deterministic.
0.0 - 1.0
Limits token selection to the most likely tokens that sum to this probability.
Limits token selection to the K most likely tokens.
Maximum number of tokens to generate in the response.

Advanced Parameters

-2.0 - 2.0
Reduces repetition of tokens based on their frequency in the input.
-2.0 - 2.0
Reduces repetition of tokens regardless of their frequency.
0.0 - 2.0
Penalizes repeated tokens in the output.
Seed for deterministic outputs. Leave empty for random.
0.0 - 1.0
Minimum probability threshold for token selection.
0.0 - 1.0
Alternate top sampling parameter.

Additional Features

Preferred model provider for routing.
Number of top log probabilities to return.

API Mode

Choose between chat and text completion modes.
Status: Loading rate limit information...
AI is thinking...
Processing your request...