Compare Claude Sonnet 4.6 (Anthropic) and GPT-5.4 (OpenAI) on price and context — both behind one OpenAI-compatible API on Zylo, billed at base per-token rates.
Last updated June 5, 2026
Per 1M tokens, base rates from your credit balance — no usage markup. Prices load live from our catalogue.
| Model | Provider | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|
| Claude Sonnet 4.6 | Anthropic | 1M | $3.00 | $15.00 |
| GPT-5.4 | OpenAI | 1M | $2.50 | $15.00 |
Best for general-purpose chat, reasoning and tool use. Context up to 1M tokens. Claude Sonnet 4.6 details →
Best for general-purpose chat, reasoning and tool use. Context up to 1M tokens. GPT-5.4 details →
Because Zylo is OpenAI-compatible, comparing them is a one-string change.
for model in ["claude-sonnet-4.6", "gpt-5.4"]:
r = client.chat.completions.create(
model=model,
messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(model, "->", r.choices[0].message.content)On Zylo, Claude Sonnet 4.6 is $3.00/1M input and $15.00/1M output; GPT-5.4 is $2.50/1M input and $15.00/1M output. Both are base rates with no usage markup.
Yes. Both are on Zylo's OpenAI-compatible API, so you switch by changing the model id between claude-sonnet-4.6 and gpt-5.4.
Free API key, OpenAI-compatible, local payments.
Get free API key