Skip to main content
The public BetterToken API reference currently covers the OpenAI-compatible Chat Completions API only. Support for other protocols is not yet consistent across all channels, so the Responses API and Anthropic Messages API are not published as public interfaces.

Supported providers

Connection details

Copy a current Model ID from the model plaza or the API Key Setup dialog in Console.
When a tool asks for a Base URL, enter https://bettertoken.ai/v1. Use https://bettertoken.ai/v1/chat/completions only when the tool explicitly asks for a full request URL.

Quick test

A successful response contains choices[0].message.content.

Interactive testing and SDK examples

Open OpenAI Chat Completions API to:
  • Send a request from the Playground
  • Review request parameters and the response schema
  • Copy curl, Python, and JavaScript examples
Never store a real API Key in documentation, screenshots, or public code. Replace YOUR_API_KEY and YOUR_MODEL_ID with your own values.