TokenDos API Reference: Dual Endpoints and Per-Model Reasoning Shapes

This page documents TokenDos's two protocol endpoints — OpenAI-compatible /v1 and native Anthropic /anthropic — with per-model reasoning parameter shapes for all listed models (snapshot 2026-10-22). Listing status and current details follow the marketplace and public APIs; the shapes here help integrators and callers verify requests.

Endpoints and authentication

ProtocolBase URLNotes
OpenAI 兼容https://api.tokendos.com/v1/chat/completions, /models etc.; point your SDK base_url here
Anthropic 原生https://api.tokendos.com/anthropicFull messages path /anthropic/v1/messages; set ANTHROPIC_BASE_URL to this value for Claude Code

Both surfaces authenticate with a TokenDos API key: Authorization: Bearer <key> on the OpenAI surface, x-api-key: <key> on the Anthropic surface. Create keys in the dashboard; never commit them or paste them into logs.

Request examples

curl https://api.tokendos.com/v1/chat/completions \
  -H "Authorization: Bearer $TOKENDOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-opus-5-5","messages":[{"role":"user","content":"ping"}],"max_tokens":64}'

curl https://api.tokendos.com/anthropic/v1/messages \
  -H "x-api-key: $TOKENDOS_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-opus-5-5","max_tokens":64,"messages":[{"role":"user","content":"ping"}]}'

Both are real billable calls; use a currently listed model ID from the marketplace. Common parameters (temperature, max_tokens, stream, tools, ...) follow each protocol's standard semantics; reasoning control fields vary per model as listed below.

Per-model reasoning shapes (OpenAI-compatible /v1 surface)

Column meanings: toggle = reasoning can be turned on/off; effort = enumerated ladder (none means it can be disabled); budget = thinking-token range. On the /anthropic surface the same models use native Anthropic thinking block semantics. Shapes are aligned per-model with upstream vendor definitions, snapshot 2026-10-22; models not listed expose no reasoning control on this surface.

modelUpstreamreasoning shape
claude-fable-5-1anthropiceffort: low|medium|high|xhigh|max
claude-fable-5anthropiceffort: low|medium|high|xhigh|max
claude-haiku-4-5anthropicbudget(下限 1024 tokens)
claude-haiku-5-5anthropictoggle + effort: low|medium|high|xhigh|max
claude-opus-4-6-thinkinganthropiceffort: none|low|medium|high|max
claude-opus-4-6anthropiceffort: low|medium|high|max
claude-opus-4-7anthropiceffort: low|medium|high|xhigh|max
claude-opus-4-8anthropiceffort: low|medium|high|xhigh|max
claude-opus-5-5anthropiceffort: low|medium|high|xhigh|max
claude-opus-5anthropiceffort: low|medium|high|xhigh|max
claude-sonnet-4-5anthropicbudget(下限 1024 tokens)
claude-sonnet-4-6anthropiceffort: none|low|medium|high|max
claude-sonnet-5-5anthropiceffort: low|medium|high|xhigh|max
claude-sonnet-5anthropiceffort: none|low|medium|high|xhigh|max
deepseek-v4-flash-vision-expdeepseektoggle + effort: low|high|max
deepseek-v4-flashdeepseektoggle + effort: low|high|max
deepseek-v4-prodeepseektoggle + effort: low|high|max
deepseek-v4.1-flashdeepseektoggle + effort: low|high|max
gemini-2.5-flash-litegoogletoggle(无 effort 档位)
gemini-2.5-flashgoogletoggle(无 effort 档位)
gemini-2.5-progooglebudget: 128–32768 tokens
gemini-3.1-pro-previewgoogleeffort: low|medium|high
gemini-3.6-flashgoogleeffort: minimal|low|medium|high
gemini-3.7-flashgoogleeffort: low|medium|high
gemini-3.8-flashgoogleeffort: low|medium|high
gemini-4-argongoogleeffort: low|medium|high
glm-5.2zhipuaitoggle + effort: high|max
glm-5.3-flashzhipuaieffort: low|high|max
glm-5.3zhipuaieffort: low|high|max
gpt-5.5openaieffort: none|low|medium|high|xhigh
gpt-5.6-lunaopenaieffort: none|low|medium|high|xhigh|max
gpt-5.6-solopenaieffort: none|low|medium|high|xhigh|max
gpt-5.6-terraopenaieffort: none|low|medium|high|xhigh|max
gpt-6-astraopenaieffort: low|medium|high|xhigh|max
gpt-6-lunaopenaieffort: none|low|medium|high|xhigh|max
gpt-6-solopenaieffort: none|low|medium|high|xhigh|max
gpt-6.1-solopenaieffort: low|medium|high|xhigh|max
grok-4.3-latestxaieffort: none|low|medium|high|xhigh
grok-4.3xaieffort: none|low|medium|high|xhigh
grok-4.5-latestxaieffort: low|medium|high|xhigh
grok-4.5xaieffort: low|medium|high|xhigh
grok-4.6xaieffort: low|medium|high|xhigh
grok-4.7xaieffort: low|medium|high|xhigh
kimi-k3moonshotaieffort: low|high|max
qwen3.8-flash-nextalibabaeffort: low|medium|xhigh
qwen3.8-flashalibabatoggle + effort: low|medium|xhigh;budget 上限 262144
qwen3.8-maxalibabatoggle + effort: low|medium|xhigh;budget 0–262144

Listing status and live prices follow the the marketplace and live pricing; the machine-readable snapshot is at transit-snapshot。This table is a static reference for integrations (coding clients, model catalogs, gateways) to verify parameter shapes, not a listing guarantee.

Start using TokenDos with pay-per-token pricing today

Get API Key Now