Skip to main content
Pre-launch. fremai is not open for signups yet. These docs describe the launch API and are subject to change. fremai.eu →

Setup guides

fremai works with any OpenAI-compatible client. Each guide below is a copy-paste starting point — the only fremai-specific settings are the base URL (https://api.fremai.eu/v1) and your key (sk-fremai-…) or an OAuth login.

Which auth do I use?

  • opencode uses OAuth only — the plugin mints and refreshes a short-lived key for you, so nothing is pasted or stored in a config file.
  • Everything else (OpenAI SDK, curl, LangChain, CI) uses a static sk-fremai-… key — the drop-in path. Machines can also use an OAuth client-credentials grant.

Full details in the authentication reference.