Tokening

Connect OpenAI-compatible clients

Set up the local gateway in desktop apps, SDKs, or command-line tools that accept a custom OpenAI endpoint.

Enter the base URL and local key

Set the provider base URL to http://127.0.0.1:18800/v1 and enter your local Tokening key. Fetch the model list to verify the connection.

curl http://127.0.0.1:18800/v1/models \
  -H "Authorization: Bearer tk-your-local-key"

Choose a model or route

Use a model or route name returned by Tokening. SDKs can set OPENAI_BASE_URL and OPENAI_API_KEY. The request paths for OpenAI Chat Completions and Responses are /v1/chat/completions and /v1/responses.

Gemini CLI

Set GOOGLE_GEMINI_BASE_URL to http://127.0.0.1:18800 and GEMINI_API_KEY to the local key, then choose Gemini API key authentication.

All integration guides