API REFERENCE

FreeToken API Guide

Start the local FreeToken server and call OpenAI-compatible and Anthropic-compatible endpoints: chat completions, responses, messages, and streaming.

What is the API Guide?

The API guide shows how to start the local FreeToken server and call its OpenAI-compatible and Anthropic-compatible endpoints. It covers /v1/chat/completions, /v1/responses, and /v1/messages, streaming requests, server configuration flags, and copy-ready client examples so your apps can use local models immediately.

Why use the local API?

1

Drop-In Compatibility

Point existing OpenAI or Anthropic clients at your local server with one base URL change

2

Stream Responses

Enable token streaming for responsive chat and agent experiences

3

Keep Data Local

Run inference on your own hardware without sending prompts to the cloud

Featured & Essential

All API Guides