Memuat templat…

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-20; 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.

Sumber resmi diperiksa:

Data harga diperbarui:

Panduan terkait

Harga publik saat ini

Bayar sesuai pemakaian dengan kredit prabayar. 200 kredit = US$1. Biaya kredit dibulatkan ke atas hingga dua desimal; ini bukan pembulatan USD. Pembuatan yang gagal tidak dikenai biaya; dana yang ditahan sementara bisa dilepas setelah gagal. Tinjau harga akhir sebelum mengirim. Tarif token per satu juta token, input / output; harga video adalah harga awal untuk konfigurasi yang tercantum.

ModelModelFold USDResmi (USD)Satuan / konfigurasi
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 outTidak diverifikasi secara independenper 1M tokens
Claude Sonnet 5.50.96 in / 4.80 out$2 / $10per 1M tokens
DeepSeek V4 Pro1.14631 in / 2.29262 outTidak diverifikasi secara independenper 1M tokens
Claude Opus 5.51.92 in / 9.60 out$4 / $20per 1M tokens

Contoh API

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)

Contoh hanya ilustrasi dan tidak dikirim ke model berbayar. Pasang OpenAI Python SDK secara terpisah. Untuk permintaan video dan gambar, ikuti parameter wajib di halaman tiap model; tugas video berjalan asinkron.

/api/gateway

Pertanyaan yang sering ditanyakan

Jawaban langsung

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-20; 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.

Apakah ModelFold selalu yang termurah?

Tidak. Bandingkan model, konteks, mode cache, dan perbandingan input/output yang sama. Biaya ditentukan oleh harga akhir dan pemakaian sebenarnya.

Apakah pembuatan yang gagal dikenai biaya?

Pembuatan yang gagal tidak dikenai biaya. Dana yang ditahan sementara bukan biaya akhir; cek log akun untuk penyelesaiannya.

Di mana saya menemukan ID model yang benar?

Gunakan GET /v1/models dan dokumentasi model terkait. Slug halaman situs tidak selalu sama dengan ID model API.

Sumber perbandingan