1. Registry
  2. Packages
  3. Mongodbatlas Provider
  4. API Docs
  5. AiModelRateLimit
Viewing docs for MongoDB Atlas v4.15.0
published on Friday, Aug 28, 2026 by Pulumi
mongodbatlas logo mongodbatlas logo
Viewing docs for MongoDB Atlas v4.15.0
published on Friday, Aug 28, 2026 by Pulumi

    mongodbatlas.AiModelRateLimit provides an AI Model Rate Limit resource. The resource lets you configure AI Model Rate Limits for the specified Project. Each model group has one rate limit configuration that controls the number of requests and tokens per minute allowed for AI embedding and reranking services.

    NOTE: Project-level rate limits cannot exceed the organization-level limits. Organization-level limits are determined by your organization’s tier and represent the maximum allowed values for any project within that organization.

    Example Usage

    S

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const thisAiModelRateLimit = new mongodbatlas.AiModelRateLimit("this", {
        projectId: projectId,
        cloud: "ANY",
        geography: "ANY",
        modelGroupName: "embed_large",
        requestsPerMinuteLimit: 100,
        tokensPerMinuteLimit: 10000,
    });
    const _this = mongodbatlas.getAiModelRateLimitOutput({
        projectId: projectId,
        cloud: "ANY",
        geography: "ANY",
        modelGroupName: thisAiModelRateLimit.modelGroupName,
    });
    const thisGetAiModelRateLimits = mongodbatlas.getAiModelRateLimits({
        projectId: projectId,
    });
    export const aiModelRateLimitRequestsPerMinute = thisAiModelRateLimit.requestsPerMinuteLimit;
    export const aiModelRateLimitTokensPerMinute = thisAiModelRateLimit.tokensPerMinuteLimit;
    export const aiModelRateLimitModelNames = _this.modelNames;
    export const aiModelRateLimitEndpoint = _this.endpoint;
    export const aiModelRateLimitsResults = thisGetAiModelRateLimits.then(thisGetAiModelRateLimits => thisGetAiModelRateLimits.results);
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    this_ai_model_rate_limit = mongodbatlas.AiModelRateLimit("this",
        project_id=project_id,
        cloud="ANY",
        geography="ANY",
        model_group_name="embed_large",
        requests_per_minute_limit=100,
        tokens_per_minute_limit=10000)
    this = mongodbatlas.get_ai_model_rate_limit_output(project_id=project_id,
        cloud="ANY",
        geography="ANY",
        model_group_name=this_ai_model_rate_limit.model_group_name)
    this_get_ai_model_rate_limits = mongodbatlas.get_ai_model_rate_limits(project_id=project_id)
    pulumi.export("aiModelRateLimitRequestsPerMinute", this_ai_model_rate_limit.requests_per_minute_limit)
    pulumi.export("aiModelRateLimitTokensPerMinute", this_ai_model_rate_limit.tokens_per_minute_limit)
    pulumi.export("aiModelRateLimitModelNames", this.model_names)
    pulumi.export("aiModelRateLimitEndpoint", this.endpoint)
    pulumi.export("aiModelRateLimitsResults", this_get_ai_model_rate_limits.results)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-mongodbatlas/sdk/v4/go/mongodbatlas"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		thisAiModelRateLimit, err := mongodbatlas.NewAiModelRateLimit(ctx, "this", &mongodbatlas.AiModelRateLimitArgs{
    			ProjectId:              pulumi.Any(projectId),
    			Cloud:                  pulumi.String("ANY"),
    			Geography:              pulumi.String("ANY"),
    			ModelGroupName:         pulumi.String("embed_large"),
    			RequestsPerMinuteLimit: pulumi.Int(100),
    			TokensPerMinuteLimit:   pulumi.Int(10000),
    		})
    		if err != nil {
    			return err
    		}
    		this := mongodbatlas.GetAiModelRateLimitOutput(ctx, mongodbatlas.GetAiModelRateLimitOutputArgs{
    			ProjectId:      pulumi.Any(projectId),
    			Cloud:          pulumi.String("ANY"),
    			Geography:      pulumi.String("ANY"),
    			ModelGroupName: thisAiModelRateLimit.ModelGroupName,
    		}, nil)
    		thisGetAiModelRateLimits, err := mongodbatlas.GetAiModelRateLimits(ctx, &mongodbatlas.LookupAiModelRateLimitsArgs{
    			ProjectId: projectId,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("aiModelRateLimitRequestsPerMinute", thisAiModelRateLimit.RequestsPerMinuteLimit)
    		ctx.Export("aiModelRateLimitTokensPerMinute", thisAiModelRateLimit.TokensPerMinuteLimit)
    		ctx.Export("aiModelRateLimitModelNames", this.ModelNames())
    		ctx.Export("aiModelRateLimitEndpoint", this.Endpoint())
    		ctx.Export("aiModelRateLimitsResults", thisGetAiModelRateLimits.Results)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var thisAiModelRateLimit = new Mongodbatlas.AiModelRateLimit("this", new()
        {
            ProjectId = projectId,
            Cloud = "ANY",
            Geography = "ANY",
            ModelGroupName = "embed_large",
            RequestsPerMinuteLimit = 100,
            TokensPerMinuteLimit = 10000,
        });
    
        var @this = Mongodbatlas.GetAiModelRateLimit.Invoke(new()
        {
            ProjectId = projectId,
            Cloud = "ANY",
            Geography = "ANY",
            ModelGroupName = thisAiModelRateLimit.ModelGroupName,
        });
    
        var thisGetAiModelRateLimits = Mongodbatlas.GetAiModelRateLimits.Invoke(new()
        {
            ProjectId = projectId,
        });
    
        return new Dictionary<string, object?>
        {
            ["aiModelRateLimitRequestsPerMinute"] = thisAiModelRateLimit.RequestsPerMinuteLimit,
            ["aiModelRateLimitTokensPerMinute"] = thisAiModelRateLimit.TokensPerMinuteLimit,
            ["aiModelRateLimitModelNames"] = @this.Apply(@this => @this.Apply(getAiModelRateLimitResult => getAiModelRateLimitResult.ModelNames)),
            ["aiModelRateLimitEndpoint"] = @this.Apply(@this => @this.Apply(getAiModelRateLimitResult => getAiModelRateLimitResult.Endpoint)),
            ["aiModelRateLimitsResults"] = thisGetAiModelRateLimits.Apply(getAiModelRateLimitsResult => getAiModelRateLimitsResult.Results),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.AiModelRateLimit;
    import com.pulumi.mongodbatlas.AiModelRateLimitArgs;
    import com.pulumi.mongodbatlas.MongodbatlasFunctions;
    import com.pulumi.mongodbatlas.inputs.GetAiModelRateLimitArgs;
    import com.pulumi.mongodbatlas.inputs.GetAiModelRateLimitsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var thisAiModelRateLimit = new AiModelRateLimit("thisAiModelRateLimit", AiModelRateLimitArgs.builder()
                .projectId(projectId)
                .cloud("ANY")
                .geography("ANY")
                .modelGroupName("embed_large")
                .requestsPerMinuteLimit(100)
                .tokensPerMinuteLimit(10000)
                .build());
    
            final var this = MongodbatlasFunctions.getAiModelRateLimit(GetAiModelRateLimitArgs.builder()
                .projectId(projectId)
                .cloud("ANY")
                .geography("ANY")
                .modelGroupName(thisAiModelRateLimit.modelGroupName())
                .build());
    
            final var thisGetAiModelRateLimits = MongodbatlasFunctions.getAiModelRateLimits(GetAiModelRateLimitsArgs.builder()
                .projectId(projectId)
                .build());
    
            ctx.export("aiModelRateLimitRequestsPerMinute", thisAiModelRateLimit.requestsPerMinuteLimit());
            ctx.export("aiModelRateLimitTokensPerMinute", thisAiModelRateLimit.tokensPerMinuteLimit());
            ctx.export("aiModelRateLimitModelNames", this_.applyValue(_this_ -> _this_.modelNames()));
            ctx.export("aiModelRateLimitEndpoint", this_.applyValue(_this_ -> _this_.endpoint()));
            ctx.export("aiModelRateLimitsResults", thisGetAiModelRateLimits.results());
        }
    }
    
    resources:
      thisAiModelRateLimit:
        type: mongodbatlas:AiModelRateLimit
        name: this
        properties:
          projectId: ${projectId}
          cloud: ANY
          geography: ANY
          modelGroupName: embed_large
          requestsPerMinuteLimit: 100
          tokensPerMinuteLimit: 10000
    variables:
      this:
        fn::invoke:
          function: mongodbatlas:getAiModelRateLimit
          arguments:
            projectId: ${projectId}
            cloud: ANY
            geography: ANY
            modelGroupName: ${thisAiModelRateLimit.modelGroupName}
      thisGetAiModelRateLimits:
        fn::invoke:
          function: mongodbatlas:getAiModelRateLimits
          arguments:
            projectId: ${projectId}
    outputs:
      aiModelRateLimitRequestsPerMinute: ${thisAiModelRateLimit.requestsPerMinuteLimit}
      aiModelRateLimitTokensPerMinute: ${thisAiModelRateLimit.tokensPerMinuteLimit}
      aiModelRateLimitModelNames: ${this.modelNames}
      aiModelRateLimitEndpoint: ${this.endpoint}
      aiModelRateLimitsResults: ${thisGetAiModelRateLimits.results}
    
    pulumi {
      required_providers {
        mongodbatlas = {
          source = "pulumi/mongodbatlas"
        }
      }
    }
    
    data "mongodbatlas_getaimodelratelimit" "this" {
      project_id       = projectId
      cloud            = "ANY"
      geography        = "ANY"
      model_group_name = mongodbatlas_aimodelratelimit.this.model_group_name
    }
    data "mongodbatlas_getaimodelratelimits" "thisGetAiModelRateLimits" {
      project_id = projectId
    }
    
    resource "mongodbatlas_aimodelratelimit" "this" {
      project_id                = projectId
      cloud                     = "ANY"
      geography                 = "ANY"
      model_group_name          = "embed_large"
      requests_per_minute_limit = 100
      tokens_per_minute_limit   = 10000
    }
    output "aiModelRateLimitRequestsPerMinute" {
      value = mongodbatlas_aimodelratelimit.this.requests_per_minute_limit
    }
    output "aiModelRateLimitTokensPerMinute" {
      value = mongodbatlas_aimodelratelimit.this.tokens_per_minute_limit
    }
    output "aiModelRateLimitModelNames" {
      value = data.mongodbatlas_getaimodelratelimit.this.model_names
    }
    output "aiModelRateLimitEndpoint" {
      value = data.mongodbatlas_getaimodelratelimit.this.endpoint
    }
    output "aiModelRateLimitsResults" {
      value = data.mongodbatlas_getaimodelratelimits.thisGetAiModelRateLimits.results
    }
    

    Create AiModelRateLimit Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AiModelRateLimit(name: string, args: AiModelRateLimitArgs, opts?: CustomResourceOptions);
    @overload
    def AiModelRateLimit(resource_name: str,
                         args: AiModelRateLimitArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiModelRateLimit(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         cloud: Optional[str] = None,
                         geography: Optional[str] = None,
                         model_group_name: Optional[str] = None,
                         project_id: Optional[str] = None,
                         requests_per_minute_limit: Optional[int] = None,
                         tokens_per_minute_limit: Optional[int] = None)
    func NewAiModelRateLimit(ctx *Context, name string, args AiModelRateLimitArgs, opts ...ResourceOption) (*AiModelRateLimit, error)
    public AiModelRateLimit(string name, AiModelRateLimitArgs args, CustomResourceOptions? opts = null)
    public AiModelRateLimit(String name, AiModelRateLimitArgs args)
    public AiModelRateLimit(String name, AiModelRateLimitArgs args, CustomResourceOptions options)
    
    type: mongodbatlas:AiModelRateLimit
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "mongodbatlas_ai_model_rate_limit" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AiModelRateLimitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AiModelRateLimitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AiModelRateLimitArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiModelRateLimitArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiModelRateLimitArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var aiModelRateLimitResource = new Mongodbatlas.AiModelRateLimit("aiModelRateLimitResource", new()
    {
        Cloud = "string",
        Geography = "string",
        ModelGroupName = "string",
        ProjectId = "string",
        RequestsPerMinuteLimit = 0,
        TokensPerMinuteLimit = 0,
    });
    
    example, err := mongodbatlas.NewAiModelRateLimit(ctx, "aiModelRateLimitResource", &mongodbatlas.AiModelRateLimitArgs{
    	Cloud:                  pulumi.String("string"),
    	Geography:              pulumi.String("string"),
    	ModelGroupName:         pulumi.String("string"),
    	ProjectId:              pulumi.String("string"),
    	RequestsPerMinuteLimit: pulumi.Int(0),
    	TokensPerMinuteLimit:   pulumi.Int(0),
    })
    
    resource "mongodbatlas_ai_model_rate_limit" "aiModelRateLimitResource" {
      lifecycle {
        create_before_destroy = true
      }
      cloud                     = "string"
      geography                 = "string"
      model_group_name          = "string"
      project_id                = "string"
      requests_per_minute_limit = 0
      tokens_per_minute_limit   = 0
    }
    
    var aiModelRateLimitResource = new AiModelRateLimit("aiModelRateLimitResource", AiModelRateLimitArgs.builder()
        .cloud("string")
        .geography("string")
        .modelGroupName("string")
        .projectId("string")
        .requestsPerMinuteLimit(0)
        .tokensPerMinuteLimit(0)
        .build());
    
    ai_model_rate_limit_resource = mongodbatlas.AiModelRateLimit("aiModelRateLimitResource",
        cloud="string",
        geography="string",
        model_group_name="string",
        project_id="string",
        requests_per_minute_limit=0,
        tokens_per_minute_limit=0)
    
    const aiModelRateLimitResource = new mongodbatlas.AiModelRateLimit("aiModelRateLimitResource", {
        cloud: "string",
        geography: "string",
        modelGroupName: "string",
        projectId: "string",
        requestsPerMinuteLimit: 0,
        tokensPerMinuteLimit: 0,
    });
    
    type: mongodbatlas:AiModelRateLimit
    properties:
        cloud: string
        geography: string
        modelGroupName: string
        projectId: string
        requestsPerMinuteLimit: 0
        tokensPerMinuteLimit: 0
    

    AiModelRateLimit Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AiModelRateLimit resource accepts the following input properties:

    Cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    Geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    ModelGroupName string
    The name of the model group to be updated.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    RequestsPerMinuteLimit int
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    TokensPerMinuteLimit int
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    Cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    Geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    ModelGroupName string
    The name of the model group to be updated.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    RequestsPerMinuteLimit int
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    TokensPerMinuteLimit int
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    model_group_name string
    The name of the model group to be updated.
    project_id string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requests_per_minute_limit number
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokens_per_minute_limit number
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud String
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography String
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName String
    The name of the model group to be updated.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requestsPerMinuteLimit Integer
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokensPerMinuteLimit Integer
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName string
    The name of the model group to be updated.
    projectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requestsPerMinuteLimit number
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokensPerMinuteLimit number
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud str
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography str
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    model_group_name str
    The name of the model group to be updated.
    project_id str
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requests_per_minute_limit int
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokens_per_minute_limit int
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud String
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    geography String
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName String
    The name of the model group to be updated.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requestsPerMinuteLimit Number
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokensPerMinuteLimit Number
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiModelRateLimit resource produces the following output properties:

    Endpoint string
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModelNames List<string>
    List of embedding model names included in this model group.
    Endpoint string
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModelNames []string
    List of embedding model names included in this model group.
    endpoint string
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    id string
    The provider-assigned unique ID for this managed resource.
    model_names list(string)
    List of embedding model names included in this model group.
    endpoint String
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    id String
    The provider-assigned unique ID for this managed resource.
    modelNames List<String>
    List of embedding model names included in this model group.
    endpoint string
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    id string
    The provider-assigned unique ID for this managed resource.
    modelNames string[]
    List of embedding model names included in this model group.
    endpoint str
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    id str
    The provider-assigned unique ID for this managed resource.
    model_names Sequence[str]
    List of embedding model names included in this model group.
    endpoint String
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    id String
    The provider-assigned unique ID for this managed resource.
    modelNames List<String>
    List of embedding model names included in this model group.

    Look up Existing AiModelRateLimit Resource

    Get an existing AiModelRateLimit resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AiModelRateLimitState, opts?: CustomResourceOptions): AiModelRateLimit
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud: Optional[str] = None,
            endpoint: Optional[str] = None,
            geography: Optional[str] = None,
            model_group_name: Optional[str] = None,
            model_names: Optional[Sequence[str]] = None,
            project_id: Optional[str] = None,
            requests_per_minute_limit: Optional[int] = None,
            tokens_per_minute_limit: Optional[int] = None) -> AiModelRateLimit
    func GetAiModelRateLimit(ctx *Context, name string, id IDInput, state *AiModelRateLimitState, opts ...ResourceOption) (*AiModelRateLimit, error)
    public static AiModelRateLimit Get(string name, Input<string> id, AiModelRateLimitState? state, CustomResourceOptions? opts = null)
    public static AiModelRateLimit get(String name, Output<String> id, AiModelRateLimitState state, CustomResourceOptions options)
    resources:  _:    type: mongodbatlas:AiModelRateLimit    get:      id: ${id}
    import {
      to = mongodbatlas_ai_model_rate_limit.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    Endpoint string
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    Geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    ModelGroupName string
    The name of the model group to be updated.
    ModelNames List<string>
    List of embedding model names included in this model group.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    RequestsPerMinuteLimit int
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    TokensPerMinuteLimit int
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    Cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    Endpoint string
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    Geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    ModelGroupName string
    The name of the model group to be updated.
    ModelNames []string
    List of embedding model names included in this model group.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    RequestsPerMinuteLimit int
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    TokensPerMinuteLimit int
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    endpoint string
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    model_group_name string
    The name of the model group to be updated.
    model_names list(string)
    List of embedding model names included in this model group.
    project_id string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requests_per_minute_limit number
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokens_per_minute_limit number
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud String
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    endpoint String
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    geography String
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName String
    The name of the model group to be updated.
    modelNames List<String>
    List of embedding model names included in this model group.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requestsPerMinuteLimit Integer
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokensPerMinuteLimit Integer
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud string
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    endpoint string
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    geography string
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName string
    The name of the model group to be updated.
    modelNames string[]
    List of embedding model names included in this model group.
    projectId string
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requestsPerMinuteLimit number
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokensPerMinuteLimit number
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud str
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    endpoint str
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    geography str
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    model_group_name str
    The name of the model group to be updated.
    model_names Sequence[str]
    List of embedding model names included in this model group.
    project_id str
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requests_per_minute_limit int
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokens_per_minute_limit int
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    cloud String
    Cloud provider scope. Must be "ANY". Additional values will be supported in future API versions.
    endpoint String
    Server-computed endpoint hostname derived from cloud and geography. This field is read-only and must not be supplied in request bodies.
    geography String
    Geography scope. Must be "ANY". Additional values will be supported in future API versions.
    modelGroupName String
    The name of the model group to be updated.
    modelNames List<String>
    List of embedding model names included in this model group.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project, also known as groupId in the official documentation.
    requestsPerMinuteLimit Number
    The number of requests per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.
    tokensPerMinuteLimit Number
    The number of tokens per minute allowed for this model group. Must be a positive integer. Cannot be more than the organization level limit for this group model.

    Import

    Import the AI Model Rate Limit resource by using the Project ID, Cloud, Geography, and Model Group Name in the format PROJECT_ID/CLOUD/GEOGRAPHY/MODEL_GROUP_NAME, e.g.

    $ pulumi import mongodbatlas:index/aiModelRateLimit:AiModelRateLimit example 1112222b3bf99403840e8934/ANY/ANY/embed_large
    

    For more information, see Manage AI Model Rate Limits.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo mongodbatlas logo
    Viewing docs for MongoDB Atlas v4.15.0
    published on Friday, Aug 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial