GET STARTED

One API. Your next idea.

Connect your app to AI models through one familiar API. This is your guide to building with Tokely.

A familiar way to build

Tokely provides an OpenAI-compatible API for text and images, speech synthesis and asynchronous media tasks. Use your existing SDK, choose a model, and send your first request. Your API key and account balance work across available models.

Start with Chat Completions or use Responses for models that support it. Each model page shows availability, supported endpoints, streaming support and current prices. See the Media API guide for images, speech and video.

Your connection details

Use this base URL in your SDK. Authenticate every request with a Tokely API key.

SettingValue
Base URLhttps://api.tokely.me/v1
AuthenticationAuthorization: Bearer <TOKELY_API_KEY>
Request formatapplication/json

A first look

Create a key in your dashboard and make sure your account has enough balance before running your first request.

curl https://api.tokely.me/v1/chat/completions \
  -H "Authorization: Bearer $TOKELY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.4-mini",
    "messages": [{"role": "user", "content": "Hello, Tokely!"}],
    "max_tokens": 1024
  }'

Build with what is available

The public catalog shows currently enabled models. GET /v1/models returns enabled IDs; check individual model pages for compatible endpoints and capabilities.

Text, image generation, speech synthesis and asynchronous video/audio tasks are enabled for supported models. See /docs/media for endpoints and examples. Embeddings are available at /v1/embeddings for text-embedding-3-small, text-embedding-3-large and text-embedding-ada-002; see the Embeddings guide. Reranking is not offered.

EXPLORE DOCUMENTATION

IntroductionConnect your app to AI models through one familiar API. This is your guide to building with Tokely.QuickstartMake your first Tokely request in three steps.API keysConnect securely with a key from your Tokely dashboard.ModelsChoose an available model and use its exact ID in your request.PlaygroundUse the Tokely Playground to test prompts before writing code.Use your existing appConnect an existing OpenAI-compatible application to Tokely.Chat CompletionsGenerate responses from text messages and supported inline images or PDFs.ResponsesUse stateless text and supported multimodal input with the Responses API.EmbeddingsTurn text into vectors for search, RAG, clustering and classification with the OpenAI-compatible /v1/embeddings endpoint.Claude Code and the Messages APIPoint Claude Code or the Anthropic SDK at Tokely. Use the native /v1/messages endpoint with streaming, tools and prompt caching.Images and PDFsSend inline images and PDFs to compatible models through Chat Completions or Responses.Images, video & audioGenerate media with your Tokely API key and account balance.Errors & limitsDiagnose failed requests and keep your integration within service limits.StreamingDisplay generated text as it arrives with server-sent events.Function callingLet a model request a function, then execute it in your application.Structured outputRequest JSON output or a defined schema from a compatible model.Usage & billingModel prices, account balance and output reservations.WebhooksTokely webhook events, HMAC signature verification, delivery retries and replay behavior.
Use Tab to browse results ESC to close