---
title: Custom Providers
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[AI Gateway](https://developers.cloudflare.com/api/go/resources/ai_gateway)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Custom Providers

##### [List custom providers](https://developers.cloudflare.com/api/go/resources/ai_gateway/subresources/custom_providers/methods/list)

client.AIGateway.CustomProviders.List(ctx, params) (\*V4PagePaginationArray\[[CustomProviderListResponse](<https://developers.cloudflare.com/api/go/resources/ai_gateway#(resource)%20ai_gateway.custom_providers%20%3E%20(model)%20CustomProviderListResponse%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/ai-gateway/custom-providers

##### [Get a custom provider](https://developers.cloudflare.com/api/go/resources/ai_gateway/subresources/custom_providers/methods/get)

client.AIGateway.CustomProviders.Get(ctx, id, query) (\*[CustomProviderGetResponse](<https://developers.cloudflare.com/api/go/resources/ai_gateway#(resource)%20ai_gateway.custom_providers%20%3E%20(model)%20CustomProviderGetResponse%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/ai-gateway/custom-providers/{id}

##### [Create a custom provider](https://developers.cloudflare.com/api/go/resources/ai_gateway/subresources/custom_providers/methods/create)

client.AIGateway.CustomProviders.New(ctx, params) (\*[CustomProviderNewResponse](<https://developers.cloudflare.com/api/go/resources/ai_gateway#(resource)%20ai_gateway.custom_providers%20%3E%20(model)%20CustomProviderNewResponse%20%3E%20(schema)>), error)

POST/accounts/{account\_id}/ai-gateway/custom-providers

##### [Delete a custom provider](https://developers.cloudflare.com/api/go/resources/ai_gateway/subresources/custom_providers/methods/delete)

client.AIGateway.CustomProviders.Delete(ctx, id, body) (\*[CustomProviderDeleteResponse](<https://developers.cloudflare.com/api/go/resources/ai_gateway#(resource)%20ai_gateway.custom_providers%20%3E%20(model)%20CustomProviderDeleteResponse%20%3E%20(schema)>), error)

DELETE/accounts/{account\_id}/ai-gateway/custom-providers/{id}