https://api.tokios.com with your sk-tok-... key as a Bearer token. Tokios exposes the OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages surfaces, plus model listing and token counting.
Base URL
Authentication
Every request requires these headers:model field in each request is the public deployment name you registered (e.g. gemma-tunnel), not your local model id.
Usage examples
POST
Common request shapes against /v1/chat/completionsOpenAI dialect/v1/chat/completions. Replace sk-tok-YOUR_KEY and gemma-tunnel with your own. Streaming and tool calling depend on the underlying model supporting them.
- Basic
- Streaming
- Tool calling
- Windows
POST
/v1/chat/completionsOpenAI dialectPOST /v1/chat/completions
Works with supported OpenAI SDKs. Send a list of messages and receive a completion from your registered model.POST
/v1/messagesAnthropic dialectPOST /v1/messages
Works with supported Anthropic SDKs. Send a messages array and receive a response in Anthropic’s format. Tokios translates this to Chat Completions for your model and back.POST
/v1/messages/count_tokensAnthropic dialectPOST /v1/messages/count_tokens
Works with supported Anthropic SDKs. Send the same body shape as/v1/messages and receive the input token count without running a completion.Example request
Response · 200
GET
/v1/modelsOpenAI dialectGET /v1/models
Lists the model deployments your API key can use. Works with supported OpenAI SDKs using the standard list shape.Example request
Response · 200
Claude Code’s model picker only lists
claude* ids, so it won’t show your Tokios models. Pass the model explicitly with claude --model gemma-tunnel — see the Claude Code guide.