#909 Add OpenRouter prompt cost calculation

This commit is contained in:
Cohee
2023-08-09 21:59:34 +03:00
parent e39e9428b6
commit 1f8f200caf
2 changed files with 30 additions and 1 deletions

View File

@@ -1750,6 +1750,9 @@
<select id="model_openrouter_select">
<option data-i18n="Connect to the API">-- Connect to the API --</option>
</select>
<small>
Max prompt cost: <span id="openrouter_max_prompt_cost">Unknown</span> <span id="openrouter_max_prompt_cost_currency">USD</span>
</small>
</div>
<h4 data-i18n="OpenRouter API Key">OpenRouter API Key</h4>
<div>