Skip to main content

Claude Sonnet 4.6 chat from Anthropic through an OpenAI-compatible endpoint. It takes up to 1,000,000 tokens of text and image context and returns up to 64,000, with temperature and top_p control, up to 128 tool definitions and SSE streaming.

Input $3Output $15per 1 million tokensCached input $0.30Cache write $3.75

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • Input types
    Text
    Output types
    Text
    Input
    $3 / 1 million tokens
    Cached input
    $0.30 / 1 million tokens
    Output
    $15 / 1 million tokens
    Context
    1M
    Max output
    64K

    $3/15per 1 million tokens · input / output

    long-session-turn

    The everyday turn: the whole history sent back untouched. This example exists to show where the model sits - most turns do not need peak capability.

    • 1200
    • 1
  • Input types
    Text
    Output types
    Text
    Input
    $3 / 1 million tokens
    Cached input
    $0.30 / 1 million tokens
    Output
    $15 / 1 million tokens
    Context
    1M
    Max output
    64K

    $3/15per 1 million tokens · input / output

    multi-character-scene

    Three characters in one room. The voices are pinned in the system message, and the user turn carries only the situation.

    • 2000
    • 1
  • Input types
    Text
    Output types
    Text
    Input
    $3 / 1 million tokens
    Cached input
    $0.30 / 1 million tokens
    Output
    $15 / 1 million tokens
    Context
    1M
    Max output
    64K

    $3/15per 1 million tokens · input / output

    tool-driven-session

    One narrated turn with tools. Tool results stay in the conversation and count against the window, so a long chain eventually needs pruning.

    • 1500

This example starts at Input $3 / Output $15 per 1 million tokens. The Playground updates the estimate when you change the settings.