Better enter key page
This commit is contained in:
parent
4c3174d534
commit
751e72dcd7
14
Chat.go
14
Chat.go
@ -364,16 +364,10 @@ func generateEnterKeyChatHTML() string {
|
||||
<p>API keys are unique codes that allow you to access and use different Large Language Model (LLM) providers.</p>
|
||||
<p>Most providers offer free credits when you first sign up or per minute, which means you have a balance in your account that you can use to generate messages.</p>
|
||||
<p><strong>You pay for the service based on the number of tokens input and generated.</strong> A token is a small unit of text, roughly equivalent to 3 characters. So, a small input and output text will cost very little.</p>
|
||||
<h2>Pricing Examples</h2>
|
||||
<ul>
|
||||
<li>For $1, you can ask 2,000 questions to GPT-4o, or 20,000 to GPT-3.5 turbo (around 100 tokens per message).</li>
|
||||
<li>For 1 message it would cost you $0.0005 for GPT-4o or $0.00005 for GPT-3.5 turbo (around 100 tokens per message).</li>
|
||||
<li>For 1 large text, like a PDF with 30,000 characters (60-120 pages), you would pay around $0.05 per message for GPT-4o or $0.005 for GPT-3.5 turbo.</li>
|
||||
</ul>
|
||||
<p>Remember, prices and token limits may vary depending on the provider and the specific LLM you're using.</p>
|
||||
<h2>Start for free</h2>
|
||||
<p>Groq and Google offer free messages per minutes, enough for a conversation. Allowing you to use their models with JADE for free.</p>
|
||||
<p>OpenAI and Anthropic offer 5$ of free credits when creating an account. So you can try JADE with their models for free.</p>
|
||||
<p>As an example, I have been using the app for 5 months, sending around 1000 messages/month and it cost me 2-3$/month. While using GPT4, Claude 3.5, Codestral, Gemini 1.5 pro, Llama 70b, ect.</p>
|
||||
<h2>Get a key</h2>
|
||||
<p>To get a key and learn more about the different LLM providers and their offerings, check out their websites:</p>
|
||||
<a
|
||||
@ -411,6 +405,9 @@ func generateEnterKeyChatHTML() string {
|
||||
>
|
||||
Get Google API key
|
||||
</a>
|
||||
<a class="button is-small is-primary is-outlined mt-1"
|
||||
href="https://build.nvidia.com/explore/discover"
|
||||
target="_blank">Get Nvidia NIM API key</a>
|
||||
<a
|
||||
class="button is-small is-primary is-outlined mt-1"
|
||||
href="https://docs.perplexity.ai/docs/getting-started"
|
||||
@ -424,7 +421,8 @@ func generateEnterKeyChatHTML() string {
|
||||
target="_blank"
|
||||
>
|
||||
Get Fireworks API key
|
||||
</a>`
|
||||
</a>
|
||||
<p>Note: Key are encrypted and saved on a secure database link only with the app.</p>`
|
||||
|
||||
htmlString := "<div class='columns is-centered' id='chat-container'><div class='column is-12-mobile is-8-tablet is-6-desktop' id='chat-messages'>"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user