Use Jan with a private API

Connect Jan to the private Morse API: set it up, pick a model, and check it works.

Jan is an open-source desktop app for chatting with AI models, on your computer or from a provider. It speaks the OpenAI API, so it works with Morse: give it the base URL https://inference.trymorse.ai/v1 and a Morse API key, and its requests run on Morse's private inference, where Morse keeps nothing and no provider learns who you are.

Before you start

In the console, open API keys and make a key for Jan alone, with a spend limit, so a runaway session can't spend all your credits. See Limit a key.

You'll paste the key into Jan's settings.

Set up Jan

  1. Add Morse as a provider

    In Jan, open Settings > Model Providers and choose Add Provider. Leave the format on OpenAI-compatible, name the provider Morse, set Base URL to https://inference.trymorse.ai/v1, paste your key in API key, and choose Create.

  2. Add a model

    Jan reads Morse's models as you save the provider. If moonshotai/kimi-k2.7-code isn't listed, open the provider's Models, choose +, and type the id exactly as the table below writes it. To let a model use tools or read images, turn them on under the model's Capabilities.

Which model to pick

ModelContextInput / outputWhy
moonshotai/kimi-k2.7-code262.1K$0.95 / $4Kimi's coding model. It doesn't reason, so it starts writing sooner.
moonshotai/kimi-k3.1-pro1M$2 / $10Reasons, and reads images.
z-ai/glm-5.31M$1.40 / $4.40Reasons, and takes tools at TEE too.
deepseek/deepseek-v4-pro-08131M$1.32 / $3.96Reasons, at a lower price.
z-ai/glm-5.3-flash1M$0.15 / $0.50Cheap and fast for small edits, and takes tools at TEE too.

Prices are in dollars per million tokens, on each model's default endpoint. Every model is on the models page.

Check it works

Start a new chat, choose moonshotai/kimi-k2.7-code under Morse in the model menu, and send a message. The reply streams in from Morse.

Keep it private

A request runs on its model's default privacy tier. To hold Jan to a tier, such as one where only attested hardware reads your prompts, set a privacy floor on its key. See Privacy tiers and Provider routing.

If something goes wrong

What you seeWhat to do
401The key is missing or wrong. Check that MORSE_API_KEY is set where Jan starts, and that the key isn't revoked.
402Add credits, or raise the key's limit. Morse holds credit for a request's output limit before it starts. See Holds.
404Use a model's id exactly as the table above writes it, lab and all.

Every code is in Errors. For other tools, see Coding agents and editors.