Models & routing

Tokelix supports OpenAI and Anthropic compatible API formats. Point the official SDK base URL to Tokelix and connect GPT, Claude and DeepSeek through one gateway. Available models, prices and protocols depend on configured channels.

Current verification scope

On 2026-10-13, real calls to GPT-6 Astra, GPT Luna, Claude Haiku 4.5 and DeepSeek Flash passed verification, together with basic Codex and Claude Code setup. Each model currently has one configured channel; backup-channel failover has not been verified.

This round did not pass: GPT-5.2 Responses; Claude Opus 4.5 and 4.6 Messages; Gemini 3.1 Pro and 3.5, 3.7 and 3.8 Flash Chat. Their configuration and pricing remain in the catalog; availability of these interfaces is not guaranteed.

Output and spending limits

The current upstreams for Claude Haiku 4.5 Messages and GPT Luna Responses failed output-limit verification: a 16-token limit still produced more output. Direct upstream calls reproduced this, so max_tokens / max_output_tokens are not hard spending caps for these two tested models. Organization and member budgets govern new requests; admitted requests settle actual usage.

DeepSeek thinking mode

DeepSeek enables thinking by default, so a small output allowance may be exhausted before the final answer. For a direct answer, explicitly send {"thinking":{"type":"disabled"}}. Real answer streaming and disconnect settlement passed with thinking disabled. DeepSeek documentation

Configuration and access

Each API key is bound to an organization and member. Wallet balance and organization and member budgets govern new requests. Input, output, cache read and cache write use the request price snapshot.

If a stream disconnects before complete upstream usage arrives, billing may estimate tokens from the request and received output. This is not the complete upstream generation usage. See Models & Routing for output-parameter and channel limitations.

Error handling

401 — Invalid or expired key
403 — Membership, balance or budget restriction
429 — Rate limit; retry with backoff
503 — No route matches the model, protocol or price cap

ModelContextInput (List)Output (List)Input (Tokelix)Output (Tokelix)Provider
gpt-5-6-lunaOpenAI——per 1M tokens—
$0.042
Cache $0.042
$0.336
OpenAI
deepseek-v4-1-flashDeepSeek—$0.3per 1M tokens$1.2
$0.12
Cache $0.12
$0.474996
DeepSeek
deepseek-flashDeepSeek1000K$0.15per 1M tokens$0.6
$0.15372
Cache $0.003074
$0.61488
DeepSeek
gemini-3-8-flash-openaiGoogle——per 1M tokens—
$0.225
Cache $0.225
$1.125
Google
gemini-3-7-flash-openaiGoogle——per 1M tokens—
$0.225
Cache $0.225
$1.125
Google
gemini-3-6-flash-openaiGoogle——per 1M tokens—
$0.225
Cache $0.225
$1.125
Google
claude-haiku-4-5Anthropic—$1per 1M tokens$5
$0.275
Cache $0.275
$1.375
Anthropic
gpt-6.1-solOpenAI1000K$2per 1M tokens$10
$0.4128
Cache $0.02064
$2.064
OpenAI
Get API key