Models

Run a language model in your browser, connect a local Ollama server, or choose a hosted API such as OpenAI or OpenRouter. Set up speech-to-text for dictation and text-to-speech for spoken replies.

Chat model

For edits that span several files, we recommend running a larger coding model on your computer with Ollama.

Run a larger model locally

The Browser model lets you start editing without installing anything. A local engine gives you a wider choice of coding models while keeping model requests on your computer.

  1. Install the Ollama desktop app or use another OpenAI-compatible local engine. Pick a model that supports tool calls so Chat can read and edit project files.
  2. Allow browser connections in your engine. See the Ollama setup instructions for installation and download commands.
  3. Choose API endpoint and select your inference engine. Ollama uses http://localhost on port 11434 by default.
  4. Available models refreshes as you change the engine, host, port, or API key. Select your default for Chat and choose Run test to check that it replies.

Inference method

Browser model

The built-in model lets you start chatting straight away with no server or API key. It runs on your device and works offline once downloaded.

Use it for quick setup and simple requests. For demanding work, choose API endpoint and connect a more capable model.

API endpoint

Recommended for better reasoning and coding results. Connect a more capable model through an OpenAI-compatible endpoint. You can use a local engine such as Ollama or a hosted provider.

Your prompts and any attachments used by the model go to the endpoint you select.

Available models

Choose a browser model

Chat tries Primary · WebGPU first, then Second · WebGL2. Both default to LFM3 1.7B on phones and desktops. If WebGL2 replies are slow, try LFM2.5 350M, the smallest model. You can also choose Qwen3.5 0.8B or Llama 3.2 1B Instruct. All four WebGL2 models process prompts and generate replies on your GPU. WebGL2 reuses files downloaded for WebGPU. If both GPU options fail, Chat uses your selected WASM model on the CPU.

For faster follow-ups with WebGPU or WASM, keep the chat tab open. Chat can reuse the part of your prompt it has already processed, including images on vision models. Editing earlier text or replacing an image can make Chat read the prompt again. On a cross-origin isolated page with shared memory, WASM requests one thread per logical processor reported by the browser.

Selecting a model saves your choice for that backend. Use Run test to check that it replies.

Run local AI models in your browser with WebGPU, WebGL2, or WASM. Models download as needed and work offline once downloaded. You can also connect to Ollama or another OpenAI-compatible API endpoint.

Choose a model from the list to make it the default in Chat.

Opening the workspace…

Test model

Test the current settings here. Use Save settings to apply other edits, including a typed model ID.

Speech to text

Transcribe audio attachments in Chat and dictate text in Chat or Code Studio.

Transcription method

Speech output

Read Chat replies aloud with an AI-generated voice.

Speech output method