tokeon

TTokeon AI Gateway

One OpenAI-compatible endpoint for every Tokeon model.

by TokeonAIOpenAI-compatible
Base URLhttps://api.tokeon.blocify.cloud/v1

Overview

Use any Tokeon-hosted model (chat, embeddings, speech) through a single OpenAI-compatible API. Change one line: set `base_url` to the Tokeon API and use your `tk_live_` key.

Plans and pricing

Free

$0
  • 100 calls included
  • Hard cap 100 calls/month
  • 2 requests/second

Pay-as-you-go

$0
  • $0.1000 per 1M input tokens
  • $0.3000 per 1M output tokens
  • 20 requests/second

Quickstart

from openai import OpenAI

client = OpenAI(
    base_url="https://api.tokeon.blocify.cloud/v1",   # the one line you change
    api_key="tk_live_...",
)

resp = client.chat.completions.create(
    model="llama-3.1-8b-instruct",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Only the base URL changes. Keep your existing OpenAI SDK, then pick any model id from this page.

Playground

Log in to try this API from your browser with one of your keys.

Reviews

No reviews yet.

Log in to leave a review.