Developers / Docs / Overview

ARK documentation

ARK serves open frontier models behind two APIs you already know: OpenAI's Chat Completions family and Anthropic's Messages. These guides cover every capability, with requests you can paste and responses exactly as ARK returns them.

Base URLs

On ARK Cloud, both APIs live on one host and accept the same API key. A self-hosted ARK deployment exposes the same paths on its own host.

APIBase URLUse with
OpenAI-compatiblehttps://api.ark-labs.cloud/api/v1OpenAI SDKs, LangChain, any OpenAI client
Anthropic-compatiblehttps://api.ark-labs.cloud/api/anthropic/v1Anthropic SDKs (base URL …/api/anthropic)

Endpoints

Method and pathWhat it does
POST /api/v1/chat/completionsChat, reasoning, tool calls, image input, stateful sessions. Guide
POST /api/v1/embeddingsDense vectors for search and retrieval. Guide
POST /api/v1/audio/transcriptionsSpeech to text, with subtitles and segment timestamps. Guide
GET /api/v1/modelsThe models available right now, with ARK metadata. Guide
POST /api/anthropic/v1/messagesAnthropic Messages: text, images, tools, thinking. Guide
POST /api/anthropic/v1/messages/count_tokensExact prompt size before you send it. Free.
GET /api/anthropic/v1/modelsThe model list in Anthropic's format.

What is different from OpenAI and Anthropic

ARK aims to behave like the APIs it mirrors, so existing clients work unchanged. A few things are specific to ARK:

  • Models are open-weight models with ARK ids such as arklabsai/Qwen3.6-35B-A3B. Use the exact id from /v1/models; there are no aliases like gpt-4o.
  • Stateful sessions. Add ark_stateful and ark_max_session_tokens to keep a conversation on the server and send only the new turn. See Stateful sessions.
  • Reasoning is off by default. Turn it on with reasoning_effort: "medium" or "high", or Anthropic thinking. The thinking text comes back in message.reasoning. See Reasoning.
  • The default temperature is 0.6, not 1.
  • Credits in the usage object. On ARK Cloud, OpenAI-style responses add credits_used and credit_balance to usage.
  • A few parameters are accepted but have no effect, so clients that always send them keep working: seed, presence_penalty, frequency_penalty, logit_bias, logprobs, user, metadata and others listed in the API reference.
  • Every response carries x-request-id. Quote it when you contact support and we can trace the request.

Where ARK runs

The same API is served by ARK Cloud, our EU-hosted service, and by ARK deployments on your own infrastructure (ARK Core and ARK Tailored). Code written against ARK Cloud runs against a self-hosted deployment by changing the base URL and key.

Getting help

Write to support@ark-labs.pl with the x-request-id of the request in question. For sales and partnerships, use the contact page.