For AI agents: The documentation index is at https://docs.digitalocean.com/llms.txt. Markdown versions of pages use the same URL with index.html.md in place of the HTML page (for example, append index.html.md to the directory path instead of opening the HTML document).
Usage
client.v2.dedicatedInferences.gpuModelConfig.get(requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Dedicated_inference_gpu_model_configs_response>
Description
Get supported GPU and model configurations for Dedicated Inference. Use this to
discover supported GPU slugs and model slugs (e.g. Hugging Face). Send a GET
request to /v2/dedicated-inferences/gpu-model-config.
Request Sample
Show Request Sample
import { FetchRequestAdapter } from "@microsoft/kiota-http-fetchlibrary";
import {
createDigitalOceanClient,
DigitalOceanApiKeyAuthenticationProvider,
} from "@digitalocean/dots";
const authProvider = new DigitalOceanApiKeyAuthenticationProvider(process.env.DIGITALOCEAN_TOKEN!);
const adapter = new FetchRequestAdapter(authProvider);
const client = createDigitalOceanClient(adapter);
const response = await client.v2.dedicatedInferences.gpuModelConfig.get();
Response Example
Show Response Example
{
"gpu_model_configs": [
{
"gpu_slugs": [
"gpu-mi300x1-192gb"
],
"model_slug": "mistral/mistral-7b-instruct-v3",
"model_name": "Mistral-7B-Instruct-v0.3",
"is_gated_model": true
}
]
}
See /v2/dedicated-inferences/gpu-model-config in the API reference for additional detail on responses, headers, parameters, and more.