Fireworks GLM-5p2 API parameters
These are the API parameters modelparams.dev tracks for Fireworks GLM-5p2 on Chat Completions with an API key — the settings you send in a request. Each row gives the type, default, valid range or values, and the conditions that gate it. It's the same data the JSON API serves.
This model is retired.
After the parameter count instead — how many weights GLM-5p2 has? That's a different number, and we don't track it. Here's the difference.
Length
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Max tokens
max_tokens
|
integer (1…+∞) | — | Maximum number of tokens to generate in the response. | — |
Sampling
5 params
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Temperature
temperature
|
number (0…2 step 0.1) | — | Controls randomness. Lower values make outputs more focused; higher values make them more varied. | — |
|
Top P
top_p
|
number (0…1 step 0.01) | — | Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. | — |
|
Top K
top_k
|
integer (1…100) | — | Limits token sampling to the top K most likely next tokens. | — |
|
Presence penalty
presence_penalty
|
number (-2…2 step 0.1) | — | Penalizes tokens that have already appeared to encourage a wider variety of content. | — |
|
Frequency penalty
frequency_penalty
|
number (-2…2 step 0.1) | — | Penalizes tokens in proportion to how often they have already appeared. | — |
Output
1 param
| Parameter | Type | Default | Description | Condition |
|---|---|---|---|---|
|
Response format
response_format.type
|
enum (text | json_object) | — | Choose plain text or force valid JSON output. | — |
Fireworks GLM-5p2 API parameters in brief
Fireworks GLM-5p2 on Chat Completions documents 7 API parameters, grouped by what they control:
-
Length:
max_tokensminimum 1. -
Sampling:
temperaturerange 0–2;top_prange 0–1;top_krange 1–100;presence_penaltyrange -2–2;frequency_penaltyrange -2–2. -
Output:
response_format.typeaccepts "text", "json_object".
Frequently asked questions
- Which API parameters does Fireworks GLM-5p2 support?
- Fireworks GLM-5p2 accepts 7 API parameters in the request body: max_tokens, temperature, top_p, top_k, presence_penalty, frequency_penalty, and more.
Resources
Other Fireworks models
DeepSeek v4 Flash 0731
7 params
View
DeepSeek v4 Flash Vision Exp
7 params
View
DeepSeek v4 Pro
7 params
View
DeepSeek v4 Pro 0813
7 params
View
DeepSeek V4p1 Flash
7 params
View
DeepSeek V4p1 Flash 1017
7 params
View
Ember 1
7 params
View
GLM-5p3
7 params
View
GLM-5p3 Flash
7 params
View
GPT-OSS 120B
7 params
View
GPT-OSS 20B
7 params
View
Inkling
7 params
View
Kimi K2p6
7 params
View
Kimi K2p7 Code
7 params
View
Kimi K3
7 params
View
MiniMax M2p7
7 params
View
MiniMax M3
7 params
View
Muse Glimmer 30B
7 params
View
Muse Spark Open
7 params
View
Nemotron 3 Ultra Nvfp4
7 params
View
Nemotron Lightning 3p5 30B A3B
7 params
View
Qwen3p7 Plus
7 params
View
Qwen3p8 2p4t A95B
7 params
View
Qwen3p8 Max
7 params
View