Update OpenAI-compatible custom model
Updates an OpenAI-compatible custom model. Live-re-probes the target API when base_url or model_id changes, using the stored encrypted api_key. Metadata is merged (existing preserved, new overrides).
Path parameters
The ID of the model
The ID of the model
Request body
Response
OpenAI-like model updated successfully
Changes
Changed in 31 of the 253 revisions of this API.107785
- ○
added the optional property
metadata/pricing/audio_inputto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/pricing/audio_outputto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/pricing/variants/items/audio_inputto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/pricing/variants/items/audio_outputto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/supports_google_realtime_apito the response with the200statusresponse-optional-property-added
This revision also has 16 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
metadata/supported_embedding_dimensionsto the response with the200statusresponse-optional-property-added
This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
metadata/autorouter/modelsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_creatorfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_evaluationsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_output_tokens_per_secondfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_time_to_first_answer_tokenfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_time_to_first_token_secondsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_model_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_pricingfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_release_datefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/max_temperaturefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/supports_service_tierfrom the response with the200statusresponse-optional-property-removed
This revision also has 97 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
metadata/max_temperatureto the response with the200statusresponse-optional-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
metadata/supports_service_tierto the response with the200statusresponse-optional-property-added
- ○
- ▲
the
createdresponse's property type/format changed fromstring/date-timetostring/for status200response-property-type-changed
- ▲
the
updatedresponse's property type/format changed fromstring/date-timetostring/for status200response-property-type-changed
- ○
added the optional property
metadata/autorouter/modelsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_creatorto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_evaluationsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_output_tokens_per_secondto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_time_to_first_answer_tokento the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_time_to_first_token_secondsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_model_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_nameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_pricingto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_release_dateto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
metadata/autorouter/modelsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_creatorfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_evaluationsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_output_tokens_per_secondfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_time_to_first_answer_tokenfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_time_to_first_token_secondsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_model_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_pricingfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_release_datefrom the response with the200statusresponse-optional-property-removed
This revision also has 95 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the
createdresponse's property type/format changed fromstring/date-timetostring/for status200response-property-type-changed
- ▲
the
updatedresponse's property type/format changed fromstring/date-timetostring/for status200response-property-type-changed
- ○
added the optional property
metadata/autorouter/modelsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_creatorto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_evaluationsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_output_tokens_per_secondto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_time_to_first_answer_tokento the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_time_to_first_token_secondsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_model_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_nameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_pricingto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_release_dateto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
metadata/autorouter/modelsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_creatorfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_evaluationsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_output_tokens_per_secondfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_time_to_first_answer_tokenfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_median_time_to_first_token_secondsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_model_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_pricingfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
metadata/autorouter/v2/aa_release_datefrom the response with the200statusresponse-optional-property-removed
This revision also has 158 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the
createdresponse's property type/format changed fromstring/date-timetostring/for status200response-property-type-changed
- ▲
the
updatedresponse's property type/format changed fromstring/date-timetostring/for status200response-property-type-changed
- ○
added the optional property
metadata/autorouter/modelsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_creatorto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_evaluationsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_output_tokens_per_secondto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_time_to_first_answer_tokento the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_median_time_to_first_token_secondsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_model_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_nameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_pricingto the response with the200statusresponse-optional-property-added
- ○
added the optional property
metadata/autorouter/v2/aa_release_dateto the response with the200statusresponse-optional-property-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 253 revisions, 71 have no diff computed.