OurToken documentation

Build against official model identities with a small OpenAI-compatible API and a prepaid wallet you can reconcile.

OurToken keeps the public model contract separate from the provider route that delivers it. Choose an official model ID, call the protocol your coding tool supports, and receive normalized usage with an explainable prepaid charge.

API endpoints

ContractEndpointAuthentication
OpenAI Chat CompletionsPOST /v1/chat/completionsAuthorization: Bearer $OURTOKEN_API_KEY
OpenAI ResponsesPOST /v1/responsesAuthorization: Bearer $OURTOKEN_API_KEY
Anthropic MessagesPOST /v1/messagesx-api-key: $OURTOKEN_API_KEY and anthropic-version: 2023-06-01

Start with the public contract

  • Getting started covers the shortest path to a first request.
  • OurToken CLI covers browser-approved installation, compatible coding clients, profiles, recovery, and revocation.
  • API keys explains key issuance, restrictions, and revocation.
  • Models explains stable IDs and the public catalog.
  • Chat Completions documents the OpenAI-compatible chat endpoint.
  • Responses documents OpenAI Responses input, function tools, and semantic streaming events.
  • Anthropic Messages documents Messages content blocks, tool use, and Anthropic streaming events.

Operating your account

Documented scope

The current public API supports the model catalog, OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages. Each protocol page defines its supported subset; do not assume support for media generation, embeddings, hosted tools, beta features, or provider-routing extensions.