Fusion Studio

A lightweight chat interface for OpenRouter AI models. Manage up to 10 concurrent chat threads, load custom prompts, and integrate JSON data seamlessly.


Getting Started

How to Get an API Key from OpenRouter

  1. Visit OpenRouter.ai
  2. Sign up or log in to your account
  3. Navigate to your Dashboard or API Keys section
  4. Click Create API Key
  5. Give your key a name (e.g., "Fusion Studio")
  6. Copy your new API key (it will look something like sk-or-v1-...)
  7. Keep this key safe! You'll need it to use Fusion Studio

Note: OpenRouter requires credits to use. Make sure your account has a balance before making API calls.


Setting Your API Key

  1. Open Fusion Studio in your browser
  2. Click the Add API Key button (located in the top header, to the right of the model selector)
  3. Paste your OpenRouter API key into the prompt
  4. Click OK or press Enter

Your API key is saved locally in your browser and will persist between sessions. The button will change to Clear API Key once a key is set.

IMPORTANT: If your laptop is ever lost or stolen, IMMEDIATELY go to openrouter.ai and revoke your API key. You should also consider setting a spend limit as an extra layer of protection.

API Key Setup

Using the Assistant Chat

Fusion Studio includes a built-in Assistant that runs locally in your browser using the Phi-3-mini model. This means you can use it without an API key!

To access the Assistant:

  1. Look at the left panel at the very top
  2. Click the 💬 Assistant button
  3. Start asking questions about how to use Fusion Studio

The Assistant is perfect for:


Starting a Thread

Fusion Studio gives you 10 chat slots so you can run multiple conversations at once.

To start a new thread:

  1. Look at the left panel with numbered slots (1–10)
  2. Click any slot that says "Empty..."
  3. A prompt will appear asking you to name your chat
  4. Type a name and click OK
  5. The slot will now show your chat name

To switch between threads:

To manage a thread:


Setting and Saving a Prompt

The right panel is your prompt area. This is where you load a system prompt that tells the AI how to behave.

To create or edit a prompt:

  1. The prompt editor is visible in the right panel
  2. Click the Edit button
  3. Type your prompt directly in the text area, OR click Add File to load a .md (Markdown) file
  4. Click Save when finished

To edit an existing prompt:

To load a prompt from a file:

PLEASE NOTE: Prompt applies only to the current chat. You will need to re-upload or copy paste your prompt when starting another chat.

Why use prompts?
Prompts give the AI personality, instructions, or context. For example:


Adding a JSON File

Fusion Studio lets you attach JSON files to your messages. This is useful for feeding data into the AI or working with structured information.

To add a JSON file:

  1. Click the Add File button (located in the input footer, bottom-left)
  2. Select a .json file from your computer
  3. The filename will appear where it said "No file loaded"
  4. The button will change to Remove File
  5. Type your message in the text area
  6. Click Send

What happens:

To remove a JSON file:


Managing Your Messages

You can edit, regenerate, or delete any of your previous messages using the right-click context menu.

To access message options:

  1. Right-click on any of your messages (user bubbles in the chat)
  2. Choose from:
    • Regenerate – Deletes this message and everything after it, then resends the message
    • Delete – Deletes this message and everything after it permanently
    • Edit – Deletes this message and everything after, and places the text in the input field for editing

Warning: All three options will delete the selected message and ALL messages that came after it. This cannot be undone!

Why use this?


Exporting Thread Data

You can export any chat thread as a JSON file to save your conversation history.

To export a thread:

  1. Right-click on the chat slot you want to export
  2. Select Export Chat from the context menu
  3. A JSON file will download to your computer

What's in the export?
The JSON file contains:

Why export?


Additional Features

Model Selection

Choose from multiple AI models using the dropdown at the top (next to the chat name):

How to use the model selector:

Reasoning Display:
Models that support reasoning (like DeepSeek) will show their thinking process in a separate section above the main response. The thinking section is collapsible - it expands automatically as reasoning streams, then auto-collapses when the main response begins.

Markdown Formatting:
All AI responses support markdown formatting including bold, italic, code blocks, lists, and more. The formatting is rendered automatically in both responses and reasoning traces.

Clear All Data

The Clear All button at the bottom of the left panel deletes all 10 chat threads at once, including all messages, prompts, and settings. Use with caution!


Tips & Tricks


Troubleshooting

API calls aren't working:

Chat slots aren't saving:

JSON file won't load:


About Fusion Studio

Fusion Studio is a browser-based chat client built for power users who need:

Built with vanilla HTML, CSS, and JavaScript. No frameworks, no bloat.


Enjoy chatting! 🚀