opencheap.si
Credits

dolly2-security vs Claude Sonnet 5

Price, context, speed and uptime side by side

dolly2-security is 21 % cheaper than Claude Sonnet 5 on a typical 1 : 3 input-to-output mix: $5.51 against $6.97 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.029 on dolly2-security and $0.03 on Claude Sonnet 5. Both read up to 1M tokens in one request. On OpenCheap, dolly2-security is served by 1 provider and Claude Sonnet 5 by 10 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-11-23 23:56 UTC.

Side by side

dolly2-security vs Claude Sonnet 5: price, context, speed and uptime
Modeldolly2-securityOther labsClaude Sonnet 5Anthropic
Inputper 1M tokens$2.21$2.14 (best)
Outputper 1M tokens$6.62 (best)$8.58
Cached inputper 1M tokens$0.47$0.21 (best)
On a 1 : 3 mixper 1M tokens, input to output$5.51 (best)$6.97
One request10,000 tokens in, 1,000 out$0.029 (best)$0.03
1,000 requestsof that size$28.66 (best)$30.02
List priceper 1M tokens, input / output—$2.00 / $10.00
Context windowtokens in one request1M1M
Providersserving it on OpenCheap110 (best)
First tokenfastest provider, median—0.63 s
Output speedfastest provider, median—464 tok/s
Uptimebest provider, last day—100 %
Model idopencheap/dolly2-securityModel page →opencheap/claude-sonnet-5Model page →

Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.

Switch between them

Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call Claude Sonnet 5 instead of dolly2-security, change the model to opencheap/claude-sonnet-5; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in usage.cost.

import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/dolly2-security",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)

About the two models

Questions

Which is cheaper, dolly2-security or Claude Sonnet 5?
dolly2-security is 21 % cheaper than Claude Sonnet 5 on a typical 1 : 3 input-to-output mix: $5.51 against $6.97 per 1M tokens. Per 1M tokens, dolly2-security costs $2.21 input and $6.62 output; Claude Sonnet 5 costs $2.14 input and $8.58 output.
Which has the larger context window, dolly2-security or Claude Sonnet 5?
Both read up to 1M tokens in one request.
Can I use dolly2-security and Claude Sonnet 5 with the same API key?
Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/dolly2-security or opencheap/claude-sonnet-5, and each request goes to the cheapest healthy provider of that model.

More comparisons

Compare other models →