Claude Opus 4.7

Anthropic · Text · Context 1M · max output 128K tokens

claude-opus-4.7 Try

Pricing

Per 1 million tokens
MarkasAIVendor list price
InputRp 76.431Rp 89.450
OutputRp 382.152Rp 447.250
CacheRp 7.644
Cache writeRp 95.539

MarkasAI sale prices in Rupiah, read from the same catalog as GET /v1/models. Prices can change and apply to later requests.

Specifications

Model ID
claude-opus-4.7
Provider
Anthropic
Type
Text
Endpoint
POST /v1/chat/completions
Context window
1,000,000 tokens
Output limit per request
128,000 tokens

About this model

Opus 4.7 is the next generation of Anthropic's Opus family, built for long-running, asynchronous agents. Building on the coding and agentic strengths of Opus 4.6, it delivers stronger performance on...

Quoted from the provider's public catalog, in English.

Call example

curl https://api.markas.ai.id/v1/chat/completions \
  -H "Authorization: Bearer $MARKASAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4.7",
    "messages": [{"role": "user", "content": "What is an API?"}],
    "max_tokens": 300
  }'
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.markas.ai.id/v1", api_key=os.environ["MARKASAI_API_KEY"])

resp = client.chat.completions.create(
    model="claude-opus-4.7",
    messages=[{"role": "user", "content": "What is an API?"}],
    max_tokens=300,
)
print(resp.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.markas.ai.id/v1", apiKey: process.env.MARKASAI_API_KEY });

const resp = await client.chat.completions.create({
  model: "claude-opus-4.7",
  messages: [{ role: "user", content: "What is an API?" }],
  max_tokens: 300,
});
console.log(resp.choices[0].message.content);

Keep your API key in the MARKASAI_API_KEY environment variable. Read the endpoint docs

All models