> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hostlinku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Sonnet 5

> Claude Sonnet 5 is designed to be the most agent-capable Sonnet model to date. It can plan, use tools such as browsers and terminals, and operate autonomousl...

## Ringkasan

Claude Sonnet 5 is designed to be the most agent-capable Sonnet model to date. It can plan, use tools such as browsers and terminals, and operate autonomously at a level that until recently only larger, more expensive models could achieve.

| Properti | Nilai |
| - | - |
| Provider | Anthropic |
| Slug | `claude-sonnet-5` |
| Konteks | 1,000,000 token |
| Output maks | 64,000 token |
| Input | text, image |
| Output | text |
| Rilis | 2026-06-30 |
| Tag | production |

## Kapabilitas

* `text`
* `vision`
* `image-input`
* `file-input`
* `pdf-input`
* `tool-calling`
* `function-calling`
* `structured-outputs`
* `json-mode`
* `streaming`
* `reasoning`
* `extended-thinking`
* `code-execution`
* `web-search`
* `code-generation`
* `long-context`
* `multilingual`
* `multimodal`

## Harga

| Item | Harga |
| - | - |
| Input (prompt) | \$2 |
| Output (completion) | \$10 |
| Cache read | \$0.2 |
| Cache write | \$2.5 |

Harga adalah harga customer per **1M token** untuk API key Hostlinku, dengan 1 kredit = \$1. Harga aktual per request tetap mengikuti Service Mode API key dan dapat berubah; cek [Console](https://console.hostlinku.com/models) atau `GET /v1/models` untuk nilai yang berlaku.

## Endpoint yang didukung

| Endpoint | Format | Dukungan |
| - | - | - |
| `POST /v1/chat/completions` | OpenAI Chat Completions | tersedia |
| `POST /v1/messages` | Anthropic Messages | native |
| `POST /v1/responses` | OpenAI Responses | adapted (bridge) |

Ketersediaan endpoint dan model mengikuti katalog serta Service Mode API key yang dipakai. Jika model tidak tersedia untuk mode tersebut, request dapat ditolak dengan `400 MODEL_NOT_IN_SERVICE_MODE`.

## Contoh request

```bash theme={null}
curl https://api.hostlinku.com/v1/chat/completions \
  -H "Authorization: Bearer sk-isi-api-key-kamu" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
```

## Model terkait

* [Claude Fable 5](https://docs.hostlinku.com/models/claude-fable-5.md)
* [Claude Fable 5.1](https://docs.hostlinku.com/models/claude-fable-5-1.md)
* [Claude Haiku 4.5](https://docs.hostlinku.com/models/claude-haiku-4-5.md)
* [Claude Opus 4.6](https://docs.hostlinku.com/models/claude-opus-4-6.md)
* [Claude Opus 4.7](https://docs.hostlinku.com/models/claude-opus-4-7.md)
* [Claude Opus 4.8](https://docs.hostlinku.com/models/claude-opus-4-8.md)

[← Kembali ke katalog model](https://docs.hostlinku.com/models.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.