Connect AI with OpenRouter
Turn on Mythwrite's optional AI tools in one click, without copying an API key.
- An OpenRouter account. You can create one for free while connecting.
- AI is optional. You never need it to write, import or publish a book.
On this page
What is OpenRouter?
OpenRouter is an independent service that gives you access to AI models from many companies, such as Anthropic, OpenAI and Google, through a single account. Mythwrite uses it to run the AI tools you choose, like Beat Box, rewriting and AI proofing.
OpenRouter bills you directly for what you use. Mythwrite doesn't add a mark-up and never sees your payment details. Most writing requests cost a fraction of a penny; longer jobs, such as proofing a whole chapter, cost more.
Connect in one click
Choose Connect with OpenRouter
You'll find the button at the top of AI Settings, and wherever Mythwrite tells you AI isn't set up yet.
Approve Mythwrite on openrouter.ai
Sign in to OpenRouter, or create an account, then approve the request. OpenRouter creates a key labelled Mythwrite just for this connection.
Come straight back
OpenRouter returns you to Mythwrite, which saves the key securely (encrypted, and never shown on screen) and picks sensible default models. You're then taken back to where you started.
Add credit
Open your OpenRouter credits page
Go to openrouter.ai, open your account menu and choose Credits.
Top up a small amount
A few pounds goes a long way for writing help. You can set a spending limit on the key in your OpenRouter key settings if you'd like a firm cap.
Who the connection belongs to
If you own or administer the workspace, the connection is used by AI features across that workspace. If you're a collaborator in someone else's workspace, it belongs to your account and stays private to you.
Disconnect or revoke
Disconnect in Mythwrite
In AI Settings, choose Disconnect on the OpenRouter card. Mythwrite deletes its copy of the key straight away.
Revoke the key at OpenRouter
To cancel the key completely, open Keys in your OpenRouter settings and delete the key labelled Mythwrite. Revoking it there also stops Mythwrite using it, even if you haven't disconnected.
Common problems
- "Connection cancelled": you closed or declined the OpenRouter page. Nothing changed; start again when you're ready.
- "This connection link has expired": the approval took longer than ten minutes, or the page was opened twice. Start again from AI Settings.
- AI requests fail after connecting: check that your OpenRouter account has credit.
- Already connected: choose Reconnect and replace key to swap in a fresh key. Your model choices stay the same.
- Prefer to paste a key yourself, or use OpenAI or Anthropic directly? Use Add Provider in AI Settings instead.