POST
/
v1
/
accounts
/
{account_id}
/
models
/
{model_id}
:prepare
Prepare Model for different precisions
curl --request POST \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/models/{model_id}:prepare \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "precision": "PRECISION_UNSPECIFIED",
  "readMask": "<string>"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

The Account Id

model_id
string
required

The Model Id

Body

application/json
precision
enum<string>
default:PRECISION_UNSPECIFIED
Available options:
PRECISION_UNSPECIFIED,
FP16,
FP8,
FP8_MM,
FP8_AR,
FP8_MM_KV_ATTN,
FP8_KV,
FP8_MM_V2,
FP8_V2,
FP8_MM_KV_ATTN_V2,
NF4,
FP4,
BF16,
FP4_BLOCKSCALED_MM,
FP4_MX_MOE
readMask
string

Response

200 - application/json

A successful response.

The response is of type object.