Skip to Content
Quickstart

Quickstart

Your first Devotel AI request, in about two minutes.

Get an API key

Sign in at chat.devotel.com , open API keys , and create one. Keys look like dvt- followed by 40 hex characters.

The full key is shown once, at creation. Only its first 8 characters are stored for display — the rest is kept as a SHA-256 hash, so nobody, including us, can recover it. Copy it before closing the dialog.

Export it

export DEVOTEL_API_KEY="dvt-your-key-here"

Send a request

curl https://api.devotel.com/v1/chat/completions \ -H "Authorization: Bearer $DEVOTEL_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "kimi-k3", "messages": [ {"role": "user", "content": "Say hello in exactly five words."} ] }'

What comes back

{ "id": "chatcmpl-...", "object": "chat.completion", "model": "kimi-k3", "choices": [ { "index": 0, "message": { "role": "assistant", "content": "Hello there, how are you?", "reasoning_content": "The user asked me to say hello in exactly five words. Let me count..." }, "finish_reason": "stop" } ], "usage": { "prompt_tokens": 95, "completion_tokens": 158, "total_tokens": 253, "completion_tokens_details": { "reasoning_tokens": 141 } } }

Two things worth noticing in that response:

  • reasoning_content holds the model’s thinking. It is not part of the answer — render content and keep the reasoning collapsed or drop it.
  • completion_tokens is 158 for a 25-character answer, because 141 of those tokens were reasoning. Reasoning is billed at the output rate. See Models.

Next steps