Manage models
Update a model
Integrations
API Reference
- GETGet status
- POSTGet impact metrics for a task
- POSTCalculate AI model impact metrics for BigQuery
- Manage models
- Manage GPUs
- Manage nodes
- Manage datacenters
Manage models
Update a model
PUT
/
model
/
{modelId}
curl --request PUT \
--url https://aiapi.scope3.com/model/{modelId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "GPT-4 Turbo",
"family": "gpt",
"hugging_face_path": "EleutherAI/gpt-neo-2.7B",
"benchmark_model_id": "gpt-4-turbo",
"estimated_use_life_days": 365,
"estimated_requests_per_day": 1000,
"fine_tuned_from_model_id": "gpt-4-turbo",
"total_params_billions": 175,
"number_of_experts": 7,
"number_of_active_experts": 2,
"params_per_expert_billions": 8,
"training_usage_energy_kwh": 1013.1,
"training_usage_emissions_kgco2e": 1013.1,
"training_usage_water_l": 1013.1,
"training_embodied_emissions_kgco2e": 11013.1,
"training_embodied_water_l": 11013.1
}'
{
"id": "gpt-4-turbo",
"aliases": [
"claude-latest",
"claude-3-sonnet-current"
],
"name": "GPT-4 Turbo",
"family": "gpt",
"hugging_face_path": "EleutherAI/gpt-neo-2.7B",
"benchmark_model_id": "GPTJ-6B",
"total_params_billions": 175,
"number_of_experts": 7,
"number_of_active_experts": 2,
"params_per_expert_billions": 8,
"tensor_parallelism": 1,
"datatype": "fp8",
"task": "text-generation",
"training_usage_energy_kwh": 1013.1,
"training_usage_emissions_kgco2e": 1013.1,
"training_usage_water_l": 1013.1,
"training_embodied_emissions_kgco2e": 11013.1,
"training_embodied_water_l": 11013.1,
"estimated_use_life_days": 1013.1,
"estimated_requests_per_day": 1013.1,
"fine_tuned_from_model_id": "llama_31_8b",
"customer_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_by": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/json
Update an existing model
Response
200
application/json
Model updated successfully
The response is of type object
.
curl --request PUT \
--url https://aiapi.scope3.com/model/{modelId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "GPT-4 Turbo",
"family": "gpt",
"hugging_face_path": "EleutherAI/gpt-neo-2.7B",
"benchmark_model_id": "gpt-4-turbo",
"estimated_use_life_days": 365,
"estimated_requests_per_day": 1000,
"fine_tuned_from_model_id": "gpt-4-turbo",
"total_params_billions": 175,
"number_of_experts": 7,
"number_of_active_experts": 2,
"params_per_expert_billions": 8,
"training_usage_energy_kwh": 1013.1,
"training_usage_emissions_kgco2e": 1013.1,
"training_usage_water_l": 1013.1,
"training_embodied_emissions_kgco2e": 11013.1,
"training_embodied_water_l": 11013.1
}'
{
"id": "gpt-4-turbo",
"aliases": [
"claude-latest",
"claude-3-sonnet-current"
],
"name": "GPT-4 Turbo",
"family": "gpt",
"hugging_face_path": "EleutherAI/gpt-neo-2.7B",
"benchmark_model_id": "GPTJ-6B",
"total_params_billions": 175,
"number_of_experts": 7,
"number_of_active_experts": 2,
"params_per_expert_billions": 8,
"tensor_parallelism": 1,
"datatype": "fp8",
"task": "text-generation",
"training_usage_energy_kwh": 1013.1,
"training_usage_emissions_kgco2e": 1013.1,
"training_usage_water_l": 1013.1,
"training_embodied_emissions_kgco2e": 11013.1,
"training_embodied_water_l": 11013.1,
"estimated_use_life_days": 1013.1,
"estimated_requests_per_day": 1013.1,
"fine_tuned_from_model_id": "llama_31_8b",
"customer_id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_by": "<string>"
}