TokenSail Get Started

Claude Sonnet 4 API

ANTHROPIC · Chat, Vision · 200K context

from $2.25 / 1M input tokens -25% vs OpenRouter

Claude Sonnet 4 by Anthropic offers 200K context with exceptional reasoning and coding abilities. TokenSail provides Claude Sonnet 4 API at $2.25/1M input tokens — 25% below the official $3.00. Access top-tier Anthropic AI through TokenSail's unified OpenAI-compatible gateway.

Pricing Comparison

Provider Input / 1M tokens Output / 1M tokens Savings
TokenSail $2.25 $11.25
OpenRouter $3.00 $15.00 -25%
Official $3.00 $15.00 -25%

Quick Start

from openai import OpenAI

client = OpenAI(
    base_url="https://api.tokensail.ai/v1",
    api_key="YOUR_TOKENSAIL_API_KEY"
)

response = client.chat.completions.create(
    model="claude-sonnet-4",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

Specifications

Start using Claude Sonnet 4 at $2.25/1M tokens

Get Started Free