2KEN2KEN

grok-build-0.1

Save 98%

≤ 200,000 tokens

InputSave 98%
$0.025 / 1M tokensOfficial $1 / 1M tokens
OutputSave 98%
$0.05 / 1M tokensOfficial $2 / 1M tokens
Cache readSave 98%
$0.005 / 1M tokensOfficial $0.2 / 1M tokens

兜底档

InputSave 98%
$0.05 / 1M tokensOfficial $2 / 1M tokens
OutputSave 98%
$0.1 / 1M tokensOfficial $4 / 1M tokens
Cache readSave 98%
$0.01 / 1M tokensOfficial $0.4 / 1M tokens

Playground

Input

Temperature

Max tokens

Stream

Output

The assistant reply will appear after you run.

Examples

Click an example to load Playground presets and jump to the trial area.

How to start

Three steps to integrate. Model ID is grok-build-0.1.

  1. 1

    Get an API key

    Create a key in the 2KEN console. Text, image, and video share one key.

  2. 2

    Point to the unified endpoint

    Set Base URL to https://api.2ken.com/v1 and model to grok-build-0.1.

  3. 3

    Send Chat Completions

    Submit a messages array with system / user, then read choices and usage.

Developer docs

API

OpenAI-compatible sync API. One request returns the assistant reply and token usage.

OpenAI · Chat API

grok-build-0.1 Chat Completions

Call grok-build-0.1 via the OpenAI-compatible chat endpoint. One request returns the assistant message and usage.

01

Endpoint

POST
Chat Completions/v1/chat/completions
Try
02

Flow

  1. 1
    Bearer auth

    Send Authorization: Bearer .

  2. 2
    Submit messages

    Read choices[0].message and usage.

03

Notes

  • Modelgrok-build-0.1
  • CompatReuse an OpenAI SDK by switching the base URL.
01 Send request POST · chat
curl --request POST \
  --url https://api.2ken.com/v1/chat/completions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "grok-build-0.1",
    "messages": [{"role": "user", "content": "Hello"}]
  }'
200Chat Response
{
  "id": "chatcmpl-demo",
  "choices": [{"message": {"role": "assistant", "content": "Hello from 2KEN."}}],
  "usage": {"prompt_tokens": 8, "completion_tokens": 6}
}

Why choose 2KEN

Compatible APIs

Reuse your existing SDK by switching the base URL. Migration stays small.

One key for every model

Text, image, video, and other modalities share the same key and bill.

Transparent usage pricing

USD unit prices sit next to official references so you can estimate cost.