OpenRouter with DeepSeek

Pay as you go with zero data retention – create an account, buy credits, turn on ZDR, create a key with a limit and connect it to Muninn.

OpenRouter is a service that passes your AI requests on to many different providers through a single account. You buy credits in advance and pay only for what you use. This guide covers the whole route, from a new account to working AI in Muninn. Allow ten minutes and have a payment card ready.

What zero data retention means here

Zero data retention, or ZDR, means the provider running the model doesn’t keep your text once the answer has been sent and doesn’t use it for training. OpenRouter itself doesn’t store prompts and responses unless you turn on logging, and logging is off by default.

Muninn requires zero data retention on every request and refuses data collection. The requirement therefore applies even if you miss the setting in your OpenRouter account. The account setting is an extra lock, and we recommend it. Read more in Choose how AI runs.

Get an account, credits and a key

  1. Create an account

    Go to openrouter.ai and click Sign up.

  2. Buy credits

    Open openrouter.ai/settings/credits and buy credits, for example by card. OpenRouter charges a fee of about 5.5 percent per purchase, at least 0.80 USD. On the same page you can turn on automatic top-up when the balance runs low.

  3. Turn on zero data retention in your account

    Open openrouter.ai/settings/privacy. The settings are split into groups of models. DeepSeek belongs to All other models: choose ZDR only there. The other option is Allow Safety Retention. The button text may differ slightly at OpenRouter, but the group All other models and the choice ZDR only are what matter.

  4. Create an API key with a credit limit

    An API key is a long string of characters that lets Muninn use your OpenRouter account. Treat it like a password: don’t share it and don’t send it by email.

    Open Settings and choose API Keys. The page is currently at openrouter.ai/settings/keys. Create a new key and give it a credit limit per day, week or month. That way the key can never cost more than you decided. Copy the key.

Connect the key to Muninn

In the setup guide. In the AI step, choose OpenRouter with zero retention. Paste the key into the API key field and click Save and check. To open the setup guide again, choose Help › Setup guide in the sidebar.

In the settings. Open Settings › Agent & automation › AI. The Get started with AI panel shows at the top as long as no AI is working. Otherwise click Change AI provider. Choose OpenRouter with zero retention, paste the key and click Save and check.

The AI settings with the Get started with AI panel

With that one click, Muninn does all of this:

  • Stores the key in the system keyring, never in Muninn’s database.
  • Turns on Only providers with zero data retention and gives OpenRouter the zero data retention requirement.
  • Sets Agent, Drafts & style, Summaries and Classification to DeepSeek V4.1 Flash through OpenRouter (ZDR providers only). The profile becomes Custom. The search index is not affected.
  • Tests the key with a small real request. The key works. AI is up and running. means everything is ready.

If you replace the key later, the Cloud provider API key field further down the same page is enough: choose OpenRouter, paste the new key and click Save.

The model and what it costs

Muninn uses DeepSeek V4.1 Flash, in OpenRouter the version deepseek/deepseek-v4.1-flash-1017. The model can read a lot of text at once, up to 1 million tokens, and can use tools, which the agent needs. A token is a piece of text, roughly a short word.

More than 30 providers run the model with zero data retention. Prices vary a little between them, but are usually around 0.30 USD per million tokens in and 1.20 USD per million tokens out. With normal use that comes to a small amount each day. Current prices are on the model page at OpenRouter.

How to keep track: the balance shows on the credits page, the key’s credit limit sets a hard cap, and in Muninn Cloud tokens today shows today’s usage. Daily cloud budget (tokens) limits what Muninn does in the background.

Why EU only doesn’t work

Under Region in the AI settings there is the option EU only (Azure EU). OpenRouter’s EU routing currently requires an enterprise plan with OpenRouter, and DeepSeek V4.1 Flash isn’t available there. With EU only, requests with this model therefore don’t work. Keep Any ZDR provider. Muninn reminds you of this when you choose EU.

Why not DeepSeek directly

DeepSeek’s own service is not among the providers with zero data retention. That is why Muninn blocks it as long as Only providers with zero data retention is on.

Troubleshooting

The message appears right below Save and check. The field is cleared after each attempt, so paste the key again when you retry.

“The key was rejected. Check that you copied the whole key and that it hasn’t been revoked.” (OpenRouter returns 401) Cause: the key is wrong, not fully copied, or revoked. What to do: create a new key under Settings › API Keys and paste all of it.

“The key works, but the account has no credits. Top up with the provider and try again.” (402) Cause: the credits have run out, or the key’s credit limit has been reached for the period. What to do: buy credits on the credits page or raise the key’s limit. The same error can appear later in the middle of work; the fix is the same.

“No provider meets the zero data retention requirement for this model. Check the privacy settings in your OpenRouter account.” (404 with the text “No endpoints” and “data policy”) Cause: with your settings there is no provider that both runs the model and meets the requirement. What to do: check that All other models is set to ZDR only on the privacy page and that you haven’t excluded providers with your own restrictions (guardrails) in the account. Also check that Region in Muninn is Any ZDR provider.

“Couldn’t reach the provider. Check your internet connection and try again.” Cause: Muninn got no answer from OpenRouter within 15 seconds. What to do: check your internet connection and that no firewall blocks openrouter.ai. Try again in a moment.

“The provider returned an error: …” Cause: OpenRouter replied with some other error. The text after the colon says which. What to do: try again in a few minutes. If it persists, email the text to support@muninnmail.app.

Next steps