NEAR AICloud
Sign inStart building
Claude Sonnet 4.5 icon
Claude Sonnet 4.5
anthropic/claude-sonnet-4-5
200K context|$3/M input tokens|$15/M output tokens|$0.3/M cache read

Anthropic's Claude Sonnet 4.5 - a powerful, efficient model balancing intelligence and speed. Excels at complex reasoning, coding, and creative tasks with 200K context window. Anonymized, not TEE-protected.

Input / M tokens
$3
Output / M tokens
$15
Cache read
$0.3
Context
200K

Sample code and API for Claude Sonnet 4.5

Use the native Messages API (/v1/messages) for Claude models.

const response = await fetch("https://cloud-api.near.ai/v1/messages", { method: "POST", headers: { "x-api-key": "<YOUR-NEAR-AI-CLOUD-API-KEY>", "anthropic-version": "2023-06-01", "Content-Type": "application/json", }, body: JSON.stringify({ model: "anthropic/claude-sonnet-4-5", max_tokens: 1024, messages: [{ role: "user", content: "What is the meaning of life?" }], }), }) console.log(await response.json())

You can also use NEAR AI Cloud with Anthropic's client API:

import Anthropic from "@anthropic-ai/sdk" const client = new Anthropic({ baseURL: "https://cloud-api.near.ai", apiKey: "<YOUR-NEAR-AI-CLOUD-API-KEY>", }) const message = await client.messages.create({ model: "anthropic/claude-sonnet-4-5", max_tokens: 1024, messages: [{ role: "user", content: "What is the meaning of life?" }], }) console.log(message.content)

Privacy & Execution

This is an Incognito model: it runs on a partner provider rather than inside a NEAR AI GPU TEE. Requests are routed through a shared NEAR AI API key, so your identity is not disclosed to the provider.

Your prompt content, however, is transmitted to and processed by Anthropic in accordance with their terms of service and privacy policy. Data is encrypted in transit, but execution happens outside of trusted hardware — there is no hardware-level privacy, attestation, or cryptographic proof of execution for this model.