本文へスキップ
DeepSeek確認中

deepseek-v4-flash

deepseek/deepseek-v4-flash

chat completionsContext: 1.05MツールJSON
料金を読み込み中…
Official price$0.442 / $1.324 / 100 万トークン

Request

POST https://api.hermes-ai.net/api/v1/chat/completions · API key with the chat:create scope, or your signed-in session.

フィールド型備考
modelstringdeepseek/deepseek-v4-flash
messagesarrayOpenAI chat messages: system, user, assistant and tool roles; text and image_url parts.
streambooleanServer-sent events with a final usage chunk.
max_tokensintegerOutput cap; also sizes the credit reservation.
tools / tool_choicearray / objectFunction tools only.
response_formatobjectJSON mode and JSON schema where the model supports it.
temperature, top_p, stop, seed, reasoning_effortPassed through unchanged.

レスポンス

フィールド備考
choices[].message / deltaThe OpenAI chat completion shape.
usageprompt_tokens, completion_tokens and prompt_tokens_details.cached_tokens as reported by the model.
hermes.charged_microsExact charge in USD micro-units (JSON responses). Streams expose it on GET /api/v1/chat/requests.
x-hermes-requestRequest id header, also used in the billing ledger.
error.codeDocumented Hermes error code; branch on it, not on the message.