DeepSeek: R1
deepseek/deepseek-r1- Modalities
- text->text
- In / out price
- $0.7 / $2.5
- Context
- 64K
- Released
- Jan 20, 2025
- Knowledge cutoff
- 2024-07-31
per 1M
DeepSeek R1 is here: Performance on par with OpenAI o1, but open-sourced and with fully open reasoning tokens. It's 671B parameters in size, with 37B active in an inference pass....
Supported parameters
frequency_penaltyFrequency penalty
Lowers the chance of a token in proportion to how often it already appeared.
include_reasoningInclude reasoning
Include a reasoning summary in the response.
max_tokensMax tokens
Upper bound on generated tokens. Output stops at the limit.
presence_penaltyPresence penalty
Lowers the chance of any token that has already appeared.
reasoningReasoning
Enable or configure reasoning. The fields differ by model.
repetition_penaltyRepetition penalty
Penalizes text that already appeared. Common on open models.
response_formatResponse format
For example json_object or json_schema, to constrain the shape.
seedSeed
A fixed seed helps reproduce sampling. It does not guarantee byte-identical output.
stopStop
Stop when these strings are produced. A string or an array of strings.
temperatureTemperature
Sampling temperature. Lower is steadier, higher is more varied. Often 0 to 2.
tool_choiceTool choice
Whether to call a tool: auto, none, or a named function.
toolsTools
Function definitions the model may call via tool_calls.
top_kTop-K
Sample only from the K most likely tokens.
top_pTop-p
Sample only from tokens whose cumulative probability reaches top_p.