Kwern

Set up your Provider key in Kwern

How to give Kwern the model every run uses and a key of your own to pay for it, how the key is checked before it is stored, and what happens when it stops working.

What it is

The model every run uses, and your own key at the provider that serves it. Every run is billed by that provider, at its price, on your account.

The key is stored encrypted and never shown again. Settings shows only the model and a hint of the key.

Set it up

  1. Pick the model — Pick the model every Run uses. Each sits under the provider that serves it, and the key comes from that provider.
    • Anthropic: claude-sonnet-5-5, claude-opus-5-5, claude-fable-5-1
    • DeepSeek: deepseek-flash
    • Google: gemini-3.8-flash, gemini-3.1-pro-preview
    • Moonshot (Kimi): kimi-k3
    • OpenAI: gpt-6-luna, gpt-6-sol, gpt-6-astra
    • xAI (Grok): grok-4.7
  2. For the provider of the model picked:

    • Anthropic: Open Anthropic — Kwern runs on a key of yours. Anthropic issues them in the Anthropic Console, under Settings · API keys. Open Anthropic
    • DeepSeek: Open DeepSeek — Kwern runs on a key of yours. DeepSeek issues them in the DeepSeek platform, under API keys. Open DeepSeek
    • Google AI Studio: Open Google AI Studio — Kwern runs on a key of yours. Google AI Studio issues them in Google AI Studio, under Get API key. Open Google AI Studio
    • Moonshot: Open Moonshot — Kwern runs on a key of yours. Moonshot issues them in the Moonshot platform, under API Keys. Open Moonshot
    • OpenAI: Open OpenAI — Kwern runs on a key of yours. OpenAI issues them in the OpenAI platform, under API keys. Open OpenAI
    • xAI: Open xAI — Kwern runs on a key of yours. xAI issues them in the xAI Console, under API Keys. Open xAI
  3. Paste the key — Create a key and paste it here. It is stored encrypted and never shown again. Changing only the model keeps the key Kwern already holds.
  4. For the provider of the model picked:

    • Anthropic: Check — Asking Anthropic which models this key can run…
    • DeepSeek: Check — Asking DeepSeek which models this key can run…
    • Google AI Studio: Check — Asking Google AI Studio which models this key can run…
    • Moonshot: Check — Asking Moonshot which models this key can run…
    • OpenAI: Check — Asking OpenAI which models this key can run…
    • xAI: Check — Asking xAI which models this key can run…

Only the models listed can be picked.

When the key stops working

When the provider refuses the key on a run, that run stops and the agents it paused wait. Bring a fresh key in Settings and they resume.

Deleting it

Deleting the Provider key in Settings stops every run immediately, until you add a new one. Image generation keeps its own key.

On this page