2KEN2KEN

claude-opus-4-7

Save 71%
InputSave 71%
$1.46 / 1M tokensOfficial $5 / 1M tokens
OutputSave 71%
$7.3 / 1M tokensOfficial $25 / 1M tokens
Cache readSave 71%
$0.146 / 1M tokensOfficial $0.5 / 1M tokens
Cache createSave 71%
$1.82 / 1M tokensOfficial $6.25 / 1M tokens
1h cache createSave 71%
$2.92 / 1M tokensOfficial $10 / 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 claude-opus-4-7.

  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 claude-opus-4-7.

  3. 3

    Send Messages

    Call /v1/messages with anthropic-version and read content blocks.

Developer docs

API

Anthropic-compatible sync API. One request returns content blocks and usage.

Anthropic · Messages API

claude-opus-4-7 Messages

Call claude-opus-4-7 through the Anthropic-compatible Messages API at /v1/messages.

01

Endpoint

POST
Messages/v1/messages
Try
02

Flow

  1. 1
    Bearer auth

    Send Authorization and anthropic-version.

  2. 2
    Submit messages

    Read content blocks instead of choices.

03

Notes

  • Modelclaude-opus-4-7
  • ProtocolAnthropic Messages sync API.
01 Send request POST · messages
curl --request POST \
  --url https://api.2ken.com/v1/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'anthropic-version: 2023-06-01' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "claude-opus-4-7",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'
200Message Response
{
  "id": "msg-demo",
  "type": "message",
  "role": "assistant",
  "content": [{"type": "text", "text": "Hello from 2KEN."}],
  "usage": {"input_tokens": 8, "output_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.