freebrainGet API Key
freebrainDOCS
FREEBRAIN / API REFERENCE

FreeBrain AI API Documentation

Connect to FreeBrain with an API key, find your model's supported endpoint, and use the chat, image, audio, and video API reference.

Overview

FreeBrain provides an API gateway for calling AI models. Start with a FreeBrain API key and the base URL https://api.thefreebrain.com/v1 for an OpenAI-compatible client. Supported endpoints and parameters depend on the model you select in the model catalog.

Start here

Use FreeBrain in your tools

  • Claude Code: one command or your settings file, with Opus, Sonnet and Haiku mapped to FreeBrain models.
  • Codex: add FreeBrain as a provider in config.toml and run Codex through the Responses API.
  • CC Switch: import FreeBrain for Claude Code or Codex in one click.
  • Cherry Studio: add FreeBrain as a provider and chat with Claude and GPT models.

Use FreeBrain in your code

AI Model APIs

These pages describe model API formats. Use the format supported by your chosen model; an endpoint in the reference does not imply that every model or account supports it.

On this page