deepseek/deepseek-v4-pro
DeepSeek's flagship V4 reasoning model. Strong coding and math with an explicit thinking mode, a native 1M-token context window at no surcharge, and aggressive prompt-cache pricing. Best price/performance for heavy reasoning workloads.
åºå ž: deepseek_original_price · ç¢ºèªæ¥ 2026-06-01
ãã£ãã·ã¥èªã¿åã $0.003625/M · ãã£ãã·ã¥æžã蟌㿠â/M
ã©ã¡ãã® ID ã䜿ã£ãŠã API ã§ãã®ã¢ãã«ãåŒã³åºããŸãã
deepseek/deepseek-v4-proONEHOP_KEY ãã¬ãŒã¹ãã«ããŒããèªèº«ã® API Key ã«çœ®ãæããŠãã ããã äœæãã â
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v4-pro",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)éå» 30 æ¥éã§ 10,112 ä»¶ã®ãªã¯ãšã¹ã