Loading template…

DeepSeek vs Claude: coding API price on ModelFold

On ModelFold public rates, the lowest input price in this table is Claude Haiku 5.5 at 0.072 in / 0.36 out (per 1M tokens), snapshot 2026-11-23; this is a per-million-token price comparison, not a coding-quality ranking.

A lower input rate can still cost more if the model writes more output tokens. Cached and batch rates are not in this table. The official column has a figure only for models checked on the date above; DeepSeek was not in that check, so its official cell has no number.

Official sources checked:

Price snapshot updated:

Related guides

Current public prices

Pay as you go with prepaid credits. 200 credits = US$1. Credit charges round up to two decimal places; this is not USD rounding. Failed generations are not charged; a temporary hold may be released after failure. Review the final quote before submitting. Token rates are per one million tokens, input / output; video prices are starting prices for the listed configuration.

ModelModelFold USDOfficial USDUnit / configuration
Claude Haiku 5.50.072 in / 0.36 out$0.1 / $0.5 (≤100,000 input tokens)per 1M tokens
DeepSeek-V4.1-Flash0.144 in / 0.57 outNot independently verifiedper 1M tokens
Claude Sonnet 5.50.96 in / 4.80 out$2 / $10per 1M tokens
DeepSeek V4 Pro1.14631 in / 2.29262 outNot independently verifiedper 1M tokens
Claude Opus 5.51.92 in / 9.60 out$4 / $20per 1M tokens

API examples

curl https://modelfold.ai/v1/models -H "Authorization: Bearer $MODELFOLD_API_KEY"
curl https://modelfold.ai/v1/chat/completions \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-haiku-5-5","messages":[{"role":"user","content":"Hello"}]}'
import os
from openai import OpenAI

client = OpenAI(api_key=os.environ["MODELFOLD_API_KEY"], base_url="https://modelfold.ai/v1")
response = client.chat.completions.create(
    model="claude-haiku-5-5",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Examples are illustrative and were not sent to a paid model. Install the OpenAI Python SDK separately. Video and image requests follow each model page for required parameters; video jobs are asynchronous.

/api/gateway

Frequently asked questions

Direct answer

On ModelFold public rates, the lowest input price in this table is Claude Haiku 5.5 at 0.072 in / 0.36 out (per 1M tokens), snapshot 2026-11-23; this is a per-million-token price comparison, not a coding-quality ranking.

Does a lower input price mean better for coding?

No. This page only compares ModelFold’s public price per million tokens. It does not publish a coding score.

Why does DeepSeek have no official number?

The official column is filled only for models checked on the date above. DeepSeek was not in that check, so no figure is written.

Which ID do I send for a grouped or renamed page?

Send the API model ID from GET /v1/models. The page slug can differ.

Is ModelFold always the cheapest?

No. Compare the same model, context, cache mode and input/output mix. Final quotes and actual usage determine the charge.

Are failed generations charged?

Failed generations are not charged. A temporary reservation is not a final charge; check account logs for settlement.

Where do I find the correct model ID?

Use GET /v1/models and the linked model documentation. A website page slug is not always the API model ID.

Comparison sources