1. Registry
  2. Packages
  3. Konnect Provider
  4. API Docs
  5. AiGatewayModel
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong
Viewing docs for konnect 3.23.0
published on Friday, Sep 18, 2026 by kong

    AIGatewayModel Resource

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as konnect from "@pulumi/konnect";
    
    const myAigatewaymodel = new konnect.AiGatewayModel("my_aigatewaymodel", {
        api: {
            access: {
                acls: {
                    allows: ["..."],
                    denies: ["..."],
                },
                authStrategies: ["okta-ai-se"],
                identityProviders: ["okta-ai-se"],
            },
            capabilities: ["files"],
            config: {
                balancer: {
                    lowestLatency: {
                        connectTimeout: 60000,
                        failTimeout: 10000,
                        failoverCriterias: ["http_429"],
                        latencyStrategy: "tpot",
                        maxFails: 0,
                        readTimeout: 60000,
                        retries: 5,
                        slots: 10000,
                        writeTimeout: 60000,
                    },
                },
                logging: {
                    payloads: false,
                },
                maxRequestBodySize: 8388608,
                proxy: {
                    auth: {
                        password: "...my_password...",
                        username: "...my_username...",
                    },
                    httpProxy: {
                        host: "...my_host...",
                        port: 29747,
                    },
                    httpsProxy: {
                        host: "...my_host...",
                        port: 12764,
                    },
                    noProxy: "...my_no_proxy...",
                    proxyScheme: "http",
                },
                responseStreaming: "allow",
                route: {
                    headers: {
                        key: JSON.stringify("value"),
                    },
                    hosts: ["foo.example.com"],
                    httpsRedirectStatusCode: 426,
                    methods: ["..."],
                    model: {
                        bodyParam: "model",
                        headerParam: "x-model",
                        pathParam: "model_name",
                        values: ["..."],
                    },
                    paths: ["..."],
                    preserveHost: false,
                    protocols: ["..."],
                    regexPriority: 0,
                    requestBuffering: true,
                    responseBuffering: true,
                    stripPath: true,
                    tags: ["..."],
                },
            },
            displayName: "My GPT 5 model",
            enabled: true,
            formats: [{
                type: "openai",
            }],
            labels: {
                key: "value",
            },
            managedBy: {
                key: "value",
            },
            name: "my-gpt-5-model",
            policies: ["..."],
            targets: [{
                allowAuthOverride: false,
                config: {
                    xai: {
                        cacheReadCost: 4.42,
                        cacheWriteCost: 3.9,
                        cacheWriteCostLists: [{
                            cost: 7.32,
                            ttl: "...my_ttl...",
                        }],
                        contextWindowFactors: [{
                            above: "...my_above...",
                            inputFactor: 1.42,
                            outputFactor: 1.31,
                        }],
                        embeddingsDimensions: 1556463673,
                        inputCost: 3.7,
                        maxTokens: 1227329724,
                        outputCost: 6.56,
                        serviceTierFactors: [{
                            factor: 8.57,
                            tier: "...my_tier...",
                        }],
                        temperature: 3.27,
                        topK: 483136424,
                        topP: 2.83,
                        upstreamUrl: "https://baggy-trash.biz/",
                    },
                },
                name: "gpt-5-model",
                provider: "azure-ai-se",
                semanticDescription: "...my_semantic_description...",
                weight: 100,
            }],
        },
        gatewayId: "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
        model: {
            access: {
                acls: {
                    allows: ["..."],
                    denies: ["..."],
                },
                authStrategies: ["okta-ai-se"],
                identityProviders: ["okta-ai-se"],
            },
            capabilities: ["audio/speech"],
            config: {
                balancer: {
                    semantic: {
                        connectTimeout: 60000,
                        embeddings: {
                            allowAuthOverride: false,
                            config: {
                                ollama: {
                                    upstreamUrl: "...my_upstream_url...",
                                },
                            },
                            name: "...my_name...",
                            provider: "azure-ai-se",
                        },
                        failTimeout: 10000,
                        failoverCriterias: ["http_502"],
                        maxFails: 0,
                        readTimeout: 60000,
                        retries: 5,
                        slots: 10000,
                        vectordb: {
                            pgvector: {
                                database: "kong-pgvector",
                                dimensions: 6,
                                distanceMetric: "euclidean",
                                host: "127.0.0.1",
                                password: "...my_password...",
                                port: 5432,
                                ssl: {
                                    cert: "...my_cert...",
                                    certKey: "...my_cert_key...",
                                    enabled: true,
                                    required: true,
                                    verify: true,
                                    version: "tlsv1_2",
                                },
                                threshold: 3.66,
                                timeout: 5000,
                                user: "postgres",
                            },
                        },
                        writeTimeout: 60000,
                    },
                },
                logging: {
                    payloads: false,
                },
                maxRequestBodySize: 8388608,
                model: {
                    nameHeader: true,
                },
                proxy: {
                    auth: {
                        password: "...my_password...",
                        username: "...my_username...",
                    },
                    httpProxy: {
                        host: "...my_host...",
                        port: 30633,
                    },
                    httpsProxy: {
                        host: "...my_host...",
                        port: 29606,
                    },
                    noProxy: "...my_no_proxy...",
                    proxyScheme: "http",
                },
                responseStreaming: "allow",
                route: {
                    headers: {
                        key: JSON.stringify("value"),
                    },
                    hosts: ["foo.example.com"],
                    httpsRedirectStatusCode: 426,
                    methods: ["..."],
                    model: {
                        bodyParam: "model",
                        headerParam: "x-model",
                        pathParam: "model_name",
                        values: ["..."],
                    },
                    paths: ["..."],
                    preserveHost: false,
                    protocols: ["..."],
                    regexPriority: 0,
                    requestBuffering: true,
                    responseBuffering: true,
                    stripPath: true,
                    tags: ["..."],
                },
            },
            displayName: "My GPT 5 model",
            enabled: true,
            formats: [{
                type: "openai",
            }],
            labels: {
                key: "value",
            },
            managedBy: {
                key: "value",
            },
            name: "my-gpt-5-model",
            policies: ["..."],
            targets: [{
                allowAuthOverride: false,
                config: {
                    databricks: {
                        cacheReadCost: 8.45,
                        cacheWriteCost: 3.62,
                        cacheWriteCostLists: [{
                            cost: 3.12,
                            ttl: "...my_ttl...",
                        }],
                        contextWindowFactors: [{
                            above: "...my_above...",
                            inputFactor: 4.94,
                            outputFactor: 9.43,
                        }],
                        embeddingsDimensions: 1316728274,
                        inputCost: 9.06,
                        maxTokens: 1585442569,
                        outputCost: 7.78,
                        serviceTierFactors: [{
                            factor: 6.01,
                            tier: "...my_tier...",
                        }],
                        temperature: 3.33,
                        topK: 896181225,
                        topP: 7.55,
                        upstreamUrl: "https://distant-antelope.com",
                        workspaceInstanceId: "...my_workspace_instance_id...",
                    },
                },
                name: "gpt-5-model",
                provider: "azure-ai-se",
                semanticDescription: "...my_semantic_description...",
                weight: 100,
            }],
        },
    });
    
    import pulumi
    import json
    import pulumi_konnect as konnect
    
    my_aigatewaymodel = konnect.AiGatewayModel("my_aigatewaymodel",
        api={
            "access": {
                "acls": {
                    "allows": ["..."],
                    "denies": ["..."],
                },
                "auth_strategies": ["okta-ai-se"],
                "identity_providers": ["okta-ai-se"],
            },
            "capabilities": ["files"],
            "config": {
                "balancer": {
                    "lowest_latency": {
                        "connect_timeout": 60000,
                        "fail_timeout": 10000,
                        "failover_criterias": ["http_429"],
                        "latency_strategy": "tpot",
                        "max_fails": 0,
                        "read_timeout": 60000,
                        "retries": 5,
                        "slots": 10000,
                        "write_timeout": 60000,
                    },
                },
                "logging": {
                    "payloads": False,
                },
                "max_request_body_size": 8388608,
                "proxy": {
                    "auth": {
                        "password": "...my_password...",
                        "username": "...my_username...",
                    },
                    "http_proxy": {
                        "host": "...my_host...",
                        "port": 29747,
                    },
                    "https_proxy": {
                        "host": "...my_host...",
                        "port": 12764,
                    },
                    "no_proxy": "...my_no_proxy...",
                    "proxy_scheme": "http",
                },
                "response_streaming": "allow",
                "route": {
                    "headers": {
                        "key": json.dumps("value"),
                    },
                    "hosts": ["foo.example.com"],
                    "https_redirect_status_code": 426,
                    "methods": ["..."],
                    "model": {
                        "body_param": "model",
                        "header_param": "x-model",
                        "path_param": "model_name",
                        "values": ["..."],
                    },
                    "paths": ["..."],
                    "preserve_host": False,
                    "protocols": ["..."],
                    "regex_priority": 0,
                    "request_buffering": True,
                    "response_buffering": True,
                    "strip_path": True,
                    "tags": ["..."],
                },
            },
            "display_name": "My GPT 5 model",
            "enabled": True,
            "formats": [{
                "type": "openai",
            }],
            "labels": {
                "key": "value",
            },
            "managed_by": {
                "key": "value",
            },
            "name": "my-gpt-5-model",
            "policies": ["..."],
            "targets": [{
                "allow_auth_override": False,
                "config": {
                    "xai": {
                        "cache_read_cost": 4.42,
                        "cache_write_cost": 3.9,
                        "cache_write_cost_lists": [{
                            "cost": 7.32,
                            "ttl": "...my_ttl...",
                        }],
                        "context_window_factors": [{
                            "above": "...my_above...",
                            "input_factor": 1.42,
                            "output_factor": 1.31,
                        }],
                        "embeddings_dimensions": 1556463673,
                        "input_cost": 3.7,
                        "max_tokens": 1227329724,
                        "output_cost": 6.56,
                        "service_tier_factors": [{
                            "factor": 8.57,
                            "tier": "...my_tier...",
                        }],
                        "temperature": 3.27,
                        "top_k": 483136424,
                        "top_p": 2.83,
                        "upstream_url": "https://baggy-trash.biz/",
                    },
                },
                "name": "gpt-5-model",
                "provider": "azure-ai-se",
                "semantic_description": "...my_semantic_description...",
                "weight": 100,
            }],
        },
        gateway_id="5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
        model={
            "access": {
                "acls": {
                    "allows": ["..."],
                    "denies": ["..."],
                },
                "auth_strategies": ["okta-ai-se"],
                "identity_providers": ["okta-ai-se"],
            },
            "capabilities": ["audio/speech"],
            "config": {
                "balancer": {
                    "semantic": {
                        "connect_timeout": 60000,
                        "embeddings": {
                            "allow_auth_override": False,
                            "config": {
                                "ollama": {
                                    "upstream_url": "...my_upstream_url...",
                                },
                            },
                            "name": "...my_name...",
                            "provider": "azure-ai-se",
                        },
                        "fail_timeout": 10000,
                        "failover_criterias": ["http_502"],
                        "max_fails": 0,
                        "read_timeout": 60000,
                        "retries": 5,
                        "slots": 10000,
                        "vectordb": {
                            "pgvector": {
                                "database": "kong-pgvector",
                                "dimensions": 6,
                                "distance_metric": "euclidean",
                                "host": "127.0.0.1",
                                "password": "...my_password...",
                                "port": 5432,
                                "ssl": {
                                    "cert": "...my_cert...",
                                    "cert_key": "...my_cert_key...",
                                    "enabled": True,
                                    "required": True,
                                    "verify": True,
                                    "version": "tlsv1_2",
                                },
                                "threshold": 3.66,
                                "timeout": 5000,
                                "user": "postgres",
                            },
                        },
                        "write_timeout": 60000,
                    },
                },
                "logging": {
                    "payloads": False,
                },
                "max_request_body_size": 8388608,
                "model": {
                    "name_header": True,
                },
                "proxy": {
                    "auth": {
                        "password": "...my_password...",
                        "username": "...my_username...",
                    },
                    "http_proxy": {
                        "host": "...my_host...",
                        "port": 30633,
                    },
                    "https_proxy": {
                        "host": "...my_host...",
                        "port": 29606,
                    },
                    "no_proxy": "...my_no_proxy...",
                    "proxy_scheme": "http",
                },
                "response_streaming": "allow",
                "route": {
                    "headers": {
                        "key": json.dumps("value"),
                    },
                    "hosts": ["foo.example.com"],
                    "https_redirect_status_code": 426,
                    "methods": ["..."],
                    "model": {
                        "body_param": "model",
                        "header_param": "x-model",
                        "path_param": "model_name",
                        "values": ["..."],
                    },
                    "paths": ["..."],
                    "preserve_host": False,
                    "protocols": ["..."],
                    "regex_priority": 0,
                    "request_buffering": True,
                    "response_buffering": True,
                    "strip_path": True,
                    "tags": ["..."],
                },
            },
            "display_name": "My GPT 5 model",
            "enabled": True,
            "formats": [{
                "type": "openai",
            }],
            "labels": {
                "key": "value",
            },
            "managed_by": {
                "key": "value",
            },
            "name": "my-gpt-5-model",
            "policies": ["..."],
            "targets": [{
                "allow_auth_override": False,
                "config": {
                    "databricks": {
                        "cache_read_cost": 8.45,
                        "cache_write_cost": 3.62,
                        "cache_write_cost_lists": [{
                            "cost": 3.12,
                            "ttl": "...my_ttl...",
                        }],
                        "context_window_factors": [{
                            "above": "...my_above...",
                            "input_factor": 4.94,
                            "output_factor": 9.43,
                        }],
                        "embeddings_dimensions": 1316728274,
                        "input_cost": 9.06,
                        "max_tokens": 1585442569,
                        "output_cost": 7.78,
                        "service_tier_factors": [{
                            "factor": 6.01,
                            "tier": "...my_tier...",
                        }],
                        "temperature": 3.33,
                        "top_k": 896181225,
                        "top_p": 7.55,
                        "upstream_url": "https://distant-antelope.com",
                        "workspace_instance_id": "...my_workspace_instance_id...",
                    },
                },
                "name": "gpt-5-model",
                "provider": "azure-ai-se",
                "semantic_description": "...my_semantic_description...",
                "weight": 100,
            }],
        })
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/konnect/v3/konnect"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal("value")
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		tmpJSON1, err := json.Marshal("value")
    		if err != nil {
    			return err
    		}
    		json1 := string(tmpJSON1)
    		_, err = konnect.NewAiGatewayModel(ctx, "my_aigatewaymodel", &konnect.AiGatewayModelArgs{
    			Api: &konnect.AiGatewayModelApiArgs{
    				Access: &konnect.AiGatewayModelApiAccessArgs{
    					Acls: &konnect.AiGatewayModelApiAccessAclsArgs{
    						Allows: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    						Denies: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    					},
    					AuthStrategies: pulumi.StringArray{
    						pulumi.String("okta-ai-se"),
    					},
    					IdentityProviders: pulumi.StringArray{
    						pulumi.String("okta-ai-se"),
    					},
    				},
    				Capabilities: pulumi.StringArray{
    					pulumi.String("files"),
    				},
    				Config: &konnect.AiGatewayModelApiConfigArgs{
    					Balancer: &konnect.AiGatewayModelApiConfigBalancerArgs{
    						LowestLatency: &konnect.AiGatewayModelApiConfigBalancerLowestLatencyArgs{
    							ConnectTimeout: pulumi.Float64(60000),
    							FailTimeout:    pulumi.Float64(10000),
    							FailoverCriterias: pulumi.StringArray{
    								pulumi.String("http_429"),
    							},
    							LatencyStrategy: pulumi.String("tpot"),
    							MaxFails:        pulumi.Float64(0),
    							ReadTimeout:     pulumi.Float64(60000),
    							Retries:         pulumi.Float64(5),
    							Slots:           pulumi.Float64(10000),
    							WriteTimeout:    pulumi.Float64(60000),
    						},
    					},
    					Logging: &konnect.AiGatewayModelApiConfigLoggingArgs{
    						Payloads: pulumi.Bool(false),
    					},
    					MaxRequestBodySize: pulumi.Float64(8388608),
    					Proxy: &konnect.AiGatewayModelApiConfigProxyArgs{
    						Auth: &konnect.AiGatewayModelApiConfigProxyAuthArgs{
    							Password: pulumi.String("...my_password..."),
    							Username: pulumi.String("...my_username..."),
    						},
    						HttpProxy: &konnect.AiGatewayModelApiConfigProxyHttpProxyArgs{
    							Host: pulumi.String("...my_host..."),
    							Port: pulumi.Float64(29747),
    						},
    						HttpsProxy: &konnect.AiGatewayModelApiConfigProxyHttpsProxyArgs{
    							Host: pulumi.String("...my_host..."),
    							Port: pulumi.Float64(12764),
    						},
    						NoProxy:     pulumi.String("...my_no_proxy..."),
    						ProxyScheme: pulumi.String("http"),
    					},
    					ResponseStreaming: pulumi.String("allow"),
    					Route: &konnect.AiGatewayModelApiConfigRouteArgs{
    						Headers: pulumi.StringMap{
    							"key": pulumi.String(json0),
    						},
    						Hosts: pulumi.StringArray{
    							pulumi.String("foo.example.com"),
    						},
    						HttpsRedirectStatusCode: pulumi.Float64(426),
    						Methods: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    						Model: &konnect.AiGatewayModelApiConfigRouteModelArgs{
    							BodyParam:   pulumi.String("model"),
    							HeaderParam: pulumi.String("x-model"),
    							PathParam:   pulumi.String("model_name"),
    							Values: pulumi.StringArray{
    								pulumi.String("..."),
    							},
    						},
    						Paths: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    						PreserveHost: pulumi.Bool(false),
    						Protocols: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    						RegexPriority:     pulumi.Float64(0),
    						RequestBuffering:  pulumi.Bool(true),
    						ResponseBuffering: pulumi.Bool(true),
    						StripPath:         pulumi.Bool(true),
    						Tags: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    					},
    				},
    				DisplayName: pulumi.String("My GPT 5 model"),
    				Enabled:     pulumi.Bool(true),
    				Formats: konnect.AiGatewayModelApiFormatArray{
    					&konnect.AiGatewayModelApiFormatArgs{
    						Type: pulumi.String("openai"),
    					},
    				},
    				Labels: pulumi.StringMap{
    					"key": pulumi.String("value"),
    				},
    				ManagedBy: pulumi.StringMap{
    					"key": pulumi.String("value"),
    				},
    				Name: pulumi.String("my-gpt-5-model"),
    				Policies: pulumi.StringArray{
    					pulumi.String("..."),
    				},
    				Targets: konnect.AiGatewayModelApiTargetArray{
    					&konnect.AiGatewayModelApiTargetArgs{
    						AllowAuthOverride: pulumi.Bool(false),
    						Config: &konnect.AiGatewayModelApiTargetConfigArgs{
    							Xai: &konnect.AiGatewayModelApiTargetConfigXaiArgs{
    								CacheReadCost:  pulumi.Float64(4.42),
    								CacheWriteCost: pulumi.Float64(3.9),
    								CacheWriteCostLists: konnect.AiGatewayModelApiTargetConfigXaiCacheWriteCostListArray{
    									&konnect.AiGatewayModelApiTargetConfigXaiCacheWriteCostListArgs{
    										Cost: pulumi.Float64(7.32),
    										Ttl:  pulumi.String("...my_ttl..."),
    									},
    								},
    								ContextWindowFactors: konnect.AiGatewayModelApiTargetConfigXaiContextWindowFactorArray{
    									&konnect.AiGatewayModelApiTargetConfigXaiContextWindowFactorArgs{
    										Above:        pulumi.String("...my_above..."),
    										InputFactor:  pulumi.Float64(1.42),
    										OutputFactor: pulumi.Float64(1.31),
    									},
    								},
    								EmbeddingsDimensions: pulumi.Float64(1556463673),
    								InputCost:            pulumi.Float64(3.7),
    								MaxTokens:            pulumi.Float64(1227329724),
    								OutputCost:           pulumi.Float64(6.56),
    								ServiceTierFactors: konnect.AiGatewayModelApiTargetConfigXaiServiceTierFactorArray{
    									&konnect.AiGatewayModelApiTargetConfigXaiServiceTierFactorArgs{
    										Factor: pulumi.Float64(8.57),
    										Tier:   pulumi.String("...my_tier..."),
    									},
    								},
    								Temperature: pulumi.Float64(3.27),
    								TopK:        pulumi.Float64(483136424),
    								TopP:        pulumi.Float64(2.83),
    								UpstreamUrl: pulumi.String("https://baggy-trash.biz/"),
    							},
    						},
    						Name:                pulumi.String("gpt-5-model"),
    						Provider:            pulumi.String("azure-ai-se"),
    						SemanticDescription: pulumi.String("...my_semantic_description..."),
    						Weight:              pulumi.Float64(100),
    					},
    				},
    			},
    			GatewayId: pulumi.String("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
    			Model: &konnect.AiGatewayModelModelArgs{
    				Access: &konnect.AiGatewayModelModelAccessArgs{
    					Acls: &konnect.AiGatewayModelModelAccessAclsArgs{
    						Allows: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    						Denies: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    					},
    					AuthStrategies: pulumi.StringArray{
    						pulumi.String("okta-ai-se"),
    					},
    					IdentityProviders: pulumi.StringArray{
    						pulumi.String("okta-ai-se"),
    					},
    				},
    				Capabilities: pulumi.StringArray{
    					pulumi.String("audio/speech"),
    				},
    				Config: &konnect.AiGatewayModelModelConfigArgs{
    					Balancer: &konnect.AiGatewayModelModelConfigBalancerArgs{
    						Semantic: &konnect.AiGatewayModelModelConfigBalancerSemanticArgs{
    							ConnectTimeout: pulumi.Float64(60000),
    							Embeddings: &konnect.AiGatewayModelModelConfigBalancerSemanticEmbeddingsArgs{
    								AllowAuthOverride: pulumi.Bool(false),
    								Config: &konnect.AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigArgs{
    									Ollama: &konnect.AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllamaArgs{
    										UpstreamUrl: pulumi.String("...my_upstream_url..."),
    									},
    								},
    								Name:     pulumi.String("...my_name..."),
    								Provider: pulumi.String("azure-ai-se"),
    							},
    							FailTimeout: pulumi.Float64(10000),
    							FailoverCriterias: pulumi.StringArray{
    								pulumi.String("http_502"),
    							},
    							MaxFails:    pulumi.Float64(0),
    							ReadTimeout: pulumi.Float64(60000),
    							Retries:     pulumi.Float64(5),
    							Slots:       pulumi.Float64(10000),
    							Vectordb: &konnect.AiGatewayModelModelConfigBalancerSemanticVectordbArgs{
    								Pgvector: &konnect.AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorArgs{
    									Database:       pulumi.String("kong-pgvector"),
    									Dimensions:     pulumi.Float64(6),
    									DistanceMetric: pulumi.String("euclidean"),
    									Host:           pulumi.String("127.0.0.1"),
    									Password:       pulumi.String("...my_password..."),
    									Port:           pulumi.Float64(5432),
    									Ssl: &konnect.AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSslArgs{
    										Cert:     pulumi.String("...my_cert..."),
    										CertKey:  pulumi.String("...my_cert_key..."),
    										Enabled:  pulumi.Bool(true),
    										Required: pulumi.Bool(true),
    										Verify:   pulumi.Bool(true),
    										Version:  pulumi.String("tlsv1_2"),
    									},
    									Threshold: pulumi.Float64(3.66),
    									Timeout:   pulumi.Float64(5000),
    									User:      pulumi.String("postgres"),
    								},
    							},
    							WriteTimeout: pulumi.Float64(60000),
    						},
    					},
    					Logging: &konnect.AiGatewayModelModelConfigLoggingArgs{
    						Payloads: pulumi.Bool(false),
    					},
    					MaxRequestBodySize: pulumi.Float64(8388608),
    					Model: &konnect.AiGatewayModelModelConfigModelArgs{
    						NameHeader: pulumi.Bool(true),
    					},
    					Proxy: &konnect.AiGatewayModelModelConfigProxyArgs{
    						Auth: &konnect.AiGatewayModelModelConfigProxyAuthArgs{
    							Password: pulumi.String("...my_password..."),
    							Username: pulumi.String("...my_username..."),
    						},
    						HttpProxy: &konnect.AiGatewayModelModelConfigProxyHttpProxyArgs{
    							Host: pulumi.String("...my_host..."),
    							Port: pulumi.Float64(30633),
    						},
    						HttpsProxy: &konnect.AiGatewayModelModelConfigProxyHttpsProxyArgs{
    							Host: pulumi.String("...my_host..."),
    							Port: pulumi.Float64(29606),
    						},
    						NoProxy:     pulumi.String("...my_no_proxy..."),
    						ProxyScheme: pulumi.String("http"),
    					},
    					ResponseStreaming: pulumi.String("allow"),
    					Route: &konnect.AiGatewayModelModelConfigRouteArgs{
    						Headers: pulumi.StringMap{
    							"key": pulumi.String(json1),
    						},
    						Hosts: pulumi.StringArray{
    							pulumi.String("foo.example.com"),
    						},
    						HttpsRedirectStatusCode: pulumi.Float64(426),
    						Methods: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    						Model: &konnect.AiGatewayModelModelConfigRouteModelArgs{
    							BodyParam:   pulumi.String("model"),
    							HeaderParam: pulumi.String("x-model"),
    							PathParam:   pulumi.String("model_name"),
    							Values: pulumi.StringArray{
    								pulumi.String("..."),
    							},
    						},
    						Paths: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    						PreserveHost: pulumi.Bool(false),
    						Protocols: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    						RegexPriority:     pulumi.Float64(0),
    						RequestBuffering:  pulumi.Bool(true),
    						ResponseBuffering: pulumi.Bool(true),
    						StripPath:         pulumi.Bool(true),
    						Tags: pulumi.StringArray{
    							pulumi.String("..."),
    						},
    					},
    				},
    				DisplayName: pulumi.String("My GPT 5 model"),
    				Enabled:     pulumi.Bool(true),
    				Formats: konnect.AiGatewayModelModelFormatArray{
    					&konnect.AiGatewayModelModelFormatArgs{
    						Type: pulumi.String("openai"),
    					},
    				},
    				Labels: pulumi.StringMap{
    					"key": pulumi.String("value"),
    				},
    				ManagedBy: pulumi.StringMap{
    					"key": pulumi.String("value"),
    				},
    				Name: pulumi.String("my-gpt-5-model"),
    				Policies: pulumi.StringArray{
    					pulumi.String("..."),
    				},
    				Targets: konnect.AiGatewayModelModelTargetArray{
    					&konnect.AiGatewayModelModelTargetArgs{
    						AllowAuthOverride: pulumi.Bool(false),
    						Config: &konnect.AiGatewayModelModelTargetConfigArgs{
    							Databricks: &konnect.AiGatewayModelModelTargetConfigDatabricksArgs{
    								CacheReadCost:  pulumi.Float64(8.45),
    								CacheWriteCost: pulumi.Float64(3.62),
    								CacheWriteCostLists: konnect.AiGatewayModelModelTargetConfigDatabricksCacheWriteCostListArray{
    									&konnect.AiGatewayModelModelTargetConfigDatabricksCacheWriteCostListArgs{
    										Cost: pulumi.Float64(3.12),
    										Ttl:  pulumi.String("...my_ttl..."),
    									},
    								},
    								ContextWindowFactors: konnect.AiGatewayModelModelTargetConfigDatabricksContextWindowFactorArray{
    									&konnect.AiGatewayModelModelTargetConfigDatabricksContextWindowFactorArgs{
    										Above:        pulumi.String("...my_above..."),
    										InputFactor:  pulumi.Float64(4.94),
    										OutputFactor: pulumi.Float64(9.43),
    									},
    								},
    								EmbeddingsDimensions: pulumi.Float64(1316728274),
    								InputCost:            pulumi.Float64(9.06),
    								MaxTokens:            pulumi.Float64(1585442569),
    								OutputCost:           pulumi.Float64(7.78),
    								ServiceTierFactors: konnect.AiGatewayModelModelTargetConfigDatabricksServiceTierFactorArray{
    									&konnect.AiGatewayModelModelTargetConfigDatabricksServiceTierFactorArgs{
    										Factor: pulumi.Float64(6.01),
    										Tier:   pulumi.String("...my_tier..."),
    									},
    								},
    								Temperature:         pulumi.Float64(3.33),
    								TopK:                pulumi.Float64(896181225),
    								TopP:                pulumi.Float64(7.55),
    								UpstreamUrl:         pulumi.String("https://distant-antelope.com"),
    								WorkspaceInstanceId: pulumi.String("...my_workspace_instance_id..."),
    							},
    						},
    						Name:                pulumi.String("gpt-5-model"),
    						Provider:            pulumi.String("azure-ai-se"),
    						SemanticDescription: pulumi.String("...my_semantic_description..."),
    						Weight:              pulumi.Float64(100),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Konnect = Pulumi.Konnect;
    
    return await Deployment.RunAsync(() => 
    {
        var myAigatewaymodel = new Konnect.AiGatewayModel("my_aigatewaymodel", new()
        {
            Api = new Konnect.Inputs.AiGatewayModelApiArgs
            {
                Access = new Konnect.Inputs.AiGatewayModelApiAccessArgs
                {
                    Acls = new Konnect.Inputs.AiGatewayModelApiAccessAclsArgs
                    {
                        Allows = new[]
                        {
                            "...",
                        },
                        Denies = new[]
                        {
                            "...",
                        },
                    },
                    AuthStrategies = new[]
                    {
                        "okta-ai-se",
                    },
                    IdentityProviders = new[]
                    {
                        "okta-ai-se",
                    },
                },
                Capabilities = new[]
                {
                    "files",
                },
                Config = new Konnect.Inputs.AiGatewayModelApiConfigArgs
                {
                    Balancer = new Konnect.Inputs.AiGatewayModelApiConfigBalancerArgs
                    {
                        LowestLatency = new Konnect.Inputs.AiGatewayModelApiConfigBalancerLowestLatencyArgs
                        {
                            ConnectTimeout = 60000,
                            FailTimeout = 10000,
                            FailoverCriterias = new[]
                            {
                                "http_429",
                            },
                            LatencyStrategy = "tpot",
                            MaxFails = 0,
                            ReadTimeout = 60000,
                            Retries = 5,
                            Slots = 10000,
                            WriteTimeout = 60000,
                        },
                    },
                    Logging = new Konnect.Inputs.AiGatewayModelApiConfigLoggingArgs
                    {
                        Payloads = false,
                    },
                    MaxRequestBodySize = 8388608,
                    Proxy = new Konnect.Inputs.AiGatewayModelApiConfigProxyArgs
                    {
                        Auth = new Konnect.Inputs.AiGatewayModelApiConfigProxyAuthArgs
                        {
                            Password = "...my_password...",
                            Username = "...my_username...",
                        },
                        HttpProxy = new Konnect.Inputs.AiGatewayModelApiConfigProxyHttpProxyArgs
                        {
                            Host = "...my_host...",
                            Port = 29747,
                        },
                        HttpsProxy = new Konnect.Inputs.AiGatewayModelApiConfigProxyHttpsProxyArgs
                        {
                            Host = "...my_host...",
                            Port = 12764,
                        },
                        NoProxy = "...my_no_proxy...",
                        ProxyScheme = "http",
                    },
                    ResponseStreaming = "allow",
                    Route = new Konnect.Inputs.AiGatewayModelApiConfigRouteArgs
                    {
                        Headers = 
                        {
                            { "key", JsonSerializer.Serialize("value") },
                        },
                        Hosts = new[]
                        {
                            "foo.example.com",
                        },
                        HttpsRedirectStatusCode = 426,
                        Methods = new[]
                        {
                            "...",
                        },
                        Model = new Konnect.Inputs.AiGatewayModelApiConfigRouteModelArgs
                        {
                            BodyParam = "model",
                            HeaderParam = "x-model",
                            PathParam = "model_name",
                            Values = new[]
                            {
                                "...",
                            },
                        },
                        Paths = new[]
                        {
                            "...",
                        },
                        PreserveHost = false,
                        Protocols = new[]
                        {
                            "...",
                        },
                        RegexPriority = 0,
                        RequestBuffering = true,
                        ResponseBuffering = true,
                        StripPath = true,
                        Tags = new[]
                        {
                            "...",
                        },
                    },
                },
                DisplayName = "My GPT 5 model",
                Enabled = true,
                Formats = new[]
                {
                    new Konnect.Inputs.AiGatewayModelApiFormatArgs
                    {
                        Type = "openai",
                    },
                },
                Labels = 
                {
                    { "key", "value" },
                },
                ManagedBy = 
                {
                    { "key", "value" },
                },
                Name = "my-gpt-5-model",
                Policies = new[]
                {
                    "...",
                },
                Targets = new[]
                {
                    new Konnect.Inputs.AiGatewayModelApiTargetArgs
                    {
                        AllowAuthOverride = false,
                        Config = new Konnect.Inputs.AiGatewayModelApiTargetConfigArgs
                        {
                            Xai = new Konnect.Inputs.AiGatewayModelApiTargetConfigXaiArgs
                            {
                                CacheReadCost = 4.42,
                                CacheWriteCost = 3.9,
                                CacheWriteCostLists = new[]
                                {
                                    new Konnect.Inputs.AiGatewayModelApiTargetConfigXaiCacheWriteCostListArgs
                                    {
                                        Cost = 7.32,
                                        Ttl = "...my_ttl...",
                                    },
                                },
                                ContextWindowFactors = new[]
                                {
                                    new Konnect.Inputs.AiGatewayModelApiTargetConfigXaiContextWindowFactorArgs
                                    {
                                        Above = "...my_above...",
                                        InputFactor = 1.42,
                                        OutputFactor = 1.31,
                                    },
                                },
                                EmbeddingsDimensions = 1556463673,
                                InputCost = 3.7,
                                MaxTokens = 1227329724,
                                OutputCost = 6.56,
                                ServiceTierFactors = new[]
                                {
                                    new Konnect.Inputs.AiGatewayModelApiTargetConfigXaiServiceTierFactorArgs
                                    {
                                        Factor = 8.57,
                                        Tier = "...my_tier...",
                                    },
                                },
                                Temperature = 3.27,
                                TopK = 483136424,
                                TopP = 2.83,
                                UpstreamUrl = "https://baggy-trash.biz/",
                            },
                        },
                        Name = "gpt-5-model",
                        Provider = "azure-ai-se",
                        SemanticDescription = "...my_semantic_description...",
                        Weight = 100,
                    },
                },
            },
            GatewayId = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
            Model = new Konnect.Inputs.AiGatewayModelModelArgs
            {
                Access = new Konnect.Inputs.AiGatewayModelModelAccessArgs
                {
                    Acls = new Konnect.Inputs.AiGatewayModelModelAccessAclsArgs
                    {
                        Allows = new[]
                        {
                            "...",
                        },
                        Denies = new[]
                        {
                            "...",
                        },
                    },
                    AuthStrategies = new[]
                    {
                        "okta-ai-se",
                    },
                    IdentityProviders = new[]
                    {
                        "okta-ai-se",
                    },
                },
                Capabilities = new[]
                {
                    "audio/speech",
                },
                Config = new Konnect.Inputs.AiGatewayModelModelConfigArgs
                {
                    Balancer = new Konnect.Inputs.AiGatewayModelModelConfigBalancerArgs
                    {
                        Semantic = new Konnect.Inputs.AiGatewayModelModelConfigBalancerSemanticArgs
                        {
                            ConnectTimeout = 60000,
                            Embeddings = new Konnect.Inputs.AiGatewayModelModelConfigBalancerSemanticEmbeddingsArgs
                            {
                                AllowAuthOverride = false,
                                Config = new Konnect.Inputs.AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigArgs
                                {
                                    Ollama = new Konnect.Inputs.AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllamaArgs
                                    {
                                        UpstreamUrl = "...my_upstream_url...",
                                    },
                                },
                                Name = "...my_name...",
                                Provider = "azure-ai-se",
                            },
                            FailTimeout = 10000,
                            FailoverCriterias = new[]
                            {
                                "http_502",
                            },
                            MaxFails = 0,
                            ReadTimeout = 60000,
                            Retries = 5,
                            Slots = 10000,
                            Vectordb = new Konnect.Inputs.AiGatewayModelModelConfigBalancerSemanticVectordbArgs
                            {
                                Pgvector = new Konnect.Inputs.AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorArgs
                                {
                                    Database = "kong-pgvector",
                                    Dimensions = 6,
                                    DistanceMetric = "euclidean",
                                    Host = "127.0.0.1",
                                    Password = "...my_password...",
                                    Port = 5432,
                                    Ssl = new Konnect.Inputs.AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSslArgs
                                    {
                                        Cert = "...my_cert...",
                                        CertKey = "...my_cert_key...",
                                        Enabled = true,
                                        Required = true,
                                        Verify = true,
                                        Version = "tlsv1_2",
                                    },
                                    Threshold = 3.66,
                                    Timeout = 5000,
                                    User = "postgres",
                                },
                            },
                            WriteTimeout = 60000,
                        },
                    },
                    Logging = new Konnect.Inputs.AiGatewayModelModelConfigLoggingArgs
                    {
                        Payloads = false,
                    },
                    MaxRequestBodySize = 8388608,
                    Model = new Konnect.Inputs.AiGatewayModelModelConfigModelArgs
                    {
                        NameHeader = true,
                    },
                    Proxy = new Konnect.Inputs.AiGatewayModelModelConfigProxyArgs
                    {
                        Auth = new Konnect.Inputs.AiGatewayModelModelConfigProxyAuthArgs
                        {
                            Password = "...my_password...",
                            Username = "...my_username...",
                        },
                        HttpProxy = new Konnect.Inputs.AiGatewayModelModelConfigProxyHttpProxyArgs
                        {
                            Host = "...my_host...",
                            Port = 30633,
                        },
                        HttpsProxy = new Konnect.Inputs.AiGatewayModelModelConfigProxyHttpsProxyArgs
                        {
                            Host = "...my_host...",
                            Port = 29606,
                        },
                        NoProxy = "...my_no_proxy...",
                        ProxyScheme = "http",
                    },
                    ResponseStreaming = "allow",
                    Route = new Konnect.Inputs.AiGatewayModelModelConfigRouteArgs
                    {
                        Headers = 
                        {
                            { "key", JsonSerializer.Serialize("value") },
                        },
                        Hosts = new[]
                        {
                            "foo.example.com",
                        },
                        HttpsRedirectStatusCode = 426,
                        Methods = new[]
                        {
                            "...",
                        },
                        Model = new Konnect.Inputs.AiGatewayModelModelConfigRouteModelArgs
                        {
                            BodyParam = "model",
                            HeaderParam = "x-model",
                            PathParam = "model_name",
                            Values = new[]
                            {
                                "...",
                            },
                        },
                        Paths = new[]
                        {
                            "...",
                        },
                        PreserveHost = false,
                        Protocols = new[]
                        {
                            "...",
                        },
                        RegexPriority = 0,
                        RequestBuffering = true,
                        ResponseBuffering = true,
                        StripPath = true,
                        Tags = new[]
                        {
                            "...",
                        },
                    },
                },
                DisplayName = "My GPT 5 model",
                Enabled = true,
                Formats = new[]
                {
                    new Konnect.Inputs.AiGatewayModelModelFormatArgs
                    {
                        Type = "openai",
                    },
                },
                Labels = 
                {
                    { "key", "value" },
                },
                ManagedBy = 
                {
                    { "key", "value" },
                },
                Name = "my-gpt-5-model",
                Policies = new[]
                {
                    "...",
                },
                Targets = new[]
                {
                    new Konnect.Inputs.AiGatewayModelModelTargetArgs
                    {
                        AllowAuthOverride = false,
                        Config = new Konnect.Inputs.AiGatewayModelModelTargetConfigArgs
                        {
                            Databricks = new Konnect.Inputs.AiGatewayModelModelTargetConfigDatabricksArgs
                            {
                                CacheReadCost = 8.45,
                                CacheWriteCost = 3.62,
                                CacheWriteCostLists = new[]
                                {
                                    new Konnect.Inputs.AiGatewayModelModelTargetConfigDatabricksCacheWriteCostListArgs
                                    {
                                        Cost = 3.12,
                                        Ttl = "...my_ttl...",
                                    },
                                },
                                ContextWindowFactors = new[]
                                {
                                    new Konnect.Inputs.AiGatewayModelModelTargetConfigDatabricksContextWindowFactorArgs
                                    {
                                        Above = "...my_above...",
                                        InputFactor = 4.94,
                                        OutputFactor = 9.43,
                                    },
                                },
                                EmbeddingsDimensions = 1316728274,
                                InputCost = 9.06,
                                MaxTokens = 1585442569,
                                OutputCost = 7.78,
                                ServiceTierFactors = new[]
                                {
                                    new Konnect.Inputs.AiGatewayModelModelTargetConfigDatabricksServiceTierFactorArgs
                                    {
                                        Factor = 6.01,
                                        Tier = "...my_tier...",
                                    },
                                },
                                Temperature = 3.33,
                                TopK = 896181225,
                                TopP = 7.55,
                                UpstreamUrl = "https://distant-antelope.com",
                                WorkspaceInstanceId = "...my_workspace_instance_id...",
                            },
                        },
                        Name = "gpt-5-model",
                        Provider = "azure-ai-se",
                        SemanticDescription = "...my_semantic_description...",
                        Weight = 100,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.konnect.AiGatewayModel;
    import com.pulumi.konnect.AiGatewayModelArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiAccessArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiAccessAclsArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigBalancerArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigBalancerLowestLatencyArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigLoggingArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigProxyArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigProxyAuthArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigProxyHttpProxyArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigProxyHttpsProxyArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigRouteArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelApiConfigRouteModelArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelAccessArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelAccessAclsArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigBalancerArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigBalancerSemanticArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigBalancerSemanticEmbeddingsArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllamaArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigBalancerSemanticVectordbArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSslArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigLoggingArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigModelArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigProxyArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigProxyAuthArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigProxyHttpProxyArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigProxyHttpsProxyArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigRouteArgs;
    import com.pulumi.konnect.inputs.AiGatewayModelModelConfigRouteModelArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    import java.util.List;
    import java.util.ArrayList;
    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 myAigatewaymodel = new AiGatewayModel("myAigatewaymodel", AiGatewayModelArgs.builder()
                .api(AiGatewayModelApiArgs.builder()
                    .access(AiGatewayModelApiAccessArgs.builder()
                        .acls(AiGatewayModelApiAccessAclsArgs.builder()
                            .allows("...")
                            .denies("...")
                            .build())
                        .authStrategies("okta-ai-se")
                        .identityProviders("okta-ai-se")
                        .build())
                    .capabilities("files")
                    .config(AiGatewayModelApiConfigArgs.builder()
                        .balancer(AiGatewayModelApiConfigBalancerArgs.builder()
                            .lowestLatency(AiGatewayModelApiConfigBalancerLowestLatencyArgs.builder()
                                .connectTimeout(60000.0)
                                .failTimeout(10000.0)
                                .failoverCriterias("http_429")
                                .latencyStrategy("tpot")
                                .maxFails(0.0)
                                .readTimeout(60000.0)
                                .retries(5.0)
                                .slots(10000.0)
                                .writeTimeout(60000.0)
                                .build())
                            .build())
                        .logging(AiGatewayModelApiConfigLoggingArgs.builder()
                            .payloads(false)
                            .build())
                        .maxRequestBodySize(8388608.0)
                        .proxy(AiGatewayModelApiConfigProxyArgs.builder()
                            .auth(AiGatewayModelApiConfigProxyAuthArgs.builder()
                                .password("...my_password...")
                                .username("...my_username...")
                                .build())
                            .httpProxy(AiGatewayModelApiConfigProxyHttpProxyArgs.builder()
                                .host("...my_host...")
                                .port(29747.0)
                                .build())
                            .httpsProxy(AiGatewayModelApiConfigProxyHttpsProxyArgs.builder()
                                .host("...my_host...")
                                .port(12764.0)
                                .build())
                            .noProxy("...my_no_proxy...")
                            .proxyScheme("http")
                            .build())
                        .responseStreaming("allow")
                        .route(AiGatewayModelApiConfigRouteArgs.builder()
                            .headers(Map.of("key", serializeJson(
                                "value")))
                            .hosts("foo.example.com")
                            .httpsRedirectStatusCode(426.0)
                            .methods("...")
                            .model(AiGatewayModelApiConfigRouteModelArgs.builder()
                                .bodyParam("model")
                                .headerParam("x-model")
                                .pathParam("model_name")
                                .values("...")
                                .build())
                            .paths("...")
                            .preserveHost(false)
                            .protocols("...")
                            .regexPriority(0.0)
                            .requestBuffering(true)
                            .responseBuffering(true)
                            .stripPath(true)
                            .tags("...")
                            .build())
                        .build())
                    .displayName("My GPT 5 model")
                    .enabled(true)
                    .formats(AiGatewayModelApiFormatArgs.builder()
                        .type("openai")
                        .build())
                    .labels(Map.of("key", "value"))
                    .managedBy(Map.of("key", "value"))
                    .name("my-gpt-5-model")
                    .policies("...")
                    .targets(AiGatewayModelApiTargetArgs.builder()
                        .allowAuthOverride(false)
                        .config(AiGatewayModelApiTargetConfigArgs.builder()
                            .xai(AiGatewayModelApiTargetConfigXaiArgs.builder()
                                .cacheReadCost(4.42)
                                .cacheWriteCost(3.9)
                                .cacheWriteCostLists(AiGatewayModelApiTargetConfigXaiCacheWriteCostListArgs.builder()
                                    .cost(7.32)
                                    .ttl("...my_ttl...")
                                    .build())
                                .contextWindowFactors(AiGatewayModelApiTargetConfigXaiContextWindowFactorArgs.builder()
                                    .above("...my_above...")
                                    .inputFactor(1.42)
                                    .outputFactor(1.31)
                                    .build())
                                .embeddingsDimensions(1556463673.0)
                                .inputCost(3.7)
                                .maxTokens(1227329724.0)
                                .outputCost(6.56)
                                .serviceTierFactors(AiGatewayModelApiTargetConfigXaiServiceTierFactorArgs.builder()
                                    .factor(8.57)
                                    .tier("...my_tier...")
                                    .build())
                                .temperature(3.27)
                                .topK(483136424.0)
                                .topP(2.83)
                                .upstreamUrl("https://baggy-trash.biz/")
                                .build())
                            .build())
                        .name("gpt-5-model")
                        .provider("azure-ai-se")
                        .semanticDescription("...my_semantic_description...")
                        .weight(100.0)
                        .build())
                    .build())
                .gatewayId("5f9fd312-a987-4628-b4c5-bb4f4fddd5f7")
                .model(AiGatewayModelModelArgs.builder()
                    .access(AiGatewayModelModelAccessArgs.builder()
                        .acls(AiGatewayModelModelAccessAclsArgs.builder()
                            .allows("...")
                            .denies("...")
                            .build())
                        .authStrategies("okta-ai-se")
                        .identityProviders("okta-ai-se")
                        .build())
                    .capabilities("audio/speech")
                    .config(AiGatewayModelModelConfigArgs.builder()
                        .balancer(AiGatewayModelModelConfigBalancerArgs.builder()
                            .semantic(AiGatewayModelModelConfigBalancerSemanticArgs.builder()
                                .connectTimeout(60000.0)
                                .embeddings(AiGatewayModelModelConfigBalancerSemanticEmbeddingsArgs.builder()
                                    .allowAuthOverride(false)
                                    .config(AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigArgs.builder()
                                        .ollama(AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllamaArgs.builder()
                                            .upstreamUrl("...my_upstream_url...")
                                            .build())
                                        .build())
                                    .name("...my_name...")
                                    .provider("azure-ai-se")
                                    .build())
                                .failTimeout(10000.0)
                                .failoverCriterias("http_502")
                                .maxFails(0.0)
                                .readTimeout(60000.0)
                                .retries(5.0)
                                .slots(10000.0)
                                .vectordb(AiGatewayModelModelConfigBalancerSemanticVectordbArgs.builder()
                                    .pgvector(AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorArgs.builder()
                                        .database("kong-pgvector")
                                        .dimensions(6.0)
                                        .distanceMetric("euclidean")
                                        .host("127.0.0.1")
                                        .password("...my_password...")
                                        .port(5432.0)
                                        .ssl(AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSslArgs.builder()
                                            .cert("...my_cert...")
                                            .certKey("...my_cert_key...")
                                            .enabled(true)
                                            .required(true)
                                            .verify(true)
                                            .version("tlsv1_2")
                                            .build())
                                        .threshold(3.66)
                                        .timeout(5000.0)
                                        .user("postgres")
                                        .build())
                                    .build())
                                .writeTimeout(60000.0)
                                .build())
                            .build())
                        .logging(AiGatewayModelModelConfigLoggingArgs.builder()
                            .payloads(false)
                            .build())
                        .maxRequestBodySize(8388608.0)
                        .model(AiGatewayModelModelConfigModelArgs.builder()
                            .nameHeader(true)
                            .build())
                        .proxy(AiGatewayModelModelConfigProxyArgs.builder()
                            .auth(AiGatewayModelModelConfigProxyAuthArgs.builder()
                                .password("...my_password...")
                                .username("...my_username...")
                                .build())
                            .httpProxy(AiGatewayModelModelConfigProxyHttpProxyArgs.builder()
                                .host("...my_host...")
                                .port(30633.0)
                                .build())
                            .httpsProxy(AiGatewayModelModelConfigProxyHttpsProxyArgs.builder()
                                .host("...my_host...")
                                .port(29606.0)
                                .build())
                            .noProxy("...my_no_proxy...")
                            .proxyScheme("http")
                            .build())
                        .responseStreaming("allow")
                        .route(AiGatewayModelModelConfigRouteArgs.builder()
                            .headers(Map.of("key", serializeJson(
                                "value")))
                            .hosts("foo.example.com")
                            .httpsRedirectStatusCode(426.0)
                            .methods("...")
                            .model(AiGatewayModelModelConfigRouteModelArgs.builder()
                                .bodyParam("model")
                                .headerParam("x-model")
                                .pathParam("model_name")
                                .values("...")
                                .build())
                            .paths("...")
                            .preserveHost(false)
                            .protocols("...")
                            .regexPriority(0.0)
                            .requestBuffering(true)
                            .responseBuffering(true)
                            .stripPath(true)
                            .tags("...")
                            .build())
                        .build())
                    .displayName("My GPT 5 model")
                    .enabled(true)
                    .formats(AiGatewayModelModelFormatArgs.builder()
                        .type("openai")
                        .build())
                    .labels(Map.of("key", "value"))
                    .managedBy(Map.of("key", "value"))
                    .name("my-gpt-5-model")
                    .policies("...")
                    .targets(AiGatewayModelModelTargetArgs.builder()
                        .allowAuthOverride(false)
                        .config(AiGatewayModelModelTargetConfigArgs.builder()
                            .databricks(AiGatewayModelModelTargetConfigDatabricksArgs.builder()
                                .cacheReadCost(8.45)
                                .cacheWriteCost(3.62)
                                .cacheWriteCostLists(AiGatewayModelModelTargetConfigDatabricksCacheWriteCostListArgs.builder()
                                    .cost(3.12)
                                    .ttl("...my_ttl...")
                                    .build())
                                .contextWindowFactors(AiGatewayModelModelTargetConfigDatabricksContextWindowFactorArgs.builder()
                                    .above("...my_above...")
                                    .inputFactor(4.94)
                                    .outputFactor(9.43)
                                    .build())
                                .embeddingsDimensions(1316728274.0)
                                .inputCost(9.06)
                                .maxTokens(1585442569.0)
                                .outputCost(7.78)
                                .serviceTierFactors(AiGatewayModelModelTargetConfigDatabricksServiceTierFactorArgs.builder()
                                    .factor(6.01)
                                    .tier("...my_tier...")
                                    .build())
                                .temperature(3.33)
                                .topK(896181225.0)
                                .topP(7.55)
                                .upstreamUrl("https://distant-antelope.com")
                                .workspaceInstanceId("...my_workspace_instance_id...")
                                .build())
                            .build())
                        .name("gpt-5-model")
                        .provider("azure-ai-se")
                        .semanticDescription("...my_semantic_description...")
                        .weight(100.0)
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      myAigatewaymodel:
        type: konnect:AiGatewayModel
        name: my_aigatewaymodel
        properties:
          api:
            access:
              acls:
                allows:
                  - '...'
                denies:
                  - '...'
              authStrategies:
                - okta-ai-se
              identityProviders:
                - okta-ai-se
            capabilities:
              - files
            config:
              balancer:
                lowestLatency:
                  connectTimeout: 60000
                  failTimeout: 10000
                  failoverCriterias:
                    - http_429
                  latencyStrategy: tpot
                  maxFails: 0
                  readTimeout: 60000
                  retries: 5
                  slots: 10000
                  writeTimeout: 60000
              logging:
                payloads: false
              maxRequestBodySize: 8.388608e+06
              proxy:
                auth:
                  password: '...my_password...'
                  username: '...my_username...'
                httpProxy:
                  host: '...my_host...'
                  port: 29747
                httpsProxy:
                  host: '...my_host...'
                  port: 12764
                noProxy: '...my_no_proxy...'
                proxyScheme: http
              responseStreaming: allow
              route:
                headers:
                  key:
                    fn::toJSON: value
                hosts:
                  - foo.example.com
                httpsRedirectStatusCode: 426
                methods:
                  - '...'
                model:
                  bodyParam: model
                  headerParam: x-model
                  pathParam: model_name
                  values:
                    - '...'
                paths:
                  - '...'
                preserveHost: false
                protocols:
                  - '...'
                regexPriority: 0
                requestBuffering: true
                responseBuffering: true
                stripPath: true
                tags:
                  - '...'
            displayName: My GPT 5 model
            enabled: true
            formats:
              - type: openai
            labels:
              key: value
            managedBy:
              key: value
            name: my-gpt-5-model
            policies:
              - '...'
            targets:
              - allowAuthOverride: false
                config:
                  xai:
                    cacheReadCost: 4.42
                    cacheWriteCost: 3.9
                    cacheWriteCostLists:
                      - cost: 7.32
                        ttl: '...my_ttl...'
                    contextWindowFactors:
                      - above: '...my_above...'
                        inputFactor: 1.42
                        outputFactor: 1.31
                    embeddingsDimensions: 1.556463673e+09
                    inputCost: 3.7
                    maxTokens: 1.227329724e+09
                    outputCost: 6.56
                    serviceTierFactors:
                      - factor: 8.57
                        tier: '...my_tier...'
                    temperature: 3.27
                    topK: 4.83136424e+08
                    topP: 2.83
                    upstreamUrl: https://baggy-trash.biz/
                name: gpt-5-model
                provider: azure-ai-se
                semanticDescription: '...my_semantic_description...'
                weight: 100
          gatewayId: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7
          model:
            access:
              acls:
                allows:
                  - '...'
                denies:
                  - '...'
              authStrategies:
                - okta-ai-se
              identityProviders:
                - okta-ai-se
            capabilities:
              - audio/speech
            config:
              balancer:
                semantic:
                  connectTimeout: 60000
                  embeddings:
                    allowAuthOverride: false
                    config:
                      ollama:
                        upstreamUrl: '...my_upstream_url...'
                    name: '...my_name...'
                    provider: azure-ai-se
                  failTimeout: 10000
                  failoverCriterias:
                    - http_502
                  maxFails: 0
                  readTimeout: 60000
                  retries: 5
                  slots: 10000
                  vectordb:
                    pgvector:
                      database: kong-pgvector
                      dimensions: 6
                      distanceMetric: euclidean
                      host: 127.0.0.1
                      password: '...my_password...'
                      port: 5432
                      ssl:
                        cert: '...my_cert...'
                        certKey: '...my_cert_key...'
                        enabled: true
                        required: true
                        verify: true
                        version: tlsv1_2
                      threshold: 3.66
                      timeout: 5000
                      user: postgres
                  writeTimeout: 60000
              logging:
                payloads: false
              maxRequestBodySize: 8.388608e+06
              model:
                nameHeader: true
              proxy:
                auth:
                  password: '...my_password...'
                  username: '...my_username...'
                httpProxy:
                  host: '...my_host...'
                  port: 30633
                httpsProxy:
                  host: '...my_host...'
                  port: 29606
                noProxy: '...my_no_proxy...'
                proxyScheme: http
              responseStreaming: allow
              route:
                headers:
                  key:
                    fn::toJSON: value
                hosts:
                  - foo.example.com
                httpsRedirectStatusCode: 426
                methods:
                  - '...'
                model:
                  bodyParam: model
                  headerParam: x-model
                  pathParam: model_name
                  values:
                    - '...'
                paths:
                  - '...'
                preserveHost: false
                protocols:
                  - '...'
                regexPriority: 0
                requestBuffering: true
                responseBuffering: true
                stripPath: true
                tags:
                  - '...'
            displayName: My GPT 5 model
            enabled: true
            formats:
              - type: openai
            labels:
              key: value
            managedBy:
              key: value
            name: my-gpt-5-model
            policies:
              - '...'
            targets:
              - allowAuthOverride: false
                config:
                  databricks:
                    cacheReadCost: 8.45
                    cacheWriteCost: 3.62
                    cacheWriteCostLists:
                      - cost: 3.12
                        ttl: '...my_ttl...'
                    contextWindowFactors:
                      - above: '...my_above...'
                        inputFactor: 4.94
                        outputFactor: 9.43
                    embeddingsDimensions: 1.316728274e+09
                    inputCost: 9.06
                    maxTokens: 1.585442569e+09
                    outputCost: 7.78
                    serviceTierFactors:
                      - factor: 6.01
                        tier: '...my_tier...'
                    temperature: 3.33
                    topK: 8.96181225e+08
                    topP: 7.55
                    upstreamUrl: https://distant-antelope.com
                    workspaceInstanceId: '...my_workspace_instance_id...'
                name: gpt-5-model
                provider: azure-ai-se
                semanticDescription: '...my_semantic_description...'
                weight: 100
    
    Example coming soon!
    

    Create AiGatewayModel Resource

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

    Constructor syntax

    new AiGatewayModel(name: string, args: AiGatewayModelArgs, opts?: CustomResourceOptions);
    @overload
    def AiGatewayModel(resource_name: str,
                       args: AiGatewayModelArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiGatewayModel(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       gateway_id: Optional[str] = None,
                       api: Optional[AiGatewayModelApiArgs] = None,
                       model: Optional[AiGatewayModelModelArgs] = None)
    func NewAiGatewayModel(ctx *Context, name string, args AiGatewayModelArgs, opts ...ResourceOption) (*AiGatewayModel, error)
    public AiGatewayModel(string name, AiGatewayModelArgs args, CustomResourceOptions? opts = null)
    public AiGatewayModel(String name, AiGatewayModelArgs args)
    public AiGatewayModel(String name, AiGatewayModelArgs args, CustomResourceOptions options)
    
    type: konnect:AiGatewayModel
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "konnect_ai_gateway_model" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AiGatewayModelArgs
    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 AiGatewayModelArgs
    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 AiGatewayModelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiGatewayModelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiGatewayModelArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AiGatewayModel 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 AiGatewayModel resource accepts the following input properties:

    GatewayId string
    The unique ID of the AI Gateway.
    Api AiGatewayModelApi
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    Model AiGatewayModelModel
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    GatewayId string
    The unique ID of the AI Gateway.
    Api AiGatewayModelApiArgs
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    Model AiGatewayModelModelArgs
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    gateway_id string
    The unique ID of the AI Gateway.
    api object
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    model object
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    gatewayId String
    The unique ID of the AI Gateway.
    api AiGatewayModelApi
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    model AiGatewayModelModel
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    gatewayId string
    The unique ID of the AI Gateway.
    api AiGatewayModelApi
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    model AiGatewayModelModel
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    gateway_id str
    The unique ID of the AI Gateway.
    api AiGatewayModelApiArgs
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    model AiGatewayModelModelArgs
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    gatewayId String
    The unique ID of the AI Gateway.
    api Property Map
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    model Property Map
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.

    Outputs

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

    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    DisplayName string
    The display name for this model instance.
    Enabled bool
    Whether the model is enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    DisplayName string
    The display name for this model instance.
    Enabled bool
    Whether the model is enabled.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    display_name string
    The display name for this model instance.
    enabled bool
    Whether the model is enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    displayName String
    The display name for this model instance.
    enabled Boolean
    Whether the model is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    displayName string
    The display name for this model instance.
    enabled boolean
    Whether the model is enabled.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    display_name str
    The display name for this model instance.
    enabled bool
    Whether the model is enabled.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    displayName String
    The display name for this model instance.
    enabled Boolean
    Whether the model is enabled.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Look up Existing AiGatewayModel Resource

    Get an existing AiGatewayModel 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?: AiGatewayModelState, opts?: CustomResourceOptions): AiGatewayModel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            api: Optional[AiGatewayModelApiArgs] = None,
            created_at: Optional[str] = None,
            display_name: Optional[str] = None,
            enabled: Optional[bool] = None,
            gateway_id: Optional[str] = None,
            model: Optional[AiGatewayModelModelArgs] = None,
            name: Optional[str] = None,
            updated_at: Optional[str] = None) -> AiGatewayModel
    func GetAiGatewayModel(ctx *Context, name string, id IDInput, state *AiGatewayModelState, opts ...ResourceOption) (*AiGatewayModel, error)
    public static AiGatewayModel Get(string name, Input<string> id, AiGatewayModelState? state, CustomResourceOptions? opts = null)
    public static AiGatewayModel get(String name, Output<String> id, AiGatewayModelState state, CustomResourceOptions options)
    resources:  _:    type: konnect:AiGatewayModel    get:      id: ${id}
    import {
      to = konnect_ai_gateway_model.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:
    Api AiGatewayModelApi
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    DisplayName string
    The display name for this model instance.
    Enabled bool
    Whether the model is enabled.
    GatewayId string
    The unique ID of the AI Gateway.
    Model AiGatewayModelModel
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    Name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Api AiGatewayModelApiArgs
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    DisplayName string
    The display name for this model instance.
    Enabled bool
    Whether the model is enabled.
    GatewayId string
    The unique ID of the AI Gateway.
    Model AiGatewayModelModelArgs
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    Name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    api object
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    display_name string
    The display name for this model instance.
    enabled bool
    Whether the model is enabled.
    gateway_id string
    The unique ID of the AI Gateway.
    model object
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    api AiGatewayModelApi
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    displayName String
    The display name for this model instance.
    enabled Boolean
    Whether the model is enabled.
    gatewayId String
    The unique ID of the AI Gateway.
    model AiGatewayModelModel
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    name String
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    api AiGatewayModelApi
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    displayName string
    The display name for this model instance.
    enabled boolean
    Whether the model is enabled.
    gatewayId string
    The unique ID of the AI Gateway.
    model AiGatewayModelModel
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    api AiGatewayModelApiArgs
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    display_name str
    The display name for this model instance.
    enabled bool
    Whether the model is enabled.
    gateway_id str
    The unique ID of the AI Gateway.
    model AiGatewayModelModelArgs
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    name str
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    api Property Map
    Configuration for proxying asynchronous requests/responses to/from an AI Gateway model using the files and batches APIs.
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    displayName String
    The display name for this model instance.
    enabled Boolean
    Whether the model is enabled.
    gatewayId String
    The unique ID of the AI Gateway.
    model Property Map
    Configuration for proxying synchronous requests/responses to/from an AI Gateway model using generative APIs.
    name String
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    Supporting Types

    AiGatewayModelApi, AiGatewayModelApiArgs

    Access AiGatewayModelApiAccess
    Access control configuration for a model.
    Capabilities List<string>
    List of AI capabilities enabled for this API model. Not Null
    Config AiGatewayModelApiConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    DisplayName string
    The display name for this model instance. Not Null
    Enabled bool
    Whether the model is enabled. Default: true
    Formats List<AiGatewayModelApiFormat>
    List of request/response formats supported by this model. Not Null
    Id string
    Contains a unique identifier used for this resource.
    Labels Dictionary<string, string>
    Public labels store information about an entity that can be used for filtering a list of objects.
    ManagedBy Dictionary<string, string>
    Name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    Policies List<string>
    List of policy references.
    Targets List<AiGatewayModelApiTarget>
    One or more backend models that this model entry routes to. Not Null
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Access AiGatewayModelApiAccess
    Access control configuration for a model.
    Capabilities []string
    List of AI capabilities enabled for this API model. Not Null
    Config AiGatewayModelApiConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    DisplayName string
    The display name for this model instance. Not Null
    Enabled bool
    Whether the model is enabled. Default: true
    Formats []AiGatewayModelApiFormat
    List of request/response formats supported by this model. Not Null
    Id string
    Contains a unique identifier used for this resource.
    Labels map[string]string
    Public labels store information about an entity that can be used for filtering a list of objects.
    ManagedBy map[string]string
    Name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    Policies []string
    List of policy references.
    Targets []AiGatewayModelApiTarget
    One or more backend models that this model entry routes to. Not Null
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    access object
    Access control configuration for a model.
    capabilities list(string)
    List of AI capabilities enabled for this API model. Not Null
    config object
    Routing, logging, and load balancing configuration for the model. Not Null
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    display_name string
    The display name for this model instance. Not Null
    enabled bool
    Whether the model is enabled. Default: true
    formats list(object)
    List of request/response formats supported by this model. Not Null
    id string
    Contains a unique identifier used for this resource.
    labels map(string)
    Public labels store information about an entity that can be used for filtering a list of objects.
    managed_by map(string)
    name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies list(string)
    List of policy references.
    targets list(object)
    One or more backend models that this model entry routes to. Not Null
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    access AiGatewayModelApiAccess
    Access control configuration for a model.
    capabilities List<String>
    List of AI capabilities enabled for this API model. Not Null
    config AiGatewayModelApiConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    displayName String
    The display name for this model instance. Not Null
    enabled Boolean
    Whether the model is enabled. Default: true
    formats List<AiGatewayModelApiFormat>
    List of request/response formats supported by this model. Not Null
    id String
    Contains a unique identifier used for this resource.
    labels Map<String,String>
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy Map<String,String>
    name String
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies List<String>
    List of policy references.
    targets List<AiGatewayModelApiTarget>
    One or more backend models that this model entry routes to. Not Null
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    access AiGatewayModelApiAccess
    Access control configuration for a model.
    capabilities string[]
    List of AI capabilities enabled for this API model. Not Null
    config AiGatewayModelApiConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    displayName string
    The display name for this model instance. Not Null
    enabled boolean
    Whether the model is enabled. Default: true
    formats AiGatewayModelApiFormat[]
    List of request/response formats supported by this model. Not Null
    id string
    Contains a unique identifier used for this resource.
    labels {[key: string]: string}
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy {[key: string]: string}
    name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies string[]
    List of policy references.
    targets AiGatewayModelApiTarget[]
    One or more backend models that this model entry routes to. Not Null
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    access AiGatewayModelApiAccess
    Access control configuration for a model.
    capabilities Sequence[str]
    List of AI capabilities enabled for this API model. Not Null
    config AiGatewayModelApiConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    display_name str
    The display name for this model instance. Not Null
    enabled bool
    Whether the model is enabled. Default: true
    formats Sequence[AiGatewayModelApiFormat]
    List of request/response formats supported by this model. Not Null
    id str
    Contains a unique identifier used for this resource.
    labels Mapping[str, str]
    Public labels store information about an entity that can be used for filtering a list of objects.
    managed_by Mapping[str, str]
    name str
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies Sequence[str]
    List of policy references.
    targets Sequence[AiGatewayModelApiTarget]
    One or more backend models that this model entry routes to. Not Null
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    access Property Map
    Access control configuration for a model.
    capabilities List<String>
    List of AI capabilities enabled for this API model. Not Null
    config Property Map
    Routing, logging, and load balancing configuration for the model. Not Null
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    displayName String
    The display name for this model instance. Not Null
    enabled Boolean
    Whether the model is enabled. Default: true
    formats List<Property Map>
    List of request/response formats supported by this model. Not Null
    id String
    Contains a unique identifier used for this resource.
    labels Map<String>
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy Map<String>
    name String
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies List<String>
    List of policy references.
    targets List<Property Map>
    One or more backend models that this model entry routes to. Not Null
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    AiGatewayModelApiAccess, AiGatewayModelApiAccessArgs

    Acls AiGatewayModelApiAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    AuthStrategies List<string>
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    IdentityProviders List<string>
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    Acls AiGatewayModelApiAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    AuthStrategies []string
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    IdentityProviders []string
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls object
    Access control rules. Configure exactly one of allow or deny.
    auth_strategies list(string)
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identity_providers list(string)
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls AiGatewayModelApiAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    authStrategies List<String>
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identityProviders List<String>
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls AiGatewayModelApiAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    authStrategies string[]
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identityProviders string[]
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls AiGatewayModelApiAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    auth_strategies Sequence[str]
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identity_providers Sequence[str]
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls Property Map
    Access control rules. Configure exactly one of allow or deny.
    authStrategies List<String>
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identityProviders List<String>
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    AiGatewayModelApiAccessAcls, AiGatewayModelApiAccessAclsArgs

    Allows List<string>
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    Denies List<string>
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    Allows []string
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    Denies []string
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows list(string)
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies list(string)
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows List<String>
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies List<String>
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows string[]
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies string[]
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows Sequence[str]
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies Sequence[str]
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows List<String>
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies List<String>
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.

    AiGatewayModelApiConfig, AiGatewayModelApiConfigArgs

    Balancer AiGatewayModelApiConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    Logging AiGatewayModelApiConfigLogging
    Configuration for AI Gateway logging.
    MaxRequestBodySize double
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    Proxy AiGatewayModelApiConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    ResponseStreaming string
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    Route AiGatewayModelApiConfigRoute
    Configuration for an AI Gateway route. Not Null
    Balancer AiGatewayModelApiConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    Logging AiGatewayModelApiConfigLogging
    Configuration for AI Gateway logging.
    MaxRequestBodySize float64
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    Proxy AiGatewayModelApiConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    ResponseStreaming string
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    Route AiGatewayModelApiConfigRoute
    Configuration for an AI Gateway route. Not Null
    balancer object
    Configuration for a model's load balancer when multiple target models are configured.
    logging object
    Configuration for AI Gateway logging.
    max_request_body_size number
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    proxy object
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    response_streaming string
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route object
    Configuration for an AI Gateway route. Not Null
    balancer AiGatewayModelApiConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    logging AiGatewayModelApiConfigLogging
    Configuration for AI Gateway logging.
    maxRequestBodySize Double
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    proxy AiGatewayModelApiConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    responseStreaming String
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route AiGatewayModelApiConfigRoute
    Configuration for an AI Gateway route. Not Null
    balancer AiGatewayModelApiConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    logging AiGatewayModelApiConfigLogging
    Configuration for AI Gateway logging.
    maxRequestBodySize number
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    proxy AiGatewayModelApiConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    responseStreaming string
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route AiGatewayModelApiConfigRoute
    Configuration for an AI Gateway route. Not Null
    balancer AiGatewayModelApiConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    logging AiGatewayModelApiConfigLogging
    Configuration for AI Gateway logging.
    max_request_body_size float
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    proxy AiGatewayModelApiConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    response_streaming str
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route AiGatewayModelApiConfigRoute
    Configuration for an AI Gateway route. Not Null
    balancer Property Map
    Configuration for a model's load balancer when multiple target models are configured.
    logging Property Map
    Configuration for AI Gateway logging.
    maxRequestBodySize Number
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    proxy Property Map
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    responseStreaming String
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route Property Map
    Configuration for an AI Gateway route. Not Null

    AiGatewayModelApiConfigBalancer, AiGatewayModelApiConfigBalancerArgs

    AiGatewayModelApiConfigBalancerConsistentHashing, AiGatewayModelApiConfigBalancerConsistentHashingArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    HashOnHeader string
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    HashOnHeader string
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hash_on_header string
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hashOnHeader String
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hashOnHeader string
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hash_on_header str
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hashOnHeader String
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelApiConfigBalancerLeastConnections, AiGatewayModelApiConfigBalancerLeastConnectionsArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelApiConfigBalancerLowestLatency, AiGatewayModelApiConfigBalancerLowestLatencyArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    LatencyStrategy string
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    LatencyStrategy string
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latency_strategy string
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latencyStrategy String
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latencyStrategy string
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latency_strategy str
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latencyStrategy String
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelApiConfigBalancerLowestUsage, AiGatewayModelApiConfigBalancerLowestUsageArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    TokensCountStrategy string
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    TokensCountStrategy string
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    tokens_count_strategy string
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    tokensCountStrategy String
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    tokensCountStrategy string
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    tokens_count_strategy str
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    tokensCountStrategy String
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    writeTimeout Number
    Default: 60000

    AiGatewayModelApiConfigBalancerPriority, AiGatewayModelApiConfigBalancerPriorityArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelApiConfigBalancerRoundRobin, AiGatewayModelApiConfigBalancerRoundRobinArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelApiConfigBalancerSemantic, AiGatewayModelApiConfigBalancerSemanticArgs

    ConnectTimeout double
    Default: 60000
    Embeddings AiGatewayModelApiConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    Vectordb AiGatewayModelApiConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    Embeddings AiGatewayModelApiConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    Vectordb AiGatewayModelApiConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    embeddings object
    Embeddings model configuration for this model. Not Null
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb object
    Configuration for the vector database used by the model. Not Null
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    embeddings AiGatewayModelApiConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb AiGatewayModelApiConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    embeddings AiGatewayModelApiConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb AiGatewayModelApiConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    embeddings AiGatewayModelApiConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb AiGatewayModelApiConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    embeddings Property Map
    Embeddings model configuration for this model. Not Null
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb Property Map
    Configuration for the vector database used by the model. Not Null
    writeTimeout Number
    Default: 60000

    AiGatewayModelApiConfigBalancerSemanticEmbeddings, AiGatewayModelApiConfigBalancerSemanticEmbeddingsArgs

    AllowAuthOverride bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    Config AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    Name string
    The name of the embeddings model. Not Null
    Provider string
    Reference to a model provider instance by name. Not Null
    AllowAuthOverride bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    Config AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    Name string
    The name of the embeddings model. Not Null
    Provider string
    Reference to a model provider instance by name. Not Null
    allow_auth_override bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config object
    Configuration for an embeddings model. Not Null
    name string
    The name of the embeddings model. Not Null
    provider string
    Reference to a model provider instance by name. Not Null
    allowAuthOverride Boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    name String
    The name of the embeddings model. Not Null
    provider String
    Reference to a model provider instance by name. Not Null
    allowAuthOverride boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    name string
    The name of the embeddings model. Not Null
    provider string
    Reference to a model provider instance by name. Not Null
    allow_auth_override bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    name str
    The name of the embeddings model. Not Null
    provider str
    Reference to a model provider instance by name. Not Null
    allowAuthOverride Boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config Property Map
    Configuration for an embeddings model. Not Null
    name String
    The name of the embeddings model. Not Null
    provider String
    Reference to a model provider instance by name. Not Null

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfig, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigArgs

    Azure AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    Bedrock AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    Gemini AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    Huggingface AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    Mistral AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigMistral
    Ollama AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    Openai AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    Azure AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    Bedrock AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    Gemini AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    Huggingface AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    Mistral AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigMistral
    Ollama AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    Openai AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    azure object
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock object
    AWS Bedrock-specific configuration for a model.
    gemini object
    Google Gemini-specific configuration for a model.
    huggingface object
    Hugging Face-specific configuration for a model.
    mistral object
    ollama object
    Ollama-specific configuration for a model.
    openai object
    Openai-specific configuration for a model.
    azure AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    gemini AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    mistral AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigMistral
    ollama AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    azure AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    gemini AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    mistral AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigMistral
    ollama AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    azure AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    gemini AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    mistral AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigMistral
    ollama AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    azure Property Map
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock Property Map
    AWS Bedrock-specific configuration for a model.
    gemini Property Map
    Google Gemini-specific configuration for a model.
    huggingface Property Map
    Hugging Face-specific configuration for a model.
    mistral Property Map
    ollama Property Map
    Ollama-specific configuration for a model.
    openai Property Map
    Openai-specific configuration for a model.

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigAzure, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigAzureArgs

    ApiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    DeploymentId string
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    Type string
    Not Null; must be "azure"
    UpstreamUrl string
    The URL of the embeddings model.
    ApiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    DeploymentId string
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    Type string
    Not Null; must be "azure"
    UpstreamUrl string
    The URL of the embeddings model.
    api_version string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deployment_id string
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type string
    Not Null; must be "azure"
    upstream_url string
    The URL of the embeddings model.
    apiVersion String
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deploymentId String
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type String
    Not Null; must be "azure"
    upstreamUrl String
    The URL of the embeddings model.
    apiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deploymentId string
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type string
    Not Null; must be "azure"
    upstreamUrl string
    The URL of the embeddings model.
    api_version str
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deployment_id str
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type str
    Not Null; must be "azure"
    upstream_url str
    The URL of the embeddings model.
    apiVersion String
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deploymentId String
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type String
    Not Null; must be "azure"
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigBedrock, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigBedrockArgs

    BatchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    EmbeddingsNormalize bool
    Whether to normalize embedding vectors in the response. Default: false
    PerformanceConfigLatency string
    Latency performance configuration for the model invocation.
    Region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    UpstreamUrl string
    The URL of the embeddings model.
    VideoOutputS3Uri string
    S3 URI for storing video generation outputs.
    BatchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    EmbeddingsNormalize bool
    Whether to normalize embedding vectors in the response. Default: false
    PerformanceConfigLatency string
    Latency performance configuration for the model invocation.
    Region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    UpstreamUrl string
    The URL of the embeddings model.
    VideoOutputS3Uri string
    S3 URI for storing video generation outputs.
    batch_bucket_prefix string
    S3 bucket prefix for batch inference jobs.
    embeddings_normalize bool
    Whether to normalize embedding vectors in the response. Default: false
    performance_config_latency string
    Latency performance configuration for the model invocation.
    region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstream_url string
    The URL of the embeddings model.
    video_output_s3_uri string
    S3 URI for storing video generation outputs.
    batchBucketPrefix String
    S3 bucket prefix for batch inference jobs.
    embeddingsNormalize Boolean
    Whether to normalize embedding vectors in the response. Default: false
    performanceConfigLatency String
    Latency performance configuration for the model invocation.
    region String
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstreamUrl String
    The URL of the embeddings model.
    videoOutputS3Uri String
    S3 URI for storing video generation outputs.
    batchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    embeddingsNormalize boolean
    Whether to normalize embedding vectors in the response. Default: false
    performanceConfigLatency string
    Latency performance configuration for the model invocation.
    region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstreamUrl string
    The URL of the embeddings model.
    videoOutputS3Uri string
    S3 URI for storing video generation outputs.
    batch_bucket_prefix str
    S3 bucket prefix for batch inference jobs.
    embeddings_normalize bool
    Whether to normalize embedding vectors in the response. Default: false
    performance_config_latency str
    Latency performance configuration for the model invocation.
    region str
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstream_url str
    The URL of the embeddings model.
    video_output_s3_uri str
    S3 URI for storing video generation outputs.
    batchBucketPrefix String
    S3 bucket prefix for batch inference jobs.
    embeddingsNormalize Boolean
    Whether to normalize embedding vectors in the response. Default: false
    performanceConfigLatency String
    Latency performance configuration for the model invocation.
    region String
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstreamUrl String
    The URL of the embeddings model.
    videoOutputS3Uri String
    S3 URI for storing video generation outputs.

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGemini, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGeminiArgs

    GcpEnvironment AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    UpstreamUrl string
    The URL of the embeddings model.
    GcpEnvironment AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    UpstreamUrl string
    The URL of the embeddings model.
    gcp_environment object
    Configuration for a model hosted on Google Cloud Project.
    upstream_url string
    The URL of the embeddings model.
    gcpEnvironment AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    upstreamUrl String
    The URL of the embeddings model.
    gcpEnvironment AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    upstreamUrl string
    The URL of the embeddings model.
    gcp_environment AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    upstream_url str
    The URL of the embeddings model.
    gcpEnvironment Property Map
    Configuration for a model hosted on Google Cloud Project.
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironmentArgs

    ApiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    LocationId string
    The Google Cloud location ID for the model endpoint. Not Null
    ProjectId string
    The Google Cloud project ID for the model endpoint. Not Null
    ApiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    LocationId string
    The Google Cloud location ID for the model endpoint. Not Null
    ProjectId string
    The Google Cloud project ID for the model endpoint. Not Null
    api_endpoint string
    The custom API endpoint for the Gemini model. Not Null
    location_id string
    The Google Cloud location ID for the model endpoint. Not Null
    project_id string
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint String
    The custom API endpoint for the Gemini model. Not Null
    locationId String
    The Google Cloud location ID for the model endpoint. Not Null
    projectId String
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    locationId string
    The Google Cloud location ID for the model endpoint. Not Null
    projectId string
    The Google Cloud project ID for the model endpoint. Not Null
    api_endpoint str
    The custom API endpoint for the Gemini model. Not Null
    location_id str
    The Google Cloud location ID for the model endpoint. Not Null
    project_id str
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint String
    The custom API endpoint for the Gemini model. Not Null
    locationId String
    The Google Cloud location ID for the model endpoint. Not Null
    projectId String
    The Google Cloud project ID for the model endpoint. Not Null

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigHuggingface, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigHuggingfaceArgs

    UpstreamUrl string
    The URL of the embeddings model.
    UseCache bool
    Whether to use the Hugging Face inference cache. Default: false
    WaitForModel bool
    Whether to wait for the model to load if it is not ready. Default: false
    UpstreamUrl string
    The URL of the embeddings model.
    UseCache bool
    Whether to use the Hugging Face inference cache. Default: false
    WaitForModel bool
    Whether to wait for the model to load if it is not ready. Default: false
    upstream_url string
    The URL of the embeddings model.
    use_cache bool
    Whether to use the Hugging Face inference cache. Default: false
    wait_for_model bool
    Whether to wait for the model to load if it is not ready. Default: false
    upstreamUrl String
    The URL of the embeddings model.
    useCache Boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel Boolean
    Whether to wait for the model to load if it is not ready. Default: false
    upstreamUrl string
    The URL of the embeddings model.
    useCache boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel boolean
    Whether to wait for the model to load if it is not ready. Default: false
    upstream_url str
    The URL of the embeddings model.
    use_cache bool
    Whether to use the Hugging Face inference cache. Default: false
    wait_for_model bool
    Whether to wait for the model to load if it is not ready. Default: false
    upstreamUrl String
    The URL of the embeddings model.
    useCache Boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel Boolean
    Whether to wait for the model to load if it is not ready. Default: false

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigMistral, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigMistralArgs

    Type string
    Not Null; must be "mistral"
    UpstreamUrl string
    The URL of the embeddings model.
    Type string
    Not Null; must be "mistral"
    UpstreamUrl string
    The URL of the embeddings model.
    type string
    Not Null; must be "mistral"
    upstream_url string
    The URL of the embeddings model.
    type String
    Not Null; must be "mistral"
    upstreamUrl String
    The URL of the embeddings model.
    type string
    Not Null; must be "mistral"
    upstreamUrl string
    The URL of the embeddings model.
    type str
    Not Null; must be "mistral"
    upstream_url str
    The URL of the embeddings model.
    type String
    Not Null; must be "mistral"
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOllama, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOllamaArgs

    UpstreamUrl string
    The URL of the embeddings model.
    UpstreamUrl string
    The URL of the embeddings model.
    upstream_url string
    The URL of the embeddings model.
    upstreamUrl String
    The URL of the embeddings model.
    upstreamUrl string
    The URL of the embeddings model.
    upstream_url str
    The URL of the embeddings model.
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOpenai, AiGatewayModelApiConfigBalancerSemanticEmbeddingsConfigOpenaiArgs

    UpstreamUrl string
    The URL of the embeddings model.
    UpstreamUrl string
    The URL of the embeddings model.
    upstream_url string
    The URL of the embeddings model.
    upstreamUrl String
    The URL of the embeddings model.
    upstreamUrl string
    The URL of the embeddings model.
    upstream_url str
    The URL of the embeddings model.
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelApiConfigBalancerSemanticVectordb, AiGatewayModelApiConfigBalancerSemanticVectordbArgs

    pgvector object
    redis object
    Config for connecting to a Cloud Provider's Redis instance.
    pgvector Property Map
    redis Property Map
    Config for connecting to a Cloud Provider's Redis instance.

    AiGatewayModelApiConfigBalancerSemanticVectordbPgvector, AiGatewayModelApiConfigBalancerSemanticVectordbPgvectorArgs

    Database string
    the database of the pgvector database. Default: "kong-pgvector"
    Dimensions double
    the desired dimensionality for the vectors. Not Null
    DistanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    Host string
    the host of the pgvector database. Default: "127.0.0.1"
    Password string
    the password of the pgvector database This field is referenceable.
    Port double
    the port of the pgvector database. Default: 5432
    Ssl AiGatewayModelApiConfigBalancerSemanticVectordbPgvectorSsl
    Threshold double
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    Timeout double
    the timeout of the pgvector database. Default: 5000
    User string
    the user of the pgvector database This field is referenceable. Default: "postgres"
    Database string
    the database of the pgvector database. Default: "kong-pgvector"
    Dimensions float64
    the desired dimensionality for the vectors. Not Null
    DistanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    Host string
    the host of the pgvector database. Default: "127.0.0.1"
    Password string
    the password of the pgvector database This field is referenceable.
    Port float64
    the port of the pgvector database. Default: 5432
    Ssl AiGatewayModelApiConfigBalancerSemanticVectordbPgvectorSsl
    Threshold float64
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    Timeout float64
    the timeout of the pgvector database. Default: 5000
    User string
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database string
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions number
    the desired dimensionality for the vectors. Not Null
    distance_metric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host string
    the host of the pgvector database. Default: "127.0.0.1"
    password string
    the password of the pgvector database This field is referenceable.
    port number
    the port of the pgvector database. Default: 5432
    ssl object
    threshold number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout number
    the timeout of the pgvector database. Default: 5000
    user string
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database String
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions Double
    the desired dimensionality for the vectors. Not Null
    distanceMetric String
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host String
    the host of the pgvector database. Default: "127.0.0.1"
    password String
    the password of the pgvector database This field is referenceable.
    port Double
    the port of the pgvector database. Default: 5432
    ssl AiGatewayModelApiConfigBalancerSemanticVectordbPgvectorSsl
    threshold Double
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout Double
    the timeout of the pgvector database. Default: 5000
    user String
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database string
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions number
    the desired dimensionality for the vectors. Not Null
    distanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host string
    the host of the pgvector database. Default: "127.0.0.1"
    password string
    the password of the pgvector database This field is referenceable.
    port number
    the port of the pgvector database. Default: 5432
    ssl AiGatewayModelApiConfigBalancerSemanticVectordbPgvectorSsl
    threshold number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout number
    the timeout of the pgvector database. Default: 5000
    user string
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database str
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions float
    the desired dimensionality for the vectors. Not Null
    distance_metric str
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host str
    the host of the pgvector database. Default: "127.0.0.1"
    password str
    the password of the pgvector database This field is referenceable.
    port float
    the port of the pgvector database. Default: 5432
    ssl AiGatewayModelApiConfigBalancerSemanticVectordbPgvectorSsl
    threshold float
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout float
    the timeout of the pgvector database. Default: 5000
    user str
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database String
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions Number
    the desired dimensionality for the vectors. Not Null
    distanceMetric String
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host String
    the host of the pgvector database. Default: "127.0.0.1"
    password String
    the password of the pgvector database This field is referenceable.
    port Number
    the port of the pgvector database. Default: 5432
    ssl Property Map
    threshold Number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout Number
    the timeout of the pgvector database. Default: 5000
    user String
    the user of the pgvector database This field is referenceable. Default: "postgres"

    AiGatewayModelApiConfigBalancerSemanticVectordbPgvectorSsl, AiGatewayModelApiConfigBalancerSemanticVectordbPgvectorSslArgs

    Cert string
    the path of ssl cert to use for the pgvector database
    CertKey string
    the path of ssl cert key to use for the pgvector database
    Enabled bool
    whether to use ssl for the pgvector database. Default: true
    Required bool
    whether ssl is required for the pgvector database. Default: true
    Verify bool
    whether to verify ssl for the pgvector database. Default: true
    Version string
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    Cert string
    the path of ssl cert to use for the pgvector database
    CertKey string
    the path of ssl cert key to use for the pgvector database
    Enabled bool
    whether to use ssl for the pgvector database. Default: true
    Required bool
    whether ssl is required for the pgvector database. Default: true
    Verify bool
    whether to verify ssl for the pgvector database. Default: true
    Version string
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert string
    the path of ssl cert to use for the pgvector database
    cert_key string
    the path of ssl cert key to use for the pgvector database
    enabled bool
    whether to use ssl for the pgvector database. Default: true
    required bool
    whether ssl is required for the pgvector database. Default: true
    verify bool
    whether to verify ssl for the pgvector database. Default: true
    version string
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert String
    the path of ssl cert to use for the pgvector database
    certKey String
    the path of ssl cert key to use for the pgvector database
    enabled Boolean
    whether to use ssl for the pgvector database. Default: true
    required Boolean
    whether ssl is required for the pgvector database. Default: true
    verify Boolean
    whether to verify ssl for the pgvector database. Default: true
    version String
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert string
    the path of ssl cert to use for the pgvector database
    certKey string
    the path of ssl cert key to use for the pgvector database
    enabled boolean
    whether to use ssl for the pgvector database. Default: true
    required boolean
    whether ssl is required for the pgvector database. Default: true
    verify boolean
    whether to verify ssl for the pgvector database. Default: true
    version string
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert str
    the path of ssl cert to use for the pgvector database
    cert_key str
    the path of ssl cert key to use for the pgvector database
    enabled bool
    whether to use ssl for the pgvector database. Default: true
    required bool
    whether ssl is required for the pgvector database. Default: true
    verify bool
    whether to verify ssl for the pgvector database. Default: true
    version str
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert String
    the path of ssl cert to use for the pgvector database
    certKey String
    the path of ssl cert key to use for the pgvector database
    enabled Boolean
    whether to use ssl for the pgvector database. Default: true
    required Boolean
    whether ssl is required for the pgvector database. Default: true
    verify Boolean
    whether to verify ssl for the pgvector database. Default: true
    version String
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"

    AiGatewayModelApiConfigBalancerSemanticVectordbRedis, AiGatewayModelApiConfigBalancerSemanticVectordbRedisArgs

    CloudAuthentication AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    Cluster AiGatewayModelApiConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    ConnectTimeout double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    ConnectionIsProxied bool
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    Database double
    Database to use for the Redis connection when using the redis strategy. Default: 0
    Dimensions double
    the desired dimensionality for the vectors. Not Null
    DistanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    Host string
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    Keepalive AiGatewayModelApiConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    Password string
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    Port string
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    ReadTimeout double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    SendTimeout double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    Sentinel AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    ServerName string
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    Ssl bool
    If set to true, uses SSL to connect to Redis. Default: true
    SslVerify bool
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    Threshold double
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    Username string
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    CloudAuthentication AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    Cluster AiGatewayModelApiConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    ConnectTimeout float64
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    ConnectionIsProxied bool
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    Database float64
    Database to use for the Redis connection when using the redis strategy. Default: 0
    Dimensions float64
    the desired dimensionality for the vectors. Not Null
    DistanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    Host string
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    Keepalive AiGatewayModelApiConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    Password string
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    Port string
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    ReadTimeout float64
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    SendTimeout float64
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    Sentinel AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    ServerName string
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    Ssl bool
    If set to true, uses SSL to connect to Redis. Default: true
    SslVerify bool
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    Threshold float64
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    Username string
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloud_authentication object
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster object
    Cluster configuration for the Redis connection.
    connect_timeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connection_is_proxied bool
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database number
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions number
    the desired dimensionality for the vectors. Not Null
    distance_metric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host string
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive object
    Keepalive configuration for the Redis connection.
    password string
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port string
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    read_timeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    send_timeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel object
    Configuration for Redis Sentinel.
    server_name string
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl bool
    If set to true, uses SSL to connect to Redis. Default: true
    ssl_verify bool
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username string
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloudAuthentication AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster AiGatewayModelApiConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    connectTimeout Double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connectionIsProxied Boolean
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database Double
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions Double
    the desired dimensionality for the vectors. Not Null
    distanceMetric String
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host String
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive AiGatewayModelApiConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    password String
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port String
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    readTimeout Double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sendTimeout Double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    serverName String
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl Boolean
    If set to true, uses SSL to connect to Redis. Default: true
    sslVerify Boolean
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold Double
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username String
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloudAuthentication AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster AiGatewayModelApiConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    connectTimeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connectionIsProxied boolean
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database number
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions number
    the desired dimensionality for the vectors. Not Null
    distanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host string
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive AiGatewayModelApiConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    password string
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port string
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    readTimeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sendTimeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    serverName string
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl boolean
    If set to true, uses SSL to connect to Redis. Default: true
    sslVerify boolean
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username string
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloud_authentication AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster AiGatewayModelApiConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    connect_timeout float
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connection_is_proxied bool
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database float
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions float
    the desired dimensionality for the vectors. Not Null
    distance_metric str
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host str
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive AiGatewayModelApiConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    password str
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port str
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    read_timeout float
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    send_timeout float
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    server_name str
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl bool
    If set to true, uses SSL to connect to Redis. Default: true
    ssl_verify bool
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold float
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username str
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloudAuthentication Property Map
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster Property Map
    Cluster configuration for the Redis connection.
    connectTimeout Number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connectionIsProxied Boolean
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database Number
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions Number
    the desired dimensionality for the vectors. Not Null
    distanceMetric String
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host String
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive Property Map
    Keepalive configuration for the Redis connection.
    password String
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port String
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    readTimeout Number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sendTimeout Number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel Property Map
    Configuration for Redis Sentinel.
    serverName String
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl Boolean
    If set to true, uses SSL to connect to Redis. Default: true
    sslVerify Boolean
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold Number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username String
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthentication, AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationArgs

    Aws AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    Azure AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    Gcp AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    Aws AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    Azure AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    Gcp AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws object
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure object
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp object
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws Property Map
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure Property Map
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp Property Map
    GCP specific configs for connecting to a Cloud Provider's redis instance.

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAws, AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAwsArgs

    AccessKeyId string
    AWS Access Key ID to be used for authentication. This field is referenceable.
    AssumeRoleArn string
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    CacheName string
    The name of the AWS Elasticache cluster. This field is referenceable.
    IsServerless bool
    This flag specifies whether the cluster is serverless. Default: true
    Region string
    The region of the AWS ElastiCache cluster. This field is referenceable.
    RoleSessionName string
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    SecretAccessKey string
    AWS Secret Access Key. This field is referenceable.
    AccessKeyId string
    AWS Access Key ID to be used for authentication. This field is referenceable.
    AssumeRoleArn string
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    CacheName string
    The name of the AWS Elasticache cluster. This field is referenceable.
    IsServerless bool
    This flag specifies whether the cluster is serverless. Default: true
    Region string
    The region of the AWS ElastiCache cluster. This field is referenceable.
    RoleSessionName string
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    SecretAccessKey string
    AWS Secret Access Key. This field is referenceable.
    access_key_id string
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assume_role_arn string
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cache_name string
    The name of the AWS Elasticache cluster. This field is referenceable.
    is_serverless bool
    This flag specifies whether the cluster is serverless. Default: true
    region string
    The region of the AWS ElastiCache cluster. This field is referenceable.
    role_session_name string
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secret_access_key string
    AWS Secret Access Key. This field is referenceable.
    accessKeyId String
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assumeRoleArn String
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cacheName String
    The name of the AWS Elasticache cluster. This field is referenceable.
    isServerless Boolean
    This flag specifies whether the cluster is serverless. Default: true
    region String
    The region of the AWS ElastiCache cluster. This field is referenceable.
    roleSessionName String
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secretAccessKey String
    AWS Secret Access Key. This field is referenceable.
    accessKeyId string
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assumeRoleArn string
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cacheName string
    The name of the AWS Elasticache cluster. This field is referenceable.
    isServerless boolean
    This flag specifies whether the cluster is serverless. Default: true
    region string
    The region of the AWS ElastiCache cluster. This field is referenceable.
    roleSessionName string
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secretAccessKey string
    AWS Secret Access Key. This field is referenceable.
    access_key_id str
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assume_role_arn str
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cache_name str
    The name of the AWS Elasticache cluster. This field is referenceable.
    is_serverless bool
    This flag specifies whether the cluster is serverless. Default: true
    region str
    The region of the AWS ElastiCache cluster. This field is referenceable.
    role_session_name str
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secret_access_key str
    AWS Secret Access Key. This field is referenceable.
    accessKeyId String
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assumeRoleArn String
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cacheName String
    The name of the AWS Elasticache cluster. This field is referenceable.
    isServerless Boolean
    This flag specifies whether the cluster is serverless. Default: true
    region String
    The region of the AWS ElastiCache cluster. This field is referenceable.
    roleSessionName String
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secretAccessKey String
    AWS Secret Access Key. This field is referenceable.

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure, AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationAzureArgs

    ClientId string
    Azure Client ID. This field is referenceable.
    ClientSecret string
    Azure Client Secret. This field is referenceable.
    TenantId string
    Azure Tenant ID. This field is referenceable.
    ClientId string
    Azure Client ID. This field is referenceable.
    ClientSecret string
    Azure Client Secret. This field is referenceable.
    TenantId string
    Azure Tenant ID. This field is referenceable.
    client_id string
    Azure Client ID. This field is referenceable.
    client_secret string
    Azure Client Secret. This field is referenceable.
    tenant_id string
    Azure Tenant ID. This field is referenceable.
    clientId String
    Azure Client ID. This field is referenceable.
    clientSecret String
    Azure Client Secret. This field is referenceable.
    tenantId String
    Azure Tenant ID. This field is referenceable.
    clientId string
    Azure Client ID. This field is referenceable.
    clientSecret string
    Azure Client Secret. This field is referenceable.
    tenantId string
    Azure Tenant ID. This field is referenceable.
    client_id str
    Azure Client ID. This field is referenceable.
    client_secret str
    Azure Client Secret. This field is referenceable.
    tenant_id str
    Azure Tenant ID. This field is referenceable.
    clientId String
    Azure Client ID. This field is referenceable.
    clientSecret String
    Azure Client Secret. This field is referenceable.
    tenantId String
    Azure Tenant ID. This field is referenceable.

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp, AiGatewayModelApiConfigBalancerSemanticVectordbRedisCloudAuthenticationGcpArgs

    ServiceAccountJson string
    GCP Service Account JSON. This field is referenceable.
    ServiceAccountJson string
    GCP Service Account JSON. This field is referenceable.
    service_account_json string
    GCP Service Account JSON. This field is referenceable.
    serviceAccountJson String
    GCP Service Account JSON. This field is referenceable.
    serviceAccountJson string
    GCP Service Account JSON. This field is referenceable.
    service_account_json str
    GCP Service Account JSON. This field is referenceable.
    serviceAccountJson String
    GCP Service Account JSON. This field is referenceable.

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisCluster, AiGatewayModelApiConfigBalancerSemanticVectordbRedisClusterArgs

    MaxRedirections double
    Maximum retry attempts for redirection. Default: 5
    Nodes List<AiGatewayModelApiConfigBalancerSemanticVectordbRedisClusterNode>
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    MaxRedirections float64
    Maximum retry attempts for redirection. Default: 5
    Nodes []AiGatewayModelApiConfigBalancerSemanticVectordbRedisClusterNode
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    max_redirections number
    Maximum retry attempts for redirection. Default: 5
    nodes list(object)
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    maxRedirections Double
    Maximum retry attempts for redirection. Default: 5
    nodes List<AiGatewayModelApiConfigBalancerSemanticVectordbRedisClusterNode>
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    maxRedirections number
    Maximum retry attempts for redirection. Default: 5
    nodes AiGatewayModelApiConfigBalancerSemanticVectordbRedisClusterNode[]
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    max_redirections float
    Maximum retry attempts for redirection. Default: 5
    nodes Sequence[AiGatewayModelApiConfigBalancerSemanticVectordbRedisClusterNode]
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    maxRedirections Number
    Maximum retry attempts for redirection. Default: 5
    nodes List<Property Map>
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisClusterNode, AiGatewayModelApiConfigBalancerSemanticVectordbRedisClusterNodeArgs

    Ip string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    Port double
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    Ip string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    Port float64
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip String
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port Double
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip str
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port float
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip String
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port Number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisKeepalive, AiGatewayModelApiConfigBalancerSemanticVectordbRedisKeepaliveArgs

    Backlog double
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    PoolSize double
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    Backlog float64
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    PoolSize float64
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog number
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    pool_size number
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog Double
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    poolSize Double
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog number
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    poolSize number
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog float
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    pool_size float
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog Number
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    poolSize Number
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinel, AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinelArgs

    Master string
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    Nodes List<AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinelNode>
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    Password string
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    Role string
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    Username string
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    Master string
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    Nodes []AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinelNode
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    Password string
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    Role string
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    Username string
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master string
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes list(object)
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password string
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role string
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username string
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master String
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes List<AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinelNode>
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password String
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role String
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username String
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master string
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinelNode[]
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password string
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role string
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username string
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master str
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes Sequence[AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinelNode]
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password str
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role str
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username str
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master String
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes List<Property Map>
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password String
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role String
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username String
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.

    AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinelNode, AiGatewayModelApiConfigBalancerSemanticVectordbRedisSentinelNodeArgs

    Host string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    Port double
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    Host string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    Port float64
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host String
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port Double
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host str
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port float
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host String
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port Number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379

    AiGatewayModelApiConfigLogging, AiGatewayModelApiConfigLoggingArgs

    Payloads bool
    Default: false
    Payloads bool
    Default: false
    payloads bool
    Default: false
    payloads Boolean
    Default: false
    payloads boolean
    Default: false
    payloads bool
    Default: false
    payloads Boolean
    Default: false

    AiGatewayModelApiConfigProxy, AiGatewayModelApiConfigProxyArgs

    Auth AiGatewayModelApiConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    HttpProxy AiGatewayModelApiConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    HttpsProxy AiGatewayModelApiConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    NoProxy string
    Comma-separated list of hosts that should not be proxied.
    ProxyScheme string
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    Auth AiGatewayModelApiConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    HttpProxy AiGatewayModelApiConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    HttpsProxy AiGatewayModelApiConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    NoProxy string
    Comma-separated list of hosts that should not be proxied.
    ProxyScheme string
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth object
    Credentials used to authenticate to the proxy server.
    http_proxy object
    HTTP proxy server to route plaintext outbound requests through.
    https_proxy object
    HTTPS proxy server to route TLS outbound requests through.
    no_proxy string
    Comma-separated list of hosts that should not be proxied.
    proxy_scheme string
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth AiGatewayModelApiConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    httpProxy AiGatewayModelApiConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    httpsProxy AiGatewayModelApiConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    noProxy String
    Comma-separated list of hosts that should not be proxied.
    proxyScheme String
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth AiGatewayModelApiConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    httpProxy AiGatewayModelApiConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    httpsProxy AiGatewayModelApiConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    noProxy string
    Comma-separated list of hosts that should not be proxied.
    proxyScheme string
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth AiGatewayModelApiConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    http_proxy AiGatewayModelApiConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    https_proxy AiGatewayModelApiConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    no_proxy str
    Comma-separated list of hosts that should not be proxied.
    proxy_scheme str
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth Property Map
    Credentials used to authenticate to the proxy server.
    httpProxy Property Map
    HTTP proxy server to route plaintext outbound requests through.
    httpsProxy Property Map
    HTTPS proxy server to route TLS outbound requests through.
    noProxy String
    Comma-separated list of hosts that should not be proxied.
    proxyScheme String
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"

    AiGatewayModelApiConfigProxyAuth, AiGatewayModelApiConfigProxyAuthArgs

    Password string
    The password to use for proxy authentication. This field is referenceable.
    Username string
    The username to use for proxy authentication. This field is referenceable.
    Password string
    The password to use for proxy authentication. This field is referenceable.
    Username string
    The username to use for proxy authentication. This field is referenceable.
    password string
    The password to use for proxy authentication. This field is referenceable.
    username string
    The username to use for proxy authentication. This field is referenceable.
    password String
    The password to use for proxy authentication. This field is referenceable.
    username String
    The username to use for proxy authentication. This field is referenceable.
    password string
    The password to use for proxy authentication. This field is referenceable.
    username string
    The username to use for proxy authentication. This field is referenceable.
    password str
    The password to use for proxy authentication. This field is referenceable.
    username str
    The username to use for proxy authentication. This field is referenceable.
    password String
    The password to use for proxy authentication. This field is referenceable.
    username String
    The username to use for proxy authentication. This field is referenceable.

    AiGatewayModelApiConfigProxyHttpProxy, AiGatewayModelApiConfigProxyHttpProxyArgs

    Host string
    A string representing a host name, such as example.com.
    Port double
    An integer representing a port number between 0 and 65535, inclusive.
    Host string
    A string representing a host name, such as example.com.
    Port float64
    An integer representing a port number between 0 and 65535, inclusive.
    host string
    A string representing a host name, such as example.com.
    port number
    An integer representing a port number between 0 and 65535, inclusive.
    host String
    A string representing a host name, such as example.com.
    port Double
    An integer representing a port number between 0 and 65535, inclusive.
    host string
    A string representing a host name, such as example.com.
    port number
    An integer representing a port number between 0 and 65535, inclusive.
    host str
    A string representing a host name, such as example.com.
    port float
    An integer representing a port number between 0 and 65535, inclusive.
    host String
    A string representing a host name, such as example.com.
    port Number
    An integer representing a port number between 0 and 65535, inclusive.

    AiGatewayModelApiConfigProxyHttpsProxy, AiGatewayModelApiConfigProxyHttpsProxyArgs

    Host string
    A string representing a host name, such as example.com.
    Port double
    An integer representing a port number between 0 and 65535, inclusive.
    Host string
    A string representing a host name, such as example.com.
    Port float64
    An integer representing a port number between 0 and 65535, inclusive.
    host string
    A string representing a host name, such as example.com.
    port number
    An integer representing a port number between 0 and 65535, inclusive.
    host String
    A string representing a host name, such as example.com.
    port Double
    An integer representing a port number between 0 and 65535, inclusive.
    host string
    A string representing a host name, such as example.com.
    port number
    An integer representing a port number between 0 and 65535, inclusive.
    host str
    A string representing a host name, such as example.com.
    port float
    An integer representing a port number between 0 and 65535, inclusive.
    host String
    A string representing a host name, such as example.com.
    port Number
    An integer representing a port number between 0 and 65535, inclusive.

    AiGatewayModelApiConfigRoute, AiGatewayModelApiConfigRouteArgs

    Headers Dictionary<string, string>
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    Hosts List<string>
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    HttpsRedirectStatusCode double
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    Methods List<string>
    A list of HTTP methods that match this route.
    Model AiGatewayModelApiConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    Paths List<string>
    A list of paths that match this route.
    PreserveHost bool
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    Protocols List<string>
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    RegexPriority double
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    RequestBuffering bool
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    ResponseBuffering bool
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    StripPath bool
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    Tags List<string>
    An optional set of strings associated with the route for grouping and filtering.
    Headers map[string]string
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    Hosts []string
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    HttpsRedirectStatusCode float64
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    Methods []string
    A list of HTTP methods that match this route.
    Model AiGatewayModelApiConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    Paths []string
    A list of paths that match this route.
    PreserveHost bool
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    Protocols []string
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    RegexPriority float64
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    RequestBuffering bool
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    ResponseBuffering bool
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    StripPath bool
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    Tags []string
    An optional set of strings associated with the route for grouping and filtering.
    headers map(string)
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts list(string)
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    https_redirect_status_code number
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods list(string)
    A list of HTTP methods that match this route.
    model object
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths list(string)
    A list of paths that match this route.
    preserve_host bool
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols list(string)
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regex_priority number
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    request_buffering bool
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    response_buffering bool
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    strip_path bool
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags list(string)
    An optional set of strings associated with the route for grouping and filtering.
    headers Map<String,String>
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts List<String>
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    httpsRedirectStatusCode Double
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods List<String>
    A list of HTTP methods that match this route.
    model AiGatewayModelApiConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths List<String>
    A list of paths that match this route.
    preserveHost Boolean
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols List<String>
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regexPriority Double
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    requestBuffering Boolean
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    responseBuffering Boolean
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    stripPath Boolean
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags List<String>
    An optional set of strings associated with the route for grouping and filtering.
    headers {[key: string]: string}
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts string[]
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    httpsRedirectStatusCode number
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods string[]
    A list of HTTP methods that match this route.
    model AiGatewayModelApiConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths string[]
    A list of paths that match this route.
    preserveHost boolean
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols string[]
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regexPriority number
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    requestBuffering boolean
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    responseBuffering boolean
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    stripPath boolean
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags string[]
    An optional set of strings associated with the route for grouping and filtering.
    headers Mapping[str, str]
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts Sequence[str]
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    https_redirect_status_code float
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods Sequence[str]
    A list of HTTP methods that match this route.
    model AiGatewayModelApiConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths Sequence[str]
    A list of paths that match this route.
    preserve_host bool
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols Sequence[str]
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regex_priority float
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    request_buffering bool
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    response_buffering bool
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    strip_path bool
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags Sequence[str]
    An optional set of strings associated with the route for grouping and filtering.
    headers Map<String>
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts List<String>
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    httpsRedirectStatusCode Number
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods List<String>
    A list of HTTP methods that match this route.
    model Property Map
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths List<String>
    A list of paths that match this route.
    preserveHost Boolean
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols List<String>
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regexPriority Number
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    requestBuffering Boolean
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    responseBuffering Boolean
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    stripPath Boolean
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags List<String>
    An optional set of strings associated with the route for grouping and filtering.

    AiGatewayModelApiConfigRouteModel, AiGatewayModelApiConfigRouteModelArgs

    BodyParam string
    The body property name to match for routing.
    HeaderParam string
    The header property name to match for routing.
    PathParam string
    The name of the regex capture group defined in the route path for routing.
    Values List<string>
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    BodyParam string
    The body property name to match for routing.
    HeaderParam string
    The header property name to match for routing.
    PathParam string
    The name of the regex capture group defined in the route path for routing.
    Values []string
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    body_param string
    The body property name to match for routing.
    header_param string
    The header property name to match for routing.
    path_param string
    The name of the regex capture group defined in the route path for routing.
    values list(string)
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    bodyParam String
    The body property name to match for routing.
    headerParam String
    The header property name to match for routing.
    pathParam String
    The name of the regex capture group defined in the route path for routing.
    values List<String>
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    bodyParam string
    The body property name to match for routing.
    headerParam string
    The header property name to match for routing.
    pathParam string
    The name of the regex capture group defined in the route path for routing.
    values string[]
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    body_param str
    The body property name to match for routing.
    header_param str
    The header property name to match for routing.
    path_param str
    The name of the regex capture group defined in the route path for routing.
    values Sequence[str]
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    bodyParam String
    The body property name to match for routing.
    headerParam String
    The header property name to match for routing.
    pathParam String
    The name of the regex capture group defined in the route path for routing.
    values List<String>
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.

    AiGatewayModelApiFormat, AiGatewayModelApiFormatArgs

    Type string
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    Type string
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type string
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type String
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type string
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type str
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type String
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]

    AiGatewayModelApiTarget, AiGatewayModelApiTargetArgs

    AllowAuthOverride bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    Config AiGatewayModelApiTargetConfig
    Configuration for a target model. Not Null
    Name string
    The name of the model defined in the upstream provider that will be executed. Not Null
    Provider string
    Reference to a model provider instance by name. Not Null
    SemanticDescription string
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    Weight double
    The weight this target gets within the upstream load balancer. Default: 100
    AllowAuthOverride bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    Config AiGatewayModelApiTargetConfig
    Configuration for a target model. Not Null
    Name string
    The name of the model defined in the upstream provider that will be executed. Not Null
    Provider string
    Reference to a model provider instance by name. Not Null
    SemanticDescription string
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    Weight float64
    The weight this target gets within the upstream load balancer. Default: 100
    allow_auth_override bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config object
    Configuration for a target model. Not Null
    name string
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider string
    Reference to a model provider instance by name. Not Null
    semantic_description string
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight number
    The weight this target gets within the upstream load balancer. Default: 100
    allowAuthOverride Boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelApiTargetConfig
    Configuration for a target model. Not Null
    name String
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider String
    Reference to a model provider instance by name. Not Null
    semanticDescription String
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight Double
    The weight this target gets within the upstream load balancer. Default: 100
    allowAuthOverride boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelApiTargetConfig
    Configuration for a target model. Not Null
    name string
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider string
    Reference to a model provider instance by name. Not Null
    semanticDescription string
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight number
    The weight this target gets within the upstream load balancer. Default: 100
    allow_auth_override bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelApiTargetConfig
    Configuration for a target model. Not Null
    name str
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider str
    Reference to a model provider instance by name. Not Null
    semantic_description str
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight float
    The weight this target gets within the upstream load balancer. Default: 100
    allowAuthOverride Boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config Property Map
    Configuration for a target model. Not Null
    name String
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider String
    Reference to a model provider instance by name. Not Null
    semanticDescription String
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight Number
    The weight this target gets within the upstream load balancer. Default: 100

    AiGatewayModelApiTargetConfig, AiGatewayModelApiTargetConfigArgs

    Anthropic AiGatewayModelApiTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    Azure AiGatewayModelApiTargetConfigAzure
    Azure-specific configuration for a model.
    Bedrock AiGatewayModelApiTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    Cerebras AiGatewayModelApiTargetConfigCerebras
    Cerebras-specific configuration for a model.
    Cohere AiGatewayModelApiTargetConfigCohere
    Cohere-specific configuration for a model.
    Dashscope AiGatewayModelApiTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    Databricks AiGatewayModelApiTargetConfigDatabricks
    Databricks-specific configuration for a model.
    Deepseek AiGatewayModelApiTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    Gemini AiGatewayModelApiTargetConfigGemini
    Google Gemini-specific configuration for a model.
    Huggingface AiGatewayModelApiTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    Kimi AiGatewayModelApiTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    Llama2 AiGatewayModelApiTargetConfigLlama2
    Llama2-specific configuration for a model.
    Mistral AiGatewayModelApiTargetConfigMistral
    Mistral-specific configuration for a model.
    Ollama AiGatewayModelApiTargetConfigOllama
    Ollama-specific configuration for a model.
    Openai AiGatewayModelApiTargetConfigOpenai
    Openai-specific configuration for a model.
    Sagemaker AiGatewayModelApiTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    Vercel AiGatewayModelApiTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    Vllm AiGatewayModelApiTargetConfigVllm
    Vllm-specific configuration for a model.
    Xai AiGatewayModelApiTargetConfigXai
    Xai-specific configuration for a model.
    Anthropic AiGatewayModelApiTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    Azure AiGatewayModelApiTargetConfigAzure
    Azure-specific configuration for a model.
    Bedrock AiGatewayModelApiTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    Cerebras AiGatewayModelApiTargetConfigCerebras
    Cerebras-specific configuration for a model.
    Cohere AiGatewayModelApiTargetConfigCohere
    Cohere-specific configuration for a model.
    Dashscope AiGatewayModelApiTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    Databricks AiGatewayModelApiTargetConfigDatabricks
    Databricks-specific configuration for a model.
    Deepseek AiGatewayModelApiTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    Gemini AiGatewayModelApiTargetConfigGemini
    Google Gemini-specific configuration for a model.
    Huggingface AiGatewayModelApiTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    Kimi AiGatewayModelApiTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    Llama2 AiGatewayModelApiTargetConfigLlama2
    Llama2-specific configuration for a model.
    Mistral AiGatewayModelApiTargetConfigMistral
    Mistral-specific configuration for a model.
    Ollama AiGatewayModelApiTargetConfigOllama
    Ollama-specific configuration for a model.
    Openai AiGatewayModelApiTargetConfigOpenai
    Openai-specific configuration for a model.
    Sagemaker AiGatewayModelApiTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    Vercel AiGatewayModelApiTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    Vllm AiGatewayModelApiTargetConfigVllm
    Vllm-specific configuration for a model.
    Xai AiGatewayModelApiTargetConfigXai
    Xai-specific configuration for a model.
    anthropic object
    Anthropic-specific configuration for a model.
    azure object
    Azure-specific configuration for a model.
    bedrock object
    AWS Bedrock-specific configuration for a model.
    cerebras object
    Cerebras-specific configuration for a model.
    cohere object
    Cohere-specific configuration for a model.
    dashscope object
    Alibaba DashScope-specific configuration for a model.
    databricks object
    Databricks-specific configuration for a model.
    deepseek object
    Deepseek-specific configuration for a model.
    gemini object
    Google Gemini-specific configuration for a model.
    huggingface object
    Hugging Face-specific configuration for a model.
    kimi object
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 object
    Llama2-specific configuration for a model.
    mistral object
    Mistral-specific configuration for a model.
    ollama object
    Ollama-specific configuration for a model.
    openai object
    Openai-specific configuration for a model.
    sagemaker object
    AWS SageMaker-specific configuration for a model.
    vercel object
    Vercel AI Gateway-specific configuration for a model.
    vllm object
    Vllm-specific configuration for a model.
    xai object
    Xai-specific configuration for a model.
    anthropic AiGatewayModelApiTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    azure AiGatewayModelApiTargetConfigAzure
    Azure-specific configuration for a model.
    bedrock AiGatewayModelApiTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    cerebras AiGatewayModelApiTargetConfigCerebras
    Cerebras-specific configuration for a model.
    cohere AiGatewayModelApiTargetConfigCohere
    Cohere-specific configuration for a model.
    dashscope AiGatewayModelApiTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    databricks AiGatewayModelApiTargetConfigDatabricks
    Databricks-specific configuration for a model.
    deepseek AiGatewayModelApiTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    gemini AiGatewayModelApiTargetConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelApiTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    kimi AiGatewayModelApiTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 AiGatewayModelApiTargetConfigLlama2
    Llama2-specific configuration for a model.
    mistral AiGatewayModelApiTargetConfigMistral
    Mistral-specific configuration for a model.
    ollama AiGatewayModelApiTargetConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelApiTargetConfigOpenai
    Openai-specific configuration for a model.
    sagemaker AiGatewayModelApiTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    vercel AiGatewayModelApiTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    vllm AiGatewayModelApiTargetConfigVllm
    Vllm-specific configuration for a model.
    xai AiGatewayModelApiTargetConfigXai
    Xai-specific configuration for a model.
    anthropic AiGatewayModelApiTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    azure AiGatewayModelApiTargetConfigAzure
    Azure-specific configuration for a model.
    bedrock AiGatewayModelApiTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    cerebras AiGatewayModelApiTargetConfigCerebras
    Cerebras-specific configuration for a model.
    cohere AiGatewayModelApiTargetConfigCohere
    Cohere-specific configuration for a model.
    dashscope AiGatewayModelApiTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    databricks AiGatewayModelApiTargetConfigDatabricks
    Databricks-specific configuration for a model.
    deepseek AiGatewayModelApiTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    gemini AiGatewayModelApiTargetConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelApiTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    kimi AiGatewayModelApiTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 AiGatewayModelApiTargetConfigLlama2
    Llama2-specific configuration for a model.
    mistral AiGatewayModelApiTargetConfigMistral
    Mistral-specific configuration for a model.
    ollama AiGatewayModelApiTargetConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelApiTargetConfigOpenai
    Openai-specific configuration for a model.
    sagemaker AiGatewayModelApiTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    vercel AiGatewayModelApiTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    vllm AiGatewayModelApiTargetConfigVllm
    Vllm-specific configuration for a model.
    xai AiGatewayModelApiTargetConfigXai
    Xai-specific configuration for a model.
    anthropic AiGatewayModelApiTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    azure AiGatewayModelApiTargetConfigAzure
    Azure-specific configuration for a model.
    bedrock AiGatewayModelApiTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    cerebras AiGatewayModelApiTargetConfigCerebras
    Cerebras-specific configuration for a model.
    cohere AiGatewayModelApiTargetConfigCohere
    Cohere-specific configuration for a model.
    dashscope AiGatewayModelApiTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    databricks AiGatewayModelApiTargetConfigDatabricks
    Databricks-specific configuration for a model.
    deepseek AiGatewayModelApiTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    gemini AiGatewayModelApiTargetConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelApiTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    kimi AiGatewayModelApiTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 AiGatewayModelApiTargetConfigLlama2
    Llama2-specific configuration for a model.
    mistral AiGatewayModelApiTargetConfigMistral
    Mistral-specific configuration for a model.
    ollama AiGatewayModelApiTargetConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelApiTargetConfigOpenai
    Openai-specific configuration for a model.
    sagemaker AiGatewayModelApiTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    vercel AiGatewayModelApiTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    vllm AiGatewayModelApiTargetConfigVllm
    Vllm-specific configuration for a model.
    xai AiGatewayModelApiTargetConfigXai
    Xai-specific configuration for a model.
    anthropic Property Map
    Anthropic-specific configuration for a model.
    azure Property Map
    Azure-specific configuration for a model.
    bedrock Property Map
    AWS Bedrock-specific configuration for a model.
    cerebras Property Map
    Cerebras-specific configuration for a model.
    cohere Property Map
    Cohere-specific configuration for a model.
    dashscope Property Map
    Alibaba DashScope-specific configuration for a model.
    databricks Property Map
    Databricks-specific configuration for a model.
    deepseek Property Map
    Deepseek-specific configuration for a model.
    gemini Property Map
    Google Gemini-specific configuration for a model.
    huggingface Property Map
    Hugging Face-specific configuration for a model.
    kimi Property Map
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 Property Map
    Llama2-specific configuration for a model.
    mistral Property Map
    Mistral-specific configuration for a model.
    ollama Property Map
    Ollama-specific configuration for a model.
    openai Property Map
    Openai-specific configuration for a model.
    sagemaker Property Map
    AWS SageMaker-specific configuration for a model.
    vercel Property Map
    Vercel AI Gateway-specific configuration for a model.
    vllm Property Map
    Vllm-specific configuration for a model.
    xai Property Map
    Xai-specific configuration for a model.

    AiGatewayModelApiTargetConfigAnthropic, AiGatewayModelApiTargetConfigAnthropicArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigAnthropicCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigAnthropicContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigAnthropicServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    Version string
    The Anthropic API version to use. Default: "2023-06-01"
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigAnthropicCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigAnthropicContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigAnthropicServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    Version string
    The Anthropic API version to use. Default: "2023-06-01"
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    version string
    The Anthropic API version to use. Default: "2023-06-01"
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigAnthropicCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigAnthropicContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigAnthropicServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    version String
    The Anthropic API version to use. Default: "2023-06-01"
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigAnthropicCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigAnthropicContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigAnthropicServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    version string
    The Anthropic API version to use. Default: "2023-06-01"
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigAnthropicCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigAnthropicContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigAnthropicServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    version str
    The Anthropic API version to use. Default: "2023-06-01"
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    version String
    The Anthropic API version to use. Default: "2023-06-01"

    AiGatewayModelApiTargetConfigAnthropicCacheWriteCostList, AiGatewayModelApiTargetConfigAnthropicCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigAnthropicContextWindowFactor, AiGatewayModelApiTargetConfigAnthropicContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigAnthropicServiceTierFactor, AiGatewayModelApiTargetConfigAnthropicServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigAzure, AiGatewayModelApiTargetConfigAzureArgs

    ApiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigAzureCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigAzureContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    DeploymentId string
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    FoundryPathPrefix string
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigAzureServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    ApiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigAzureCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigAzureContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    DeploymentId string
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    FoundryPathPrefix string
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigAzureServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    api_version string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deployment_id string
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    foundry_path_prefix string
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    apiVersion String
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigAzureCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigAzureContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deploymentId String
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    foundryPathPrefix String
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigAzureServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    apiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigAzureCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigAzureContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deploymentId string
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    foundryPathPrefix string
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigAzureServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    api_version str
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigAzureCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigAzureContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deployment_id str
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    foundry_path_prefix str
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigAzureServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    apiVersion String
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deploymentId String
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    foundryPathPrefix String
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigAzureCacheWriteCostList, AiGatewayModelApiTargetConfigAzureCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigAzureContextWindowFactor, AiGatewayModelApiTargetConfigAzureContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigAzureServiceTierFactor, AiGatewayModelApiTargetConfigAzureServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigBedrock, AiGatewayModelApiTargetConfigBedrockArgs

    BatchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigBedrockCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigBedrockContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    EmbeddingsNormalize bool
    Whether to normalize embedding vectors in the response. Default: false
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    PerformanceConfigLatency string
    Latency performance configuration for the model invocation.
    Region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigBedrockServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    VideoOutputS3Uri string
    S3 URI for storing video generation outputs.
    BatchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigBedrockCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigBedrockContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    EmbeddingsNormalize bool
    Whether to normalize embedding vectors in the response. Default: false
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    PerformanceConfigLatency string
    Latency performance configuration for the model invocation.
    Region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    ServiceTierFactors []AiGatewayModelApiTargetConfigBedrockServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    VideoOutputS3Uri string
    S3 URI for storing video generation outputs.
    batch_bucket_prefix string
    S3 bucket prefix for batch inference jobs.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    embeddings_normalize bool
    Whether to normalize embedding vectors in the response. Default: false
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    performance_config_latency string
    Latency performance configuration for the model invocation.
    region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    video_output_s3_uri string
    S3 URI for storing video generation outputs.
    batchBucketPrefix String
    S3 bucket prefix for batch inference jobs.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigBedrockCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigBedrockContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    embeddingsNormalize Boolean
    Whether to normalize embedding vectors in the response. Default: false
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    performanceConfigLatency String
    Latency performance configuration for the model invocation.
    region String
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    serviceTierFactors List<AiGatewayModelApiTargetConfigBedrockServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    videoOutputS3Uri String
    S3 URI for storing video generation outputs.
    batchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigBedrockCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigBedrockContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    embeddingsNormalize boolean
    Whether to normalize embedding vectors in the response. Default: false
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    performanceConfigLatency string
    Latency performance configuration for the model invocation.
    region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    serviceTierFactors AiGatewayModelApiTargetConfigBedrockServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    videoOutputS3Uri string
    S3 URI for storing video generation outputs.
    batch_bucket_prefix str
    S3 bucket prefix for batch inference jobs.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigBedrockCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigBedrockContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    embeddings_normalize bool
    Whether to normalize embedding vectors in the response. Default: false
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    performance_config_latency str
    Latency performance configuration for the model invocation.
    region str
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigBedrockServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    video_output_s3_uri str
    S3 URI for storing video generation outputs.
    batchBucketPrefix String
    S3 bucket prefix for batch inference jobs.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    embeddingsNormalize Boolean
    Whether to normalize embedding vectors in the response. Default: false
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    performanceConfigLatency String
    Latency performance configuration for the model invocation.
    region String
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    videoOutputS3Uri String
    S3 URI for storing video generation outputs.

    AiGatewayModelApiTargetConfigBedrockCacheWriteCostList, AiGatewayModelApiTargetConfigBedrockCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigBedrockContextWindowFactor, AiGatewayModelApiTargetConfigBedrockContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigBedrockServiceTierFactor, AiGatewayModelApiTargetConfigBedrockServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigCerebras, AiGatewayModelApiTargetConfigCerebrasArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigCerebrasCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigCerebrasContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigCerebrasServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigCerebrasCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigCerebrasContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigCerebrasServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigCerebrasCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigCerebrasContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigCerebrasServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigCerebrasCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigCerebrasContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigCerebrasServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigCerebrasCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigCerebrasContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigCerebrasServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigCerebrasCacheWriteCostList, AiGatewayModelApiTargetConfigCerebrasCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigCerebrasContextWindowFactor, AiGatewayModelApiTargetConfigCerebrasContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigCerebrasServiceTierFactor, AiGatewayModelApiTargetConfigCerebrasServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigCohere, AiGatewayModelApiTargetConfigCohereArgs

    ApiVersion string
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigCohereCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigCohereContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingInputType string
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigCohereServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    WaitForModel bool
    Whether to wait for the model to be ready before sending the request. Default: false
    ApiVersion string
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigCohereCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigCohereContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingInputType string
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigCohereServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    WaitForModel bool
    Whether to wait for the model to be ready before sending the request. Default: false
    api_version string
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embedding_input_type string
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    wait_for_model bool
    Whether to wait for the model to be ready before sending the request. Default: false
    apiVersion String
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigCohereCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigCohereContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingInputType String
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigCohereServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    waitForModel Boolean
    Whether to wait for the model to be ready before sending the request. Default: false
    apiVersion string
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigCohereCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigCohereContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingInputType string
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigCohereServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    waitForModel boolean
    Whether to wait for the model to be ready before sending the request. Default: false
    api_version str
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigCohereCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigCohereContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embedding_input_type str
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigCohereServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    wait_for_model bool
    Whether to wait for the model to be ready before sending the request. Default: false
    apiVersion String
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingInputType String
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    waitForModel Boolean
    Whether to wait for the model to be ready before sending the request. Default: false

    AiGatewayModelApiTargetConfigCohereCacheWriteCostList, AiGatewayModelApiTargetConfigCohereCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigCohereContextWindowFactor, AiGatewayModelApiTargetConfigCohereContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigCohereServiceTierFactor, AiGatewayModelApiTargetConfigCohereServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigDashscope, AiGatewayModelApiTargetConfigDashscopeArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigDashscopeCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigDashscopeContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    International bool
    Whether to use the international DashScope endpoint. Default: true
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigDashscopeServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigDashscopeCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigDashscopeContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    International bool
    Whether to use the international DashScope endpoint. Default: true
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigDashscopeServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    international bool
    Whether to use the international DashScope endpoint. Default: true
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigDashscopeCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigDashscopeContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    international Boolean
    Whether to use the international DashScope endpoint. Default: true
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigDashscopeServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigDashscopeCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigDashscopeContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    international boolean
    Whether to use the international DashScope endpoint. Default: true
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigDashscopeServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigDashscopeCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigDashscopeContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    international bool
    Whether to use the international DashScope endpoint. Default: true
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigDashscopeServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    international Boolean
    Whether to use the international DashScope endpoint. Default: true
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigDashscopeCacheWriteCostList, AiGatewayModelApiTargetConfigDashscopeCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigDashscopeContextWindowFactor, AiGatewayModelApiTargetConfigDashscopeContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigDashscopeServiceTierFactor, AiGatewayModelApiTargetConfigDashscopeServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigDatabricks, AiGatewayModelApiTargetConfigDatabricksArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigDatabricksCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigDatabricksContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigDatabricksServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    WorkspaceInstanceId string
    The Databricks workspace instance ID. Not Null
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigDatabricksCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigDatabricksContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigDatabricksServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    WorkspaceInstanceId string
    The Databricks workspace instance ID. Not Null
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    workspace_instance_id string
    The Databricks workspace instance ID. Not Null
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigDatabricksCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigDatabricksContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigDatabricksServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    workspaceInstanceId String
    The Databricks workspace instance ID. Not Null
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigDatabricksCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigDatabricksContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigDatabricksServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    workspaceInstanceId string
    The Databricks workspace instance ID. Not Null
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigDatabricksCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigDatabricksContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigDatabricksServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    workspace_instance_id str
    The Databricks workspace instance ID. Not Null
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    workspaceInstanceId String
    The Databricks workspace instance ID. Not Null

    AiGatewayModelApiTargetConfigDatabricksCacheWriteCostList, AiGatewayModelApiTargetConfigDatabricksCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigDatabricksContextWindowFactor, AiGatewayModelApiTargetConfigDatabricksContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigDatabricksServiceTierFactor, AiGatewayModelApiTargetConfigDatabricksServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigDeepseek, AiGatewayModelApiTargetConfigDeepseekArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigDeepseekCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigDeepseekContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigDeepseekServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigDeepseekCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigDeepseekContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigDeepseekServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigDeepseekCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigDeepseekContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigDeepseekServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigDeepseekCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigDeepseekContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigDeepseekServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigDeepseekCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigDeepseekContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigDeepseekServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigDeepseekCacheWriteCostList, AiGatewayModelApiTargetConfigDeepseekCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigDeepseekContextWindowFactor, AiGatewayModelApiTargetConfigDeepseekContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigDeepseekServiceTierFactor, AiGatewayModelApiTargetConfigDeepseekServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigGemini, AiGatewayModelApiTargetConfigGeminiArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigGeminiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigGeminiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    GcpEnvironment AiGatewayModelApiTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigGeminiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigGeminiCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigGeminiContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    GcpEnvironment AiGatewayModelApiTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigGeminiServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    gcp_environment object
    Configuration for a model hosted on Google Cloud Project.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigGeminiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigGeminiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    gcpEnvironment AiGatewayModelApiTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigGeminiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigGeminiCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigGeminiContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    gcpEnvironment AiGatewayModelApiTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigGeminiServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigGeminiCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigGeminiContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    gcp_environment AiGatewayModelApiTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigGeminiServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    gcpEnvironment Property Map
    Configuration for a model hosted on Google Cloud Project.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigGeminiCacheWriteCostList, AiGatewayModelApiTargetConfigGeminiCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigGeminiContextWindowFactor, AiGatewayModelApiTargetConfigGeminiContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigGeminiGcpEnvironment, AiGatewayModelApiTargetConfigGeminiGcpEnvironmentArgs

    ApiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    LocationId string
    The Google Cloud location ID for the model endpoint. Not Null
    ProjectId string
    The Google Cloud project ID for the model endpoint. Not Null
    ApiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    LocationId string
    The Google Cloud location ID for the model endpoint. Not Null
    ProjectId string
    The Google Cloud project ID for the model endpoint. Not Null
    api_endpoint string
    The custom API endpoint for the Gemini model. Not Null
    location_id string
    The Google Cloud location ID for the model endpoint. Not Null
    project_id string
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint String
    The custom API endpoint for the Gemini model. Not Null
    locationId String
    The Google Cloud location ID for the model endpoint. Not Null
    projectId String
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    locationId string
    The Google Cloud location ID for the model endpoint. Not Null
    projectId string
    The Google Cloud project ID for the model endpoint. Not Null
    api_endpoint str
    The custom API endpoint for the Gemini model. Not Null
    location_id str
    The Google Cloud location ID for the model endpoint. Not Null
    project_id str
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint String
    The custom API endpoint for the Gemini model. Not Null
    locationId String
    The Google Cloud location ID for the model endpoint. Not Null
    projectId String
    The Google Cloud project ID for the model endpoint. Not Null

    AiGatewayModelApiTargetConfigGeminiServiceTierFactor, AiGatewayModelApiTargetConfigGeminiServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigHuggingface, AiGatewayModelApiTargetConfigHuggingfaceArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigHuggingfaceCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigHuggingfaceContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigHuggingfaceServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    UseCache bool
    Whether to use the Hugging Face inference cache. Default: false
    WaitForModel bool
    Whether to wait for the model to load if it is not ready. Default: false
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigHuggingfaceCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigHuggingfaceContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigHuggingfaceServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    UseCache bool
    Whether to use the Hugging Face inference cache. Default: false
    WaitForModel bool
    Whether to wait for the model to load if it is not ready. Default: false
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    use_cache bool
    Whether to use the Hugging Face inference cache. Default: false
    wait_for_model bool
    Whether to wait for the model to load if it is not ready. Default: false
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigHuggingfaceCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigHuggingfaceContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigHuggingfaceServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    useCache Boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel Boolean
    Whether to wait for the model to load if it is not ready. Default: false
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigHuggingfaceCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigHuggingfaceContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigHuggingfaceServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    useCache boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel boolean
    Whether to wait for the model to load if it is not ready. Default: false
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigHuggingfaceCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigHuggingfaceContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigHuggingfaceServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    use_cache bool
    Whether to use the Hugging Face inference cache. Default: false
    wait_for_model bool
    Whether to wait for the model to load if it is not ready. Default: false
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    useCache Boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel Boolean
    Whether to wait for the model to load if it is not ready. Default: false

    AiGatewayModelApiTargetConfigHuggingfaceCacheWriteCostList, AiGatewayModelApiTargetConfigHuggingfaceCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigHuggingfaceContextWindowFactor, AiGatewayModelApiTargetConfigHuggingfaceContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigHuggingfaceServiceTierFactor, AiGatewayModelApiTargetConfigHuggingfaceServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigKimi, AiGatewayModelApiTargetConfigKimiArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigKimiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigKimiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    International bool
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigKimiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigKimiCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigKimiContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    International bool
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigKimiServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    international bool
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigKimiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigKimiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    international Boolean
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigKimiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigKimiCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigKimiContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    international boolean
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigKimiServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigKimiCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigKimiContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    international bool
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigKimiServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    international Boolean
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigKimiCacheWriteCostList, AiGatewayModelApiTargetConfigKimiCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigKimiContextWindowFactor, AiGatewayModelApiTargetConfigKimiContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigKimiServiceTierFactor, AiGatewayModelApiTargetConfigKimiServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigLlama2, AiGatewayModelApiTargetConfigLlama2Args

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigLlama2CacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigLlama2ContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    Format string
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigLlama2ServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint. Not Null
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigLlama2CacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigLlama2ContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    Format string
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigLlama2ServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint. Not Null
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    format string
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint. Not Null
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigLlama2CacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigLlama2ContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    format String
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigLlama2ServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint. Not Null
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigLlama2CacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigLlama2ContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    format string
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigLlama2ServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint. Not Null
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigLlama2CacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigLlama2ContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    format str
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigLlama2ServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint. Not Null
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    format String
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint. Not Null

    AiGatewayModelApiTargetConfigLlama2CacheWriteCostList, AiGatewayModelApiTargetConfigLlama2CacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigLlama2ContextWindowFactor, AiGatewayModelApiTargetConfigLlama2ContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigLlama2ServiceTierFactor, AiGatewayModelApiTargetConfigLlama2ServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigMistral, AiGatewayModelApiTargetConfigMistralArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigMistralCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigMistralContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    Format string
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigMistralServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigMistralCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigMistralContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    Format string
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigMistralServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    format string
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigMistralCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigMistralContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    format String
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigMistralServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigMistralCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigMistralContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    format string
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigMistralServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigMistralCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigMistralContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    format str
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigMistralServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    format String
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigMistralCacheWriteCostList, AiGatewayModelApiTargetConfigMistralCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigMistralContextWindowFactor, AiGatewayModelApiTargetConfigMistralContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigMistralServiceTierFactor, AiGatewayModelApiTargetConfigMistralServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigOllama, AiGatewayModelApiTargetConfigOllamaArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigOllamaCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigOllamaContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigOllamaServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigOllamaCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigOllamaContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigOllamaServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigOllamaCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigOllamaContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigOllamaServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigOllamaCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigOllamaContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigOllamaServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigOllamaCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigOllamaContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigOllamaServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigOllamaCacheWriteCostList, AiGatewayModelApiTargetConfigOllamaCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigOllamaContextWindowFactor, AiGatewayModelApiTargetConfigOllamaContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigOllamaServiceTierFactor, AiGatewayModelApiTargetConfigOllamaServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigOpenai, AiGatewayModelApiTargetConfigOpenaiArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigOpenaiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigOpenaiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigOpenaiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigOpenaiCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigOpenaiContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigOpenaiServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigOpenaiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigOpenaiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigOpenaiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigOpenaiCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigOpenaiContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigOpenaiServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigOpenaiCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigOpenaiContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigOpenaiServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigOpenaiCacheWriteCostList, AiGatewayModelApiTargetConfigOpenaiCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigOpenaiContextWindowFactor, AiGatewayModelApiTargetConfigOpenaiContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigOpenaiServiceTierFactor, AiGatewayModelApiTargetConfigOpenaiServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigSagemaker, AiGatewayModelApiTargetConfigSagemakerArgs

    Aws AiGatewayModelApiTargetConfigSagemakerAws
    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigSagemakerCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigSagemakerContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigSagemakerServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Target AiGatewayModelApiTargetConfigSagemakerTarget
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    Aws AiGatewayModelApiTargetConfigSagemakerAws
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigSagemakerCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigSagemakerContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigSagemakerServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Target AiGatewayModelApiTargetConfigSagemakerTarget
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    aws object
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target object
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    aws AiGatewayModelApiTargetConfigSagemakerAws
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigSagemakerCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigSagemakerContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigSagemakerServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target AiGatewayModelApiTargetConfigSagemakerTarget
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    aws AiGatewayModelApiTargetConfigSagemakerAws
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigSagemakerCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigSagemakerContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigSagemakerServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target AiGatewayModelApiTargetConfigSagemakerTarget
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    aws AiGatewayModelApiTargetConfigSagemakerAws
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigSagemakerCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigSagemakerContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigSagemakerServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target AiGatewayModelApiTargetConfigSagemakerTarget
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    aws Property Map
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target Property Map
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigSagemakerAws, AiGatewayModelApiTargetConfigSagemakerAwsArgs

    AssumeRoleArn string
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    Region string
    Overrides the AWS_REGION environment variable for SageMaker requests.
    RoleSessionName string
    Session identifier for the assumed role; mutually required with assumerolearn.
    StsEndpointUrl string
    Overrides the STS endpoint when assuming a role.
    AssumeRoleArn string
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    Region string
    Overrides the AWS_REGION environment variable for SageMaker requests.
    RoleSessionName string
    Session identifier for the assumed role; mutually required with assumerolearn.
    StsEndpointUrl string
    Overrides the STS endpoint when assuming a role.
    assume_role_arn string
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region string
    Overrides the AWS_REGION environment variable for SageMaker requests.
    role_session_name string
    Session identifier for the assumed role; mutually required with assumerolearn.
    sts_endpoint_url string
    Overrides the STS endpoint when assuming a role.
    assumeRoleArn String
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region String
    Overrides the AWS_REGION environment variable for SageMaker requests.
    roleSessionName String
    Session identifier for the assumed role; mutually required with assumerolearn.
    stsEndpointUrl String
    Overrides the STS endpoint when assuming a role.
    assumeRoleArn string
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region string
    Overrides the AWS_REGION environment variable for SageMaker requests.
    roleSessionName string
    Session identifier for the assumed role; mutually required with assumerolearn.
    stsEndpointUrl string
    Overrides the STS endpoint when assuming a role.
    assume_role_arn str
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region str
    Overrides the AWS_REGION environment variable for SageMaker requests.
    role_session_name str
    Session identifier for the assumed role; mutually required with assumerolearn.
    sts_endpoint_url str
    Overrides the STS endpoint when assuming a role.
    assumeRoleArn String
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region String
    Overrides the AWS_REGION environment variable for SageMaker requests.
    roleSessionName String
    Session identifier for the assumed role; mutually required with assumerolearn.
    stsEndpointUrl String
    Overrides the STS endpoint when assuming a role.

    AiGatewayModelApiTargetConfigSagemakerCacheWriteCostList, AiGatewayModelApiTargetConfigSagemakerCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigSagemakerContextWindowFactor, AiGatewayModelApiTargetConfigSagemakerContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigSagemakerServiceTierFactor, AiGatewayModelApiTargetConfigSagemakerServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigSagemakerTarget, AiGatewayModelApiTargetConfigSagemakerTargetArgs

    ContainerHostname string
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    Model string
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    Variant string
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    ContainerHostname string
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    Model string
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    Variant string
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    container_hostname string
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model string
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant string
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    containerHostname String
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model String
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant String
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    containerHostname string
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model string
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant string
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    container_hostname str
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model str
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant str
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    containerHostname String
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model String
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant String
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).

    AiGatewayModelApiTargetConfigVercel, AiGatewayModelApiTargetConfigVercelArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigVercelCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigVercelContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigVercelServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigVercelCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigVercelContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigVercelServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigVercelCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigVercelContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigVercelServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigVercelCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigVercelContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigVercelServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigVercelCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigVercelContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigVercelServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigVercelCacheWriteCostList, AiGatewayModelApiTargetConfigVercelCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigVercelContextWindowFactor, AiGatewayModelApiTargetConfigVercelContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigVercelServiceTierFactor, AiGatewayModelApiTargetConfigVercelServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigVllm, AiGatewayModelApiTargetConfigVllmArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigVllmCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigVllmContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigVllmServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint. Not Null
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigVllmCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigVllmContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigVllmServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint. Not Null
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint. Not Null
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigVllmCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigVllmContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigVllmServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint. Not Null
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigVllmCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigVllmContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigVllmServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint. Not Null
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigVllmCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigVllmContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigVllmServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint. Not Null
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint. Not Null

    AiGatewayModelApiTargetConfigVllmCacheWriteCostList, AiGatewayModelApiTargetConfigVllmCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigVllmContextWindowFactor, AiGatewayModelApiTargetConfigVllmContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigVllmServiceTierFactor, AiGatewayModelApiTargetConfigVllmServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelApiTargetConfigXai, AiGatewayModelApiTargetConfigXaiArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelApiTargetConfigXaiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelApiTargetConfigXaiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelApiTargetConfigXaiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelApiTargetConfigXaiCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelApiTargetConfigXaiContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelApiTargetConfigXaiServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelApiTargetConfigXaiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelApiTargetConfigXaiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelApiTargetConfigXaiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelApiTargetConfigXaiCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelApiTargetConfigXaiContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelApiTargetConfigXaiServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelApiTargetConfigXaiCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelApiTargetConfigXaiContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelApiTargetConfigXaiServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelApiTargetConfigXaiCacheWriteCostList, AiGatewayModelApiTargetConfigXaiCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelApiTargetConfigXaiContextWindowFactor, AiGatewayModelApiTargetConfigXaiContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelApiTargetConfigXaiServiceTierFactor, AiGatewayModelApiTargetConfigXaiServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModel, AiGatewayModelModelArgs

    Access AiGatewayModelModelAccess
    Access control configuration for a model.
    Capabilities List<string>
    List of AI capabilities enabled for this model. Not Null
    Config AiGatewayModelModelConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    DisplayName string
    The display name for this model instance. Not Null
    Enabled bool
    Whether the model is enabled. Default: true
    Formats List<AiGatewayModelModelFormat>
    List of request/response formats supported by this model. Not Null
    Id string
    Contains a unique identifier used for this resource.
    Labels Dictionary<string, string>
    Public labels store information about an entity that can be used for filtering a list of objects.
    ManagedBy Dictionary<string, string>
    Name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    Policies List<string>
    List of policy references.
    Targets List<AiGatewayModelModelTarget>
    One or more backend models that this model entry routes to. Not Null
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    Access AiGatewayModelModelAccess
    Access control configuration for a model.
    Capabilities []string
    List of AI capabilities enabled for this model. Not Null
    Config AiGatewayModelModelConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    CreatedAt string
    An ISO-8601 timestamp representation of entity creation date.
    DisplayName string
    The display name for this model instance. Not Null
    Enabled bool
    Whether the model is enabled. Default: true
    Formats []AiGatewayModelModelFormat
    List of request/response formats supported by this model. Not Null
    Id string
    Contains a unique identifier used for this resource.
    Labels map[string]string
    Public labels store information about an entity that can be used for filtering a list of objects.
    ManagedBy map[string]string
    Name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    Policies []string
    List of policy references.
    Targets []AiGatewayModelModelTarget
    One or more backend models that this model entry routes to. Not Null
    UpdatedAt string
    An ISO-8601 timestamp representation of entity update date.
    access object
    Access control configuration for a model.
    capabilities list(string)
    List of AI capabilities enabled for this model. Not Null
    config object
    Routing, logging, and load balancing configuration for the model. Not Null
    created_at string
    An ISO-8601 timestamp representation of entity creation date.
    display_name string
    The display name for this model instance. Not Null
    enabled bool
    Whether the model is enabled. Default: true
    formats list(object)
    List of request/response formats supported by this model. Not Null
    id string
    Contains a unique identifier used for this resource.
    labels map(string)
    Public labels store information about an entity that can be used for filtering a list of objects.
    managed_by map(string)
    name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies list(string)
    List of policy references.
    targets list(object)
    One or more backend models that this model entry routes to. Not Null
    updated_at string
    An ISO-8601 timestamp representation of entity update date.
    access AiGatewayModelModelAccess
    Access control configuration for a model.
    capabilities List<String>
    List of AI capabilities enabled for this model. Not Null
    config AiGatewayModelModelConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    displayName String
    The display name for this model instance. Not Null
    enabled Boolean
    Whether the model is enabled. Default: true
    formats List<AiGatewayModelModelFormat>
    List of request/response formats supported by this model. Not Null
    id String
    Contains a unique identifier used for this resource.
    labels Map<String,String>
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy Map<String,String>
    name String
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies List<String>
    List of policy references.
    targets List<AiGatewayModelModelTarget>
    One or more backend models that this model entry routes to. Not Null
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.
    access AiGatewayModelModelAccess
    Access control configuration for a model.
    capabilities string[]
    List of AI capabilities enabled for this model. Not Null
    config AiGatewayModelModelConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    createdAt string
    An ISO-8601 timestamp representation of entity creation date.
    displayName string
    The display name for this model instance. Not Null
    enabled boolean
    Whether the model is enabled. Default: true
    formats AiGatewayModelModelFormat[]
    List of request/response formats supported by this model. Not Null
    id string
    Contains a unique identifier used for this resource.
    labels {[key: string]: string}
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy {[key: string]: string}
    name string
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies string[]
    List of policy references.
    targets AiGatewayModelModelTarget[]
    One or more backend models that this model entry routes to. Not Null
    updatedAt string
    An ISO-8601 timestamp representation of entity update date.
    access AiGatewayModelModelAccess
    Access control configuration for a model.
    capabilities Sequence[str]
    List of AI capabilities enabled for this model. Not Null
    config AiGatewayModelModelConfig
    Routing, logging, and load balancing configuration for the model. Not Null
    created_at str
    An ISO-8601 timestamp representation of entity creation date.
    display_name str
    The display name for this model instance. Not Null
    enabled bool
    Whether the model is enabled. Default: true
    formats Sequence[AiGatewayModelModelFormat]
    List of request/response formats supported by this model. Not Null
    id str
    Contains a unique identifier used for this resource.
    labels Mapping[str, str]
    Public labels store information about an entity that can be used for filtering a list of objects.
    managed_by Mapping[str, str]
    name str
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies Sequence[str]
    List of policy references.
    targets Sequence[AiGatewayModelModelTarget]
    One or more backend models that this model entry routes to. Not Null
    updated_at str
    An ISO-8601 timestamp representation of entity update date.
    access Property Map
    Access control configuration for a model.
    capabilities List<String>
    List of AI capabilities enabled for this model. Not Null
    config Property Map
    Routing, logging, and load balancing configuration for the model. Not Null
    createdAt String
    An ISO-8601 timestamp representation of entity creation date.
    displayName String
    The display name for this model instance. Not Null
    enabled Boolean
    Whether the model is enabled. Default: true
    formats List<Property Map>
    List of request/response formats supported by this model. Not Null
    id String
    Contains a unique identifier used for this resource.
    labels Map<String>
    Public labels store information about an entity that can be used for filtering a list of objects.
    managedBy Map<String>
    name String
    A user-defined unique identifier for this model, used as a stable human-readable reference. This value is immutable after creation.
    policies List<String>
    List of policy references.
    targets List<Property Map>
    One or more backend models that this model entry routes to. Not Null
    updatedAt String
    An ISO-8601 timestamp representation of entity update date.

    AiGatewayModelModelAccess, AiGatewayModelModelAccessArgs

    Acls AiGatewayModelModelAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    AuthStrategies List<string>
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    IdentityProviders List<string>
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    Acls AiGatewayModelModelAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    AuthStrategies []string
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    IdentityProviders []string
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls object
    Access control rules. Configure exactly one of allow or deny.
    auth_strategies list(string)
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identity_providers list(string)
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls AiGatewayModelModelAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    authStrategies List<String>
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identityProviders List<String>
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls AiGatewayModelModelAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    authStrategies string[]
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identityProviders string[]
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls AiGatewayModelModelAccessAcls
    Access control rules. Configure exactly one of allow or deny.
    auth_strategies Sequence[str]
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identity_providers Sequence[str]
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    acls Property Map
    Access control rules. Configure exactly one of allow or deny.
    authStrategies List<String>
    List of auth strategies for granting access to the model. At most 1 auth strategy of each auth strategy type can be referenced.
    identityProviders List<String>
    List of identity providers for granting access to the model. At most 1 identity provider of each identity provider type can be referenced.

    Deprecated: Deprecated

    AiGatewayModelModelAccessAcls, AiGatewayModelModelAccessAclsArgs

    Allows List<string>
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    Denies List<string>
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    Allows []string
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    Denies []string
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows list(string)
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies list(string)
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows List<String>
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies List<String>
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows string[]
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies string[]
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows Sequence[str]
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies Sequence[str]
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.
    allows List<String>
    List of Consumer Groups Names, or Authenticated Groups Names that are permitted access.
    denies List<String>
    List of Consumer Groups Names, or Authenticated Groups Names that are denied access.

    AiGatewayModelModelConfig, AiGatewayModelModelConfigArgs

    Balancer AiGatewayModelModelConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    Logging AiGatewayModelModelConfigLogging
    Configuration for AI Gateway logging.
    MaxRequestBodySize double
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    Model AiGatewayModelModelConfigModel
    Proxy AiGatewayModelModelConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    ResponseStreaming string
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    Route AiGatewayModelModelConfigRoute
    Configuration for an AI Gateway route. Not Null
    Balancer AiGatewayModelModelConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    Logging AiGatewayModelModelConfigLogging
    Configuration for AI Gateway logging.
    MaxRequestBodySize float64
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    Model AiGatewayModelModelConfigModel
    Proxy AiGatewayModelModelConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    ResponseStreaming string
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    Route AiGatewayModelModelConfigRoute
    Configuration for an AI Gateway route. Not Null
    balancer object
    Configuration for a model's load balancer when multiple target models are configured.
    logging object
    Configuration for AI Gateway logging.
    max_request_body_size number
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    model object
    proxy object
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    response_streaming string
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route object
    Configuration for an AI Gateway route. Not Null
    balancer AiGatewayModelModelConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    logging AiGatewayModelModelConfigLogging
    Configuration for AI Gateway logging.
    maxRequestBodySize Double
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    model AiGatewayModelModelConfigModel
    proxy AiGatewayModelModelConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    responseStreaming String
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route AiGatewayModelModelConfigRoute
    Configuration for an AI Gateway route. Not Null
    balancer AiGatewayModelModelConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    logging AiGatewayModelModelConfigLogging
    Configuration for AI Gateway logging.
    maxRequestBodySize number
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    model AiGatewayModelModelConfigModel
    proxy AiGatewayModelModelConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    responseStreaming string
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route AiGatewayModelModelConfigRoute
    Configuration for an AI Gateway route. Not Null
    balancer AiGatewayModelModelConfigBalancer
    Configuration for a model's load balancer when multiple target models are configured.
    logging AiGatewayModelModelConfigLogging
    Configuration for AI Gateway logging.
    max_request_body_size float
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    model AiGatewayModelModelConfigModel
    proxy AiGatewayModelModelConfigProxy
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    response_streaming str
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route AiGatewayModelModelConfigRoute
    Configuration for an AI Gateway route. Not Null
    balancer Property Map
    Configuration for a model's load balancer when multiple target models are configured.
    logging Property Map
    Configuration for AI Gateway logging.
    maxRequestBodySize Number
    Maximum size of request body to parse. Set to 0 for unlimited. Default: 8388608
    model Property Map
    proxy Property Map
    HTTP/HTTPS proxy configuration for outbound requests to the upstream AI provider.
    responseStreaming String
    possible known values include one of ["allow", "always", "deny"]; Default: "allow"
    route Property Map
    Configuration for an AI Gateway route. Not Null

    AiGatewayModelModelConfigBalancer, AiGatewayModelModelConfigBalancerArgs

    AiGatewayModelModelConfigBalancerConsistentHashing, AiGatewayModelModelConfigBalancerConsistentHashingArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    HashOnHeader string
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    HashOnHeader string
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hash_on_header string
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hashOnHeader String
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hashOnHeader string
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hash_on_header str
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    hashOnHeader String
    The header to use for consistent-hashing. Default: "X-Kong-LLM-Request-ID"
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelModelConfigBalancerLeastConnections, AiGatewayModelModelConfigBalancerLeastConnectionsArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelModelConfigBalancerLowestLatency, AiGatewayModelModelConfigBalancerLowestLatencyArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    LatencyStrategy string
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    LatencyStrategy string
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latency_strategy string
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latencyStrategy String
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latencyStrategy string
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latency_strategy str
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    latencyStrategy String
    What metrics to use for latency. Available values are: tpot (time-per-output-token) and e2e. possible known values include one of ["e2e", "tpot"]; Default: "tpot"
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelModelConfigBalancerLowestUsage, AiGatewayModelModelConfigBalancerLowestUsageArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    TokensCountStrategy string
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    TokensCountStrategy string
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    tokens_count_strategy string
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    tokensCountStrategy String
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    tokensCountStrategy string
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    tokens_count_strategy str
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    tokensCountStrategy String
    Methodology to use for token usage calculation. possible known values include one of ["completion-tokens", "cost", "llm-accuracy", "prompt-tokens", "total-tokens"]; Default: "total-tokens"
    writeTimeout Number
    Default: 60000

    AiGatewayModelModelConfigBalancerPriority, AiGatewayModelModelConfigBalancerPriorityArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelModelConfigBalancerRoundRobin, AiGatewayModelModelConfigBalancerRoundRobinArgs

    ConnectTimeout double
    Default: 60000
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    writeTimeout Number
    Default: 60000

    AiGatewayModelModelConfigBalancerSemantic, AiGatewayModelModelConfigBalancerSemanticArgs

    ConnectTimeout double
    Default: 60000
    Embeddings AiGatewayModelModelConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    FailTimeout double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias List<string>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout double
    Default: 60000
    Retries double
    The number of retries to execute upon failure to proxy. Default: 5
    Slots double
    The number of slots in the load balancer algorithm. Default: 10000
    Vectordb AiGatewayModelModelConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    WriteTimeout double
    Default: 60000
    ConnectTimeout float64
    Default: 60000
    Embeddings AiGatewayModelModelConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    FailTimeout float64
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    FailoverCriterias []string
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    MaxFails float64
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    ReadTimeout float64
    Default: 60000
    Retries float64
    The number of retries to execute upon failure to proxy. Default: 5
    Slots float64
    The number of slots in the load balancer algorithm. Default: 10000
    Vectordb AiGatewayModelModelConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    WriteTimeout float64
    Default: 60000
    connect_timeout number
    Default: 60000
    embeddings object
    Embeddings model configuration for this model. Not Null
    fail_timeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias list(string)
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb object
    Configuration for the vector database used by the model. Not Null
    write_timeout number
    Default: 60000
    connectTimeout Double
    Default: 60000
    embeddings AiGatewayModelModelConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    failTimeout Double
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Double
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Double
    Default: 60000
    retries Double
    The number of retries to execute upon failure to proxy. Default: 5
    slots Double
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb AiGatewayModelModelConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    writeTimeout Double
    Default: 60000
    connectTimeout number
    Default: 60000
    embeddings AiGatewayModelModelConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    failTimeout number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias string[]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout number
    Default: 60000
    retries number
    The number of retries to execute upon failure to proxy. Default: 5
    slots number
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb AiGatewayModelModelConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    writeTimeout number
    Default: 60000
    connect_timeout float
    Default: 60000
    embeddings AiGatewayModelModelConfigBalancerSemanticEmbeddings
    Embeddings model configuration for this model. Not Null
    fail_timeout float
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failover_criterias Sequence[str]
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    max_fails float
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    read_timeout float
    Default: 60000
    retries float
    The number of retries to execute upon failure to proxy. Default: 5
    slots float
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb AiGatewayModelModelConfigBalancerSemanticVectordb
    Configuration for the vector database used by the model. Not Null
    write_timeout float
    Default: 60000
    connectTimeout Number
    Default: 60000
    embeddings Property Map
    Embeddings model configuration for this model. Not Null
    failTimeout Number
    The period of time (in milliseconds) the target will be considered unavailable after the number of unsuccessful attempts reaches max_fails. Default: 10000
    failoverCriterias List<String>
    Specifies in which cases an upstream response should be failover to the next target. Each option in the array is equivalent to the function of https://nginx.org/en/docs/http/ngxhttpproxymodule.html#proxynext_upstream. Default: ["error","timeout"]
    maxFails Number
    Number of unsuccessful attempts to communicate with a target that should occur in the duration defined by fail_timeout before the target is considered unavailable. The zero value disables the circuit breaker. What is considered an unsuccessful attempt is defined by failover_criteria. Note the cases of error, timeout and invalid_header are always considered unsuccessful attempts, while the cases of http_403 and http_404 are never considered unsuccessful attempts. Default: 0
    readTimeout Number
    Default: 60000
    retries Number
    The number of retries to execute upon failure to proxy. Default: 5
    slots Number
    The number of slots in the load balancer algorithm. Default: 10000
    vectordb Property Map
    Configuration for the vector database used by the model. Not Null
    writeTimeout Number
    Default: 60000

    AiGatewayModelModelConfigBalancerSemanticEmbeddings, AiGatewayModelModelConfigBalancerSemanticEmbeddingsArgs

    AllowAuthOverride bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    Config AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    Name string
    The name of the embeddings model. Not Null
    Provider string
    Reference to a model provider instance by name. Not Null
    AllowAuthOverride bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    Config AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    Name string
    The name of the embeddings model. Not Null
    Provider string
    Reference to a model provider instance by name. Not Null
    allow_auth_override bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config object
    Configuration for an embeddings model. Not Null
    name string
    The name of the embeddings model. Not Null
    provider string
    Reference to a model provider instance by name. Not Null
    allowAuthOverride Boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    name String
    The name of the embeddings model. Not Null
    provider String
    Reference to a model provider instance by name. Not Null
    allowAuthOverride boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    name string
    The name of the embeddings model. Not Null
    provider string
    Reference to a model provider instance by name. Not Null
    allow_auth_override bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfig
    Configuration for an embeddings model. Not Null
    name str
    The name of the embeddings model. Not Null
    provider str
    Reference to a model provider instance by name. Not Null
    allowAuthOverride Boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config Property Map
    Configuration for an embeddings model. Not Null
    name String
    The name of the embeddings model. Not Null
    provider String
    Reference to a model provider instance by name. Not Null

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfig, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigArgs

    Azure AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    Bedrock AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    Gemini AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    Huggingface AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    Mistral AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigMistral
    Ollama AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    Openai AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    Azure AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    Bedrock AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    Gemini AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    Huggingface AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    Mistral AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigMistral
    Ollama AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    Openai AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    azure object
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock object
    AWS Bedrock-specific configuration for a model.
    gemini object
    Google Gemini-specific configuration for a model.
    huggingface object
    Hugging Face-specific configuration for a model.
    mistral object
    ollama object
    Ollama-specific configuration for a model.
    openai object
    Openai-specific configuration for a model.
    azure AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    gemini AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    mistral AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigMistral
    ollama AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    azure AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    gemini AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    mistral AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigMistral
    ollama AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    azure AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigAzure
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigBedrock
    AWS Bedrock-specific configuration for a model.
    gemini AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigHuggingface
    Hugging Face-specific configuration for a model.
    mistral AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigMistral
    ollama AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOpenai
    Openai-specific configuration for a model.
    azure Property Map
    Azure OpenAI-specific configuration for an embeddings model. Azure AI Foundry embeddings are not supported.
    bedrock Property Map
    AWS Bedrock-specific configuration for a model.
    gemini Property Map
    Google Gemini-specific configuration for a model.
    huggingface Property Map
    Hugging Face-specific configuration for a model.
    mistral Property Map
    ollama Property Map
    Ollama-specific configuration for a model.
    openai Property Map
    Openai-specific configuration for a model.

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigAzure, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigAzureArgs

    ApiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    DeploymentId string
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    Type string
    Not Null; must be "azure"
    UpstreamUrl string
    The URL of the embeddings model.
    ApiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    DeploymentId string
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    Type string
    Not Null; must be "azure"
    UpstreamUrl string
    The URL of the embeddings model.
    api_version string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deployment_id string
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type string
    Not Null; must be "azure"
    upstream_url string
    The URL of the embeddings model.
    apiVersion String
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deploymentId String
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type String
    Not Null; must be "azure"
    upstreamUrl String
    The URL of the embeddings model.
    apiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deploymentId string
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type string
    Not Null; must be "azure"
    upstreamUrl string
    The URL of the embeddings model.
    api_version str
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deployment_id str
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type str
    Not Null; must be "azure"
    upstream_url str
    The URL of the embeddings model.
    apiVersion String
    The Azure OpenAI API version to use. Default: "2023-05-15"
    deploymentId String
    The Azure OpenAI deployment ID for the embeddings model. Not Null
    type String
    Not Null; must be "azure"
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigBedrock, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigBedrockArgs

    BatchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    EmbeddingsNormalize bool
    Whether to normalize embedding vectors in the response. Default: false
    PerformanceConfigLatency string
    Latency performance configuration for the model invocation.
    Region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    UpstreamUrl string
    The URL of the embeddings model.
    VideoOutputS3Uri string
    S3 URI for storing video generation outputs.
    BatchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    EmbeddingsNormalize bool
    Whether to normalize embedding vectors in the response. Default: false
    PerformanceConfigLatency string
    Latency performance configuration for the model invocation.
    Region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    UpstreamUrl string
    The URL of the embeddings model.
    VideoOutputS3Uri string
    S3 URI for storing video generation outputs.
    batch_bucket_prefix string
    S3 bucket prefix for batch inference jobs.
    embeddings_normalize bool
    Whether to normalize embedding vectors in the response. Default: false
    performance_config_latency string
    Latency performance configuration for the model invocation.
    region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstream_url string
    The URL of the embeddings model.
    video_output_s3_uri string
    S3 URI for storing video generation outputs.
    batchBucketPrefix String
    S3 bucket prefix for batch inference jobs.
    embeddingsNormalize Boolean
    Whether to normalize embedding vectors in the response. Default: false
    performanceConfigLatency String
    Latency performance configuration for the model invocation.
    region String
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstreamUrl String
    The URL of the embeddings model.
    videoOutputS3Uri String
    S3 URI for storing video generation outputs.
    batchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    embeddingsNormalize boolean
    Whether to normalize embedding vectors in the response. Default: false
    performanceConfigLatency string
    Latency performance configuration for the model invocation.
    region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstreamUrl string
    The URL of the embeddings model.
    videoOutputS3Uri string
    S3 URI for storing video generation outputs.
    batch_bucket_prefix str
    S3 bucket prefix for batch inference jobs.
    embeddings_normalize bool
    Whether to normalize embedding vectors in the response. Default: false
    performance_config_latency str
    Latency performance configuration for the model invocation.
    region str
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstream_url str
    The URL of the embeddings model.
    video_output_s3_uri str
    S3 URI for storing video generation outputs.
    batchBucketPrefix String
    S3 bucket prefix for batch inference jobs.
    embeddingsNormalize Boolean
    Whether to normalize embedding vectors in the response. Default: false
    performanceConfigLatency String
    Latency performance configuration for the model invocation.
    region String
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    upstreamUrl String
    The URL of the embeddings model.
    videoOutputS3Uri String
    S3 URI for storing video generation outputs.

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGemini, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGeminiArgs

    GcpEnvironment AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    UpstreamUrl string
    The URL of the embeddings model.
    GcpEnvironment AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    UpstreamUrl string
    The URL of the embeddings model.
    gcp_environment object
    Configuration for a model hosted on Google Cloud Project.
    upstream_url string
    The URL of the embeddings model.
    gcpEnvironment AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    upstreamUrl String
    The URL of the embeddings model.
    gcpEnvironment AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    upstreamUrl string
    The URL of the embeddings model.
    gcp_environment AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    upstream_url str
    The URL of the embeddings model.
    gcpEnvironment Property Map
    Configuration for a model hosted on Google Cloud Project.
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironment, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigGeminiGcpEnvironmentArgs

    ApiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    LocationId string
    The Google Cloud location ID for the model endpoint. Not Null
    ProjectId string
    The Google Cloud project ID for the model endpoint. Not Null
    ApiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    LocationId string
    The Google Cloud location ID for the model endpoint. Not Null
    ProjectId string
    The Google Cloud project ID for the model endpoint. Not Null
    api_endpoint string
    The custom API endpoint for the Gemini model. Not Null
    location_id string
    The Google Cloud location ID for the model endpoint. Not Null
    project_id string
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint String
    The custom API endpoint for the Gemini model. Not Null
    locationId String
    The Google Cloud location ID for the model endpoint. Not Null
    projectId String
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    locationId string
    The Google Cloud location ID for the model endpoint. Not Null
    projectId string
    The Google Cloud project ID for the model endpoint. Not Null
    api_endpoint str
    The custom API endpoint for the Gemini model. Not Null
    location_id str
    The Google Cloud location ID for the model endpoint. Not Null
    project_id str
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint String
    The custom API endpoint for the Gemini model. Not Null
    locationId String
    The Google Cloud location ID for the model endpoint. Not Null
    projectId String
    The Google Cloud project ID for the model endpoint. Not Null

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigHuggingface, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigHuggingfaceArgs

    UpstreamUrl string
    The URL of the embeddings model.
    UseCache bool
    Whether to use the Hugging Face inference cache. Default: false
    WaitForModel bool
    Whether to wait for the model to load if it is not ready. Default: false
    UpstreamUrl string
    The URL of the embeddings model.
    UseCache bool
    Whether to use the Hugging Face inference cache. Default: false
    WaitForModel bool
    Whether to wait for the model to load if it is not ready. Default: false
    upstream_url string
    The URL of the embeddings model.
    use_cache bool
    Whether to use the Hugging Face inference cache. Default: false
    wait_for_model bool
    Whether to wait for the model to load if it is not ready. Default: false
    upstreamUrl String
    The URL of the embeddings model.
    useCache Boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel Boolean
    Whether to wait for the model to load if it is not ready. Default: false
    upstreamUrl string
    The URL of the embeddings model.
    useCache boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel boolean
    Whether to wait for the model to load if it is not ready. Default: false
    upstream_url str
    The URL of the embeddings model.
    use_cache bool
    Whether to use the Hugging Face inference cache. Default: false
    wait_for_model bool
    Whether to wait for the model to load if it is not ready. Default: false
    upstreamUrl String
    The URL of the embeddings model.
    useCache Boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel Boolean
    Whether to wait for the model to load if it is not ready. Default: false

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigMistral, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigMistralArgs

    Type string
    Not Null; must be "mistral"
    UpstreamUrl string
    The URL of the embeddings model.
    Type string
    Not Null; must be "mistral"
    UpstreamUrl string
    The URL of the embeddings model.
    type string
    Not Null; must be "mistral"
    upstream_url string
    The URL of the embeddings model.
    type String
    Not Null; must be "mistral"
    upstreamUrl String
    The URL of the embeddings model.
    type string
    Not Null; must be "mistral"
    upstreamUrl string
    The URL of the embeddings model.
    type str
    Not Null; must be "mistral"
    upstream_url str
    The URL of the embeddings model.
    type String
    Not Null; must be "mistral"
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllama, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOllamaArgs

    UpstreamUrl string
    The URL of the embeddings model.
    UpstreamUrl string
    The URL of the embeddings model.
    upstream_url string
    The URL of the embeddings model.
    upstreamUrl String
    The URL of the embeddings model.
    upstreamUrl string
    The URL of the embeddings model.
    upstream_url str
    The URL of the embeddings model.
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOpenai, AiGatewayModelModelConfigBalancerSemanticEmbeddingsConfigOpenaiArgs

    UpstreamUrl string
    The URL of the embeddings model.
    UpstreamUrl string
    The URL of the embeddings model.
    upstream_url string
    The URL of the embeddings model.
    upstreamUrl String
    The URL of the embeddings model.
    upstreamUrl string
    The URL of the embeddings model.
    upstream_url str
    The URL of the embeddings model.
    upstreamUrl String
    The URL of the embeddings model.

    AiGatewayModelModelConfigBalancerSemanticVectordb, AiGatewayModelModelConfigBalancerSemanticVectordbArgs

    pgvector object
    redis object
    Config for connecting to a Cloud Provider's Redis instance.
    pgvector Property Map
    redis Property Map
    Config for connecting to a Cloud Provider's Redis instance.

    AiGatewayModelModelConfigBalancerSemanticVectordbPgvector, AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorArgs

    Database string
    the database of the pgvector database. Default: "kong-pgvector"
    Dimensions double
    the desired dimensionality for the vectors. Not Null
    DistanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    Host string
    the host of the pgvector database. Default: "127.0.0.1"
    Password string
    the password of the pgvector database This field is referenceable.
    Port double
    the port of the pgvector database. Default: 5432
    Ssl AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSsl
    Threshold double
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    Timeout double
    the timeout of the pgvector database. Default: 5000
    User string
    the user of the pgvector database This field is referenceable. Default: "postgres"
    Database string
    the database of the pgvector database. Default: "kong-pgvector"
    Dimensions float64
    the desired dimensionality for the vectors. Not Null
    DistanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    Host string
    the host of the pgvector database. Default: "127.0.0.1"
    Password string
    the password of the pgvector database This field is referenceable.
    Port float64
    the port of the pgvector database. Default: 5432
    Ssl AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSsl
    Threshold float64
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    Timeout float64
    the timeout of the pgvector database. Default: 5000
    User string
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database string
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions number
    the desired dimensionality for the vectors. Not Null
    distance_metric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host string
    the host of the pgvector database. Default: "127.0.0.1"
    password string
    the password of the pgvector database This field is referenceable.
    port number
    the port of the pgvector database. Default: 5432
    ssl object
    threshold number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout number
    the timeout of the pgvector database. Default: 5000
    user string
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database String
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions Double
    the desired dimensionality for the vectors. Not Null
    distanceMetric String
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host String
    the host of the pgvector database. Default: "127.0.0.1"
    password String
    the password of the pgvector database This field is referenceable.
    port Double
    the port of the pgvector database. Default: 5432
    ssl AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSsl
    threshold Double
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout Double
    the timeout of the pgvector database. Default: 5000
    user String
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database string
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions number
    the desired dimensionality for the vectors. Not Null
    distanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host string
    the host of the pgvector database. Default: "127.0.0.1"
    password string
    the password of the pgvector database This field is referenceable.
    port number
    the port of the pgvector database. Default: 5432
    ssl AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSsl
    threshold number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout number
    the timeout of the pgvector database. Default: 5000
    user string
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database str
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions float
    the desired dimensionality for the vectors. Not Null
    distance_metric str
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host str
    the host of the pgvector database. Default: "127.0.0.1"
    password str
    the password of the pgvector database This field is referenceable.
    port float
    the port of the pgvector database. Default: 5432
    ssl AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSsl
    threshold float
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout float
    the timeout of the pgvector database. Default: 5000
    user str
    the user of the pgvector database This field is referenceable. Default: "postgres"
    database String
    the database of the pgvector database. Default: "kong-pgvector"
    dimensions Number
    the desired dimensionality for the vectors. Not Null
    distanceMetric String
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host String
    the host of the pgvector database. Default: "127.0.0.1"
    password String
    the password of the pgvector database This field is referenceable.
    port Number
    the port of the pgvector database. Default: 5432
    ssl Property Map
    threshold Number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    timeout Number
    the timeout of the pgvector database. Default: 5000
    user String
    the user of the pgvector database This field is referenceable. Default: "postgres"

    AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSsl, AiGatewayModelModelConfigBalancerSemanticVectordbPgvectorSslArgs

    Cert string
    the path of ssl cert to use for the pgvector database
    CertKey string
    the path of ssl cert key to use for the pgvector database
    Enabled bool
    whether to use ssl for the pgvector database. Default: true
    Required bool
    whether ssl is required for the pgvector database. Default: true
    Verify bool
    whether to verify ssl for the pgvector database. Default: true
    Version string
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    Cert string
    the path of ssl cert to use for the pgvector database
    CertKey string
    the path of ssl cert key to use for the pgvector database
    Enabled bool
    whether to use ssl for the pgvector database. Default: true
    Required bool
    whether ssl is required for the pgvector database. Default: true
    Verify bool
    whether to verify ssl for the pgvector database. Default: true
    Version string
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert string
    the path of ssl cert to use for the pgvector database
    cert_key string
    the path of ssl cert key to use for the pgvector database
    enabled bool
    whether to use ssl for the pgvector database. Default: true
    required bool
    whether ssl is required for the pgvector database. Default: true
    verify bool
    whether to verify ssl for the pgvector database. Default: true
    version string
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert String
    the path of ssl cert to use for the pgvector database
    certKey String
    the path of ssl cert key to use for the pgvector database
    enabled Boolean
    whether to use ssl for the pgvector database. Default: true
    required Boolean
    whether ssl is required for the pgvector database. Default: true
    verify Boolean
    whether to verify ssl for the pgvector database. Default: true
    version String
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert string
    the path of ssl cert to use for the pgvector database
    certKey string
    the path of ssl cert key to use for the pgvector database
    enabled boolean
    whether to use ssl for the pgvector database. Default: true
    required boolean
    whether ssl is required for the pgvector database. Default: true
    verify boolean
    whether to verify ssl for the pgvector database. Default: true
    version string
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert str
    the path of ssl cert to use for the pgvector database
    cert_key str
    the path of ssl cert key to use for the pgvector database
    enabled bool
    whether to use ssl for the pgvector database. Default: true
    required bool
    whether ssl is required for the pgvector database. Default: true
    verify bool
    whether to verify ssl for the pgvector database. Default: true
    version str
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"
    cert String
    the path of ssl cert to use for the pgvector database
    certKey String
    the path of ssl cert key to use for the pgvector database
    enabled Boolean
    whether to use ssl for the pgvector database. Default: true
    required Boolean
    whether ssl is required for the pgvector database. Default: true
    verify Boolean
    whether to verify ssl for the pgvector database. Default: true
    version String
    the ssl version to use for the pgvector database. possible known values include one of ["any", "tlsv12", "tlsv13"]; Default: "tlsv1_2"

    AiGatewayModelModelConfigBalancerSemanticVectordbRedis, AiGatewayModelModelConfigBalancerSemanticVectordbRedisArgs

    CloudAuthentication AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    Cluster AiGatewayModelModelConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    ConnectTimeout double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    ConnectionIsProxied bool
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    Database double
    Database to use for the Redis connection when using the redis strategy. Default: 0
    Dimensions double
    the desired dimensionality for the vectors. Not Null
    DistanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    Host string
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    Keepalive AiGatewayModelModelConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    Password string
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    Port string
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    ReadTimeout double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    SendTimeout double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    Sentinel AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    ServerName string
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    Ssl bool
    If set to true, uses SSL to connect to Redis. Default: true
    SslVerify bool
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    Threshold double
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    Username string
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    CloudAuthentication AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    Cluster AiGatewayModelModelConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    ConnectTimeout float64
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    ConnectionIsProxied bool
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    Database float64
    Database to use for the Redis connection when using the redis strategy. Default: 0
    Dimensions float64
    the desired dimensionality for the vectors. Not Null
    DistanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    Host string
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    Keepalive AiGatewayModelModelConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    Password string
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    Port string
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    ReadTimeout float64
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    SendTimeout float64
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    Sentinel AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    ServerName string
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    Ssl bool
    If set to true, uses SSL to connect to Redis. Default: true
    SslVerify bool
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    Threshold float64
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    Username string
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloud_authentication object
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster object
    Cluster configuration for the Redis connection.
    connect_timeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connection_is_proxied bool
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database number
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions number
    the desired dimensionality for the vectors. Not Null
    distance_metric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host string
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive object
    Keepalive configuration for the Redis connection.
    password string
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port string
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    read_timeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    send_timeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel object
    Configuration for Redis Sentinel.
    server_name string
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl bool
    If set to true, uses SSL to connect to Redis. Default: true
    ssl_verify bool
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username string
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloudAuthentication AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster AiGatewayModelModelConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    connectTimeout Double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connectionIsProxied Boolean
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database Double
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions Double
    the desired dimensionality for the vectors. Not Null
    distanceMetric String
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host String
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive AiGatewayModelModelConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    password String
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port String
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    readTimeout Double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sendTimeout Double
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    serverName String
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl Boolean
    If set to true, uses SSL to connect to Redis. Default: true
    sslVerify Boolean
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold Double
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username String
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloudAuthentication AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster AiGatewayModelModelConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    connectTimeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connectionIsProxied boolean
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database number
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions number
    the desired dimensionality for the vectors. Not Null
    distanceMetric string
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host string
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive AiGatewayModelModelConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    password string
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port string
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    readTimeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sendTimeout number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    serverName string
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl boolean
    If set to true, uses SSL to connect to Redis. Default: true
    sslVerify boolean
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username string
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloud_authentication AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthentication
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster AiGatewayModelModelConfigBalancerSemanticVectordbRedisCluster
    Cluster configuration for the Redis connection.
    connect_timeout float
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connection_is_proxied bool
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database float
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions float
    the desired dimensionality for the vectors. Not Null
    distance_metric str
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host str
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive AiGatewayModelModelConfigBalancerSemanticVectordbRedisKeepalive
    Keepalive configuration for the Redis connection.
    password str
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port str
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    read_timeout float
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    send_timeout float
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinel
    Configuration for Redis Sentinel.
    server_name str
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl bool
    If set to true, uses SSL to connect to Redis. Default: true
    ssl_verify bool
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold float
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username str
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.
    cloudAuthentication Property Map
    Auth related config for connecting to a Cloud Provider's Redis instance.
    cluster Property Map
    Cluster configuration for the Redis connection.
    connectTimeout Number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    connectionIsProxied Boolean
    If the connection to Redis is proxied (e.g. Envoy), set it true. Set the host and port to point to the proxy address. Default: false
    database Number
    Database to use for the Redis connection when using the redis strategy. Default: 0
    dimensions Number
    the desired dimensionality for the vectors. Not Null
    distanceMetric String
    the distance metric to use for vector searches. possible known values include one of ["cosine", "euclidean"]; Not Null
    host String
    A string representing a host name, such as example.com. This field is referenceable. Default: "127.0.0.1"
    keepalive Property Map
    Keepalive configuration for the Redis connection.
    password String
    Password to use for Redis connections. If undefined, no AUTH commands are sent to Redis. This field is referenceable.
    port String
    An integer representing a port number between 0 and 65535, inclusive. This field is referenceable. Default: "6379"
    readTimeout Number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sendTimeout Number
    An integer representing a timeout in milliseconds. Must be between 0 and 2^31-2. Default: 2000
    sentinel Property Map
    Configuration for Redis Sentinel.
    serverName String
    A string representing an SNI (server name indication) value for TLS. This field is referenceable.
    ssl Boolean
    If set to true, uses SSL to connect to Redis. Default: true
    sslVerify Boolean
    If set to true, verifies the validity of the server SSL certificate. If setting this parameter, also configure lua_ssl_trusted_certificate in kong.conf to specify the CA (or server) certificate used by your Redis server. You may also need to configure lua_ssl_verify_depth accordingly. Default: true
    threshold Number
    the default similarity threshold for accepting semantic search results (float). Higher threshold means more results are considered similar.
    username String
    Username to use for Redis connections. If undefined, ACL authentication won't be performed. This requires Redis v6.0.0+. To be compatible with Redis v5.x.y, you can set it to default. This field is referenceable.

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthentication, AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationArgs

    Aws AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    Azure AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    Gcp AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    Aws AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    Azure AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    Gcp AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws object
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure object
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp object
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAws
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp
    GCP specific configs for connecting to a Cloud Provider's redis instance.
    aws Property Map
    AWS specific configs for connecting to a Cloud Provider's redis instance.
    azure Property Map
    Azure specific configs for connecting to a Cloud Provider's redis instance.
    gcp Property Map
    GCP specific configs for connecting to a Cloud Provider's redis instance.

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAws, AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAwsArgs

    AccessKeyId string
    AWS Access Key ID to be used for authentication. This field is referenceable.
    AssumeRoleArn string
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    CacheName string
    The name of the AWS Elasticache cluster. This field is referenceable.
    IsServerless bool
    This flag specifies whether the cluster is serverless. Default: true
    Region string
    The region of the AWS ElastiCache cluster. This field is referenceable.
    RoleSessionName string
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    SecretAccessKey string
    AWS Secret Access Key. This field is referenceable.
    AccessKeyId string
    AWS Access Key ID to be used for authentication. This field is referenceable.
    AssumeRoleArn string
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    CacheName string
    The name of the AWS Elasticache cluster. This field is referenceable.
    IsServerless bool
    This flag specifies whether the cluster is serverless. Default: true
    Region string
    The region of the AWS ElastiCache cluster. This field is referenceable.
    RoleSessionName string
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    SecretAccessKey string
    AWS Secret Access Key. This field is referenceable.
    access_key_id string
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assume_role_arn string
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cache_name string
    The name of the AWS Elasticache cluster. This field is referenceable.
    is_serverless bool
    This flag specifies whether the cluster is serverless. Default: true
    region string
    The region of the AWS ElastiCache cluster. This field is referenceable.
    role_session_name string
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secret_access_key string
    AWS Secret Access Key. This field is referenceable.
    accessKeyId String
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assumeRoleArn String
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cacheName String
    The name of the AWS Elasticache cluster. This field is referenceable.
    isServerless Boolean
    This flag specifies whether the cluster is serverless. Default: true
    region String
    The region of the AWS ElastiCache cluster. This field is referenceable.
    roleSessionName String
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secretAccessKey String
    AWS Secret Access Key. This field is referenceable.
    accessKeyId string
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assumeRoleArn string
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cacheName string
    The name of the AWS Elasticache cluster. This field is referenceable.
    isServerless boolean
    This flag specifies whether the cluster is serverless. Default: true
    region string
    The region of the AWS ElastiCache cluster. This field is referenceable.
    roleSessionName string
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secretAccessKey string
    AWS Secret Access Key. This field is referenceable.
    access_key_id str
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assume_role_arn str
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cache_name str
    The name of the AWS Elasticache cluster. This field is referenceable.
    is_serverless bool
    This flag specifies whether the cluster is serverless. Default: true
    region str
    The region of the AWS ElastiCache cluster. This field is referenceable.
    role_session_name str
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secret_access_key str
    AWS Secret Access Key. This field is referenceable.
    accessKeyId String
    AWS Access Key ID to be used for authentication. This field is referenceable.
    assumeRoleArn String
    The ARN of the IAM role to assume for generating ElastiCache IAM authentication tokens. This field is referenceable.
    cacheName String
    The name of the AWS Elasticache cluster. This field is referenceable.
    isServerless Boolean
    This flag specifies whether the cluster is serverless. Default: true
    region String
    The region of the AWS ElastiCache cluster. This field is referenceable.
    roleSessionName String
    The session name for the temporary credentials when assuming the IAM role. This field is referenceable.
    secretAccessKey String
    AWS Secret Access Key. This field is referenceable.

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAzure, AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationAzureArgs

    ClientId string
    Azure Client ID. This field is referenceable.
    ClientSecret string
    Azure Client Secret. This field is referenceable.
    TenantId string
    Azure Tenant ID. This field is referenceable.
    ClientId string
    Azure Client ID. This field is referenceable.
    ClientSecret string
    Azure Client Secret. This field is referenceable.
    TenantId string
    Azure Tenant ID. This field is referenceable.
    client_id string
    Azure Client ID. This field is referenceable.
    client_secret string
    Azure Client Secret. This field is referenceable.
    tenant_id string
    Azure Tenant ID. This field is referenceable.
    clientId String
    Azure Client ID. This field is referenceable.
    clientSecret String
    Azure Client Secret. This field is referenceable.
    tenantId String
    Azure Tenant ID. This field is referenceable.
    clientId string
    Azure Client ID. This field is referenceable.
    clientSecret string
    Azure Client Secret. This field is referenceable.
    tenantId string
    Azure Tenant ID. This field is referenceable.
    client_id str
    Azure Client ID. This field is referenceable.
    client_secret str
    Azure Client Secret. This field is referenceable.
    tenant_id str
    Azure Tenant ID. This field is referenceable.
    clientId String
    Azure Client ID. This field is referenceable.
    clientSecret String
    Azure Client Secret. This field is referenceable.
    tenantId String
    Azure Tenant ID. This field is referenceable.

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationGcp, AiGatewayModelModelConfigBalancerSemanticVectordbRedisCloudAuthenticationGcpArgs

    ServiceAccountJson string
    GCP Service Account JSON. This field is referenceable.
    ServiceAccountJson string
    GCP Service Account JSON. This field is referenceable.
    service_account_json string
    GCP Service Account JSON. This field is referenceable.
    serviceAccountJson String
    GCP Service Account JSON. This field is referenceable.
    serviceAccountJson string
    GCP Service Account JSON. This field is referenceable.
    service_account_json str
    GCP Service Account JSON. This field is referenceable.
    serviceAccountJson String
    GCP Service Account JSON. This field is referenceable.

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisCluster, AiGatewayModelModelConfigBalancerSemanticVectordbRedisClusterArgs

    MaxRedirections double
    Maximum retry attempts for redirection. Default: 5
    Nodes List<AiGatewayModelModelConfigBalancerSemanticVectordbRedisClusterNode>
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    MaxRedirections float64
    Maximum retry attempts for redirection. Default: 5
    Nodes []AiGatewayModelModelConfigBalancerSemanticVectordbRedisClusterNode
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    max_redirections number
    Maximum retry attempts for redirection. Default: 5
    nodes list(object)
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    maxRedirections Double
    Maximum retry attempts for redirection. Default: 5
    nodes List<AiGatewayModelModelConfigBalancerSemanticVectordbRedisClusterNode>
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    maxRedirections number
    Maximum retry attempts for redirection. Default: 5
    nodes AiGatewayModelModelConfigBalancerSemanticVectordbRedisClusterNode[]
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    max_redirections float
    Maximum retry attempts for redirection. Default: 5
    nodes Sequence[AiGatewayModelModelConfigBalancerSemanticVectordbRedisClusterNode]
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.
    maxRedirections Number
    Maximum retry attempts for redirection. Default: 5
    nodes List<Property Map>
    Cluster addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Cluster. The minimum length of the array is 1 element.

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisClusterNode, AiGatewayModelModelConfigBalancerSemanticVectordbRedisClusterNodeArgs

    Ip string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    Port double
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    Ip string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    Port float64
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip String
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port Double
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip str
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port float
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    ip String
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port Number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisKeepalive, AiGatewayModelModelConfigBalancerSemanticVectordbRedisKeepaliveArgs

    Backlog double
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    PoolSize double
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    Backlog float64
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    PoolSize float64
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog number
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    pool_size number
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog Double
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    poolSize Double
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog number
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    poolSize number
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog float
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    pool_size float
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256
    backlog Number
    Limits the total number of opened connections for a pool. If the connection pool is full, connection queues above the limit go into the backlog queue. If the backlog queue is full, subsequent connect operations fail and return nil. Queued operations (subject to set timeouts) resume once the number of connections in the pool is less than pool_size. If latency is high or throughput is low, try increasing this value. Empirically, this value is larger than pool_size.
    poolSize Number
    The size limit for every cosocket connection pool associated with every remote server, per worker process. If neither pool_size nor backlog is specified, no pool is created. If pool_size isn't specified but backlog is specified, then the pool uses the default value. Try to increase (e.g. 512) this value if latency is high or throughput is low. Default: 256

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinel, AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinelArgs

    Master string
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    Nodes List<AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinelNode>
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    Password string
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    Role string
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    Username string
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    Master string
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    Nodes []AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinelNode
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    Password string
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    Role string
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    Username string
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master string
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes list(object)
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password string
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role string
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username string
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master String
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes List<AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinelNode>
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password String
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role String
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username String
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master string
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinelNode[]
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password string
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role string
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username string
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master str
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes Sequence[AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinelNode]
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password str
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role str
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username str
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.
    master String
    Sentinel master to use for Redis connections. Defining this value implies using Redis Sentinel.
    nodes List<Property Map>
    Sentinel node addresses to use for Redis connections when the redis strategy is defined. Defining this field implies using a Redis Sentinel. The minimum length of the array is 1 element.
    password String
    Sentinel password to authenticate with a Redis Sentinel instance. If undefined, no AUTH commands are sent to Redis Sentinels. This field is referenceable.
    role String
    Sentinel role to use for Redis connections when the redis strategy is defined. Defining this value implies using Redis Sentinel. possible known values include one of ["any", "master", "slave"]
    username String
    Sentinel username to authenticate with a Redis Sentinel instance. If undefined, ACL authentication won't be performed. This requires Redis v6.2.0+. This field is referenceable.

    AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinelNode, AiGatewayModelModelConfigBalancerSemanticVectordbRedisSentinelNodeArgs

    Host string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    Port double
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    Host string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    Port float64
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host String
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port Double
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host string
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host str
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port float
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379
    host String
    A string representing a host name, such as example.com. Default: "127.0.0.1"
    port Number
    An integer representing a port number between 0 and 65535, inclusive. Default: 6379

    AiGatewayModelModelConfigLogging, AiGatewayModelModelConfigLoggingArgs

    Payloads bool
    Default: false
    Payloads bool
    Default: false
    payloads bool
    Default: false
    payloads Boolean
    Default: false
    payloads boolean
    Default: false
    payloads bool
    Default: false
    payloads Boolean
    Default: false

    AiGatewayModelModelConfigModel, AiGatewayModelModelConfigModelArgs

    NameHeader bool
    Display the model name selected in the X-Kong-LLM-Model response header. Default: true
    NameHeader bool
    Display the model name selected in the X-Kong-LLM-Model response header. Default: true
    name_header bool
    Display the model name selected in the X-Kong-LLM-Model response header. Default: true
    nameHeader Boolean
    Display the model name selected in the X-Kong-LLM-Model response header. Default: true
    nameHeader boolean
    Display the model name selected in the X-Kong-LLM-Model response header. Default: true
    name_header bool
    Display the model name selected in the X-Kong-LLM-Model response header. Default: true
    nameHeader Boolean
    Display the model name selected in the X-Kong-LLM-Model response header. Default: true

    AiGatewayModelModelConfigProxy, AiGatewayModelModelConfigProxyArgs

    Auth AiGatewayModelModelConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    HttpProxy AiGatewayModelModelConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    HttpsProxy AiGatewayModelModelConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    NoProxy string
    Comma-separated list of hosts that should not be proxied.
    ProxyScheme string
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    Auth AiGatewayModelModelConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    HttpProxy AiGatewayModelModelConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    HttpsProxy AiGatewayModelModelConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    NoProxy string
    Comma-separated list of hosts that should not be proxied.
    ProxyScheme string
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth object
    Credentials used to authenticate to the proxy server.
    http_proxy object
    HTTP proxy server to route plaintext outbound requests through.
    https_proxy object
    HTTPS proxy server to route TLS outbound requests through.
    no_proxy string
    Comma-separated list of hosts that should not be proxied.
    proxy_scheme string
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth AiGatewayModelModelConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    httpProxy AiGatewayModelModelConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    httpsProxy AiGatewayModelModelConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    noProxy String
    Comma-separated list of hosts that should not be proxied.
    proxyScheme String
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth AiGatewayModelModelConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    httpProxy AiGatewayModelModelConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    httpsProxy AiGatewayModelModelConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    noProxy string
    Comma-separated list of hosts that should not be proxied.
    proxyScheme string
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth AiGatewayModelModelConfigProxyAuth
    Credentials used to authenticate to the proxy server.
    http_proxy AiGatewayModelModelConfigProxyHttpProxy
    HTTP proxy server to route plaintext outbound requests through.
    https_proxy AiGatewayModelModelConfigProxyHttpsProxy
    HTTPS proxy server to route TLS outbound requests through.
    no_proxy str
    Comma-separated list of hosts that should not be proxied.
    proxy_scheme str
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"
    auth Property Map
    Credentials used to authenticate to the proxy server.
    httpProxy Property Map
    HTTP proxy server to route plaintext outbound requests through.
    httpsProxy Property Map
    HTTPS proxy server to route TLS outbound requests through.
    noProxy String
    Comma-separated list of hosts that should not be proxied.
    proxyScheme String
    The proxy scheme to use when connecting to the proxy server. Default: "http"; must be "http"

    AiGatewayModelModelConfigProxyAuth, AiGatewayModelModelConfigProxyAuthArgs

    Password string
    The password to use for proxy authentication. This field is referenceable.
    Username string
    The username to use for proxy authentication. This field is referenceable.
    Password string
    The password to use for proxy authentication. This field is referenceable.
    Username string
    The username to use for proxy authentication. This field is referenceable.
    password string
    The password to use for proxy authentication. This field is referenceable.
    username string
    The username to use for proxy authentication. This field is referenceable.
    password String
    The password to use for proxy authentication. This field is referenceable.
    username String
    The username to use for proxy authentication. This field is referenceable.
    password string
    The password to use for proxy authentication. This field is referenceable.
    username string
    The username to use for proxy authentication. This field is referenceable.
    password str
    The password to use for proxy authentication. This field is referenceable.
    username str
    The username to use for proxy authentication. This field is referenceable.
    password String
    The password to use for proxy authentication. This field is referenceable.
    username String
    The username to use for proxy authentication. This field is referenceable.

    AiGatewayModelModelConfigProxyHttpProxy, AiGatewayModelModelConfigProxyHttpProxyArgs

    Host string
    A string representing a host name, such as example.com.
    Port double
    An integer representing a port number between 0 and 65535, inclusive.
    Host string
    A string representing a host name, such as example.com.
    Port float64
    An integer representing a port number between 0 and 65535, inclusive.
    host string
    A string representing a host name, such as example.com.
    port number
    An integer representing a port number between 0 and 65535, inclusive.
    host String
    A string representing a host name, such as example.com.
    port Double
    An integer representing a port number between 0 and 65535, inclusive.
    host string
    A string representing a host name, such as example.com.
    port number
    An integer representing a port number between 0 and 65535, inclusive.
    host str
    A string representing a host name, such as example.com.
    port float
    An integer representing a port number between 0 and 65535, inclusive.
    host String
    A string representing a host name, such as example.com.
    port Number
    An integer representing a port number between 0 and 65535, inclusive.

    AiGatewayModelModelConfigProxyHttpsProxy, AiGatewayModelModelConfigProxyHttpsProxyArgs

    Host string
    A string representing a host name, such as example.com.
    Port double
    An integer representing a port number between 0 and 65535, inclusive.
    Host string
    A string representing a host name, such as example.com.
    Port float64
    An integer representing a port number between 0 and 65535, inclusive.
    host string
    A string representing a host name, such as example.com.
    port number
    An integer representing a port number between 0 and 65535, inclusive.
    host String
    A string representing a host name, such as example.com.
    port Double
    An integer representing a port number between 0 and 65535, inclusive.
    host string
    A string representing a host name, such as example.com.
    port number
    An integer representing a port number between 0 and 65535, inclusive.
    host str
    A string representing a host name, such as example.com.
    port float
    An integer representing a port number between 0 and 65535, inclusive.
    host String
    A string representing a host name, such as example.com.
    port Number
    An integer representing a port number between 0 and 65535, inclusive.

    AiGatewayModelModelConfigRoute, AiGatewayModelModelConfigRouteArgs

    Headers Dictionary<string, string>
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    Hosts List<string>
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    HttpsRedirectStatusCode double
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    Methods List<string>
    A list of HTTP methods that match this route.
    Model AiGatewayModelModelConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    Paths List<string>
    A list of paths that match this route.
    PreserveHost bool
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    Protocols List<string>
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    RegexPriority double
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    RequestBuffering bool
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    ResponseBuffering bool
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    StripPath bool
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    Tags List<string>
    An optional set of strings associated with the route for grouping and filtering.
    Headers map[string]string
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    Hosts []string
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    HttpsRedirectStatusCode float64
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    Methods []string
    A list of HTTP methods that match this route.
    Model AiGatewayModelModelConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    Paths []string
    A list of paths that match this route.
    PreserveHost bool
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    Protocols []string
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    RegexPriority float64
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    RequestBuffering bool
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    ResponseBuffering bool
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    StripPath bool
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    Tags []string
    An optional set of strings associated with the route for grouping and filtering.
    headers map(string)
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts list(string)
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    https_redirect_status_code number
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods list(string)
    A list of HTTP methods that match this route.
    model object
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths list(string)
    A list of paths that match this route.
    preserve_host bool
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols list(string)
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regex_priority number
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    request_buffering bool
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    response_buffering bool
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    strip_path bool
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags list(string)
    An optional set of strings associated with the route for grouping and filtering.
    headers Map<String,String>
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts List<String>
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    httpsRedirectStatusCode Double
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods List<String>
    A list of HTTP methods that match this route.
    model AiGatewayModelModelConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths List<String>
    A list of paths that match this route.
    preserveHost Boolean
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols List<String>
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regexPriority Double
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    requestBuffering Boolean
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    responseBuffering Boolean
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    stripPath Boolean
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags List<String>
    An optional set of strings associated with the route for grouping and filtering.
    headers {[key: string]: string}
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts string[]
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    httpsRedirectStatusCode number
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods string[]
    A list of HTTP methods that match this route.
    model AiGatewayModelModelConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths string[]
    A list of paths that match this route.
    preserveHost boolean
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols string[]
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regexPriority number
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    requestBuffering boolean
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    responseBuffering boolean
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    stripPath boolean
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags string[]
    An optional set of strings associated with the route for grouping and filtering.
    headers Mapping[str, str]
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts Sequence[str]
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    https_redirect_status_code float
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods Sequence[str]
    A list of HTTP methods that match this route.
    model AiGatewayModelModelConfigRouteModel
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths Sequence[str]
    A list of paths that match this route.
    preserve_host bool
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols Sequence[str]
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regex_priority float
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    request_buffering bool
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    response_buffering bool
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    strip_path bool
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags Sequence[str]
    An optional set of strings associated with the route for grouping and filtering.
    headers Map<String>
    One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the hosts attribute. When headers contains only one value and that value starts with the special prefix ~*, the value is interpreted as a regular expression.
    hosts List<String>
    A list of domain names that match this route. Note that the hosts value is case sensitive.
    httpsRedirectStatusCode Number
    The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is HTTP instead of HTTPS. Location header is injected by Kong if the field is set to 301, 302, 307 or 308. Note: This config applies only if the route is configured to only accept the https protocol. Default: 426
    methods List<String>
    A list of HTTP methods that match this route.
    model Property Map
    Configuration for overriding routing to this model using a selector. When no selector location is set, the format default selector is used. When values are not set, the model name is used as the selector value.
    paths List<String>
    A list of paths that match this route.
    preserveHost Boolean
    When matching a route via one of the hosts domain names, use the request Host header in the upstream request headers. If set to false, the upstream Host header will be that of the service's host. Default: false
    protocols List<String>
    An array of the protocols this route should allow. See the route Object section for a list of accepted protocols. When set to only https, HTTP requests are answered with an upgrade error. When set to only http, HTTPS requests are answered with an error. Default: ["http","https"]
    regexPriority Number
    A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest created_at) is used. Note that the priority for non-regex routes is different (longer non-regex routes are matched before shorter ones). Default: 0
    requestBuffering Boolean
    Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true
    responseBuffering Boolean
    Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: true
    stripPath Boolean
    When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: true
    tags List<String>
    An optional set of strings associated with the route for grouping and filtering.

    AiGatewayModelModelConfigRouteModel, AiGatewayModelModelConfigRouteModelArgs

    BodyParam string
    The body property name to match for routing.
    HeaderParam string
    The header property name to match for routing.
    PathParam string
    The name of the regex capture group defined in the route path for routing.
    Values List<string>
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    BodyParam string
    The body property name to match for routing.
    HeaderParam string
    The header property name to match for routing.
    PathParam string
    The name of the regex capture group defined in the route path for routing.
    Values []string
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    body_param string
    The body property name to match for routing.
    header_param string
    The header property name to match for routing.
    path_param string
    The name of the regex capture group defined in the route path for routing.
    values list(string)
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    bodyParam String
    The body property name to match for routing.
    headerParam String
    The header property name to match for routing.
    pathParam String
    The name of the regex capture group defined in the route path for routing.
    values List<String>
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    bodyParam string
    The body property name to match for routing.
    headerParam string
    The header property name to match for routing.
    pathParam string
    The name of the regex capture group defined in the route path for routing.
    values string[]
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    body_param str
    The body property name to match for routing.
    header_param str
    The header property name to match for routing.
    path_param str
    The name of the regex capture group defined in the route path for routing.
    values Sequence[str]
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.
    bodyParam String
    The body property name to match for routing.
    headerParam String
    The header property name to match for routing.
    pathParam String
    The name of the regex capture group defined in the route path for routing.
    values List<String>
    An optional model alias. When omitted, the model name is used. When no selector location is configured, the format default selector is used.

    AiGatewayModelModelFormat, AiGatewayModelModelFormatArgs

    Type string
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    Type string
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type string
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type String
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type string
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type str
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]
    type String
    The format type. possible known values include one of ["anthropic", "bedrock", "cohere", "gemini", "huggingface", "openai"]

    AiGatewayModelModelTarget, AiGatewayModelModelTargetArgs

    AllowAuthOverride bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    Config AiGatewayModelModelTargetConfig
    Configuration for a target model. Not Null
    Name string
    The name of the model defined in the upstream provider that will be executed. Not Null
    Provider string
    Reference to a model provider instance by name. Not Null
    SemanticDescription string
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    Weight double
    The weight this target gets within the upstream load balancer. Default: 100
    AllowAuthOverride bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    Config AiGatewayModelModelTargetConfig
    Configuration for a target model. Not Null
    Name string
    The name of the model defined in the upstream provider that will be executed. Not Null
    Provider string
    Reference to a model provider instance by name. Not Null
    SemanticDescription string
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    Weight float64
    The weight this target gets within the upstream load balancer. Default: 100
    allow_auth_override bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config object
    Configuration for a target model. Not Null
    name string
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider string
    Reference to a model provider instance by name. Not Null
    semantic_description string
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight number
    The weight this target gets within the upstream load balancer. Default: 100
    allowAuthOverride Boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelModelTargetConfig
    Configuration for a target model. Not Null
    name String
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider String
    Reference to a model provider instance by name. Not Null
    semanticDescription String
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight Double
    The weight this target gets within the upstream load balancer. Default: 100
    allowAuthOverride boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelModelTargetConfig
    Configuration for a target model. Not Null
    name string
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider string
    Reference to a model provider instance by name. Not Null
    semanticDescription string
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight number
    The weight this target gets within the upstream load balancer. Default: 100
    allow_auth_override bool
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config AiGatewayModelModelTargetConfig
    Configuration for a target model. Not Null
    name str
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider str
    Reference to a model provider instance by name. Not Null
    semantic_description str
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight float
    The weight this target gets within the upstream load balancer. Default: 100
    allowAuthOverride Boolean
    When enabled, request-level auth parameters (such as API keys or bearer tokens) will override the static values defined for the provider. Default: false
    config Property Map
    Configuration for a target model. Not Null
    name String
    The name of the model defined in the upstream provider that will be executed. Not Null
    provider String
    Reference to a model provider instance by name. Not Null
    semanticDescription String
    The semantic description of the target, required if using semantic load balancing. Specially, setting this to 'CATCHALL' will indicate such target to be used when no other targets match the semantic threshold.
    weight Number
    The weight this target gets within the upstream load balancer. Default: 100

    AiGatewayModelModelTargetConfig, AiGatewayModelModelTargetConfigArgs

    Anthropic AiGatewayModelModelTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    Azure AiGatewayModelModelTargetConfigAzure
    Azure-specific configuration for a model.
    Bedrock AiGatewayModelModelTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    Cerebras AiGatewayModelModelTargetConfigCerebras
    Cerebras-specific configuration for a model.
    Cohere AiGatewayModelModelTargetConfigCohere
    Cohere-specific configuration for a model.
    Dashscope AiGatewayModelModelTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    Databricks AiGatewayModelModelTargetConfigDatabricks
    Databricks-specific configuration for a model.
    Deepseek AiGatewayModelModelTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    Gemini AiGatewayModelModelTargetConfigGemini
    Google Gemini-specific configuration for a model.
    Huggingface AiGatewayModelModelTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    Kimi AiGatewayModelModelTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    Llama2 AiGatewayModelModelTargetConfigLlama2
    Llama2-specific configuration for a model.
    Mistral AiGatewayModelModelTargetConfigMistral
    Mistral-specific configuration for a model.
    Ollama AiGatewayModelModelTargetConfigOllama
    Ollama-specific configuration for a model.
    Openai AiGatewayModelModelTargetConfigOpenai
    Openai-specific configuration for a model.
    Sagemaker AiGatewayModelModelTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    Vercel AiGatewayModelModelTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    Vllm AiGatewayModelModelTargetConfigVllm
    Vllm-specific configuration for a model.
    Xai AiGatewayModelModelTargetConfigXai
    Xai-specific configuration for a model.
    Anthropic AiGatewayModelModelTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    Azure AiGatewayModelModelTargetConfigAzure
    Azure-specific configuration for a model.
    Bedrock AiGatewayModelModelTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    Cerebras AiGatewayModelModelTargetConfigCerebras
    Cerebras-specific configuration for a model.
    Cohere AiGatewayModelModelTargetConfigCohere
    Cohere-specific configuration for a model.
    Dashscope AiGatewayModelModelTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    Databricks AiGatewayModelModelTargetConfigDatabricks
    Databricks-specific configuration for a model.
    Deepseek AiGatewayModelModelTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    Gemini AiGatewayModelModelTargetConfigGemini
    Google Gemini-specific configuration for a model.
    Huggingface AiGatewayModelModelTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    Kimi AiGatewayModelModelTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    Llama2 AiGatewayModelModelTargetConfigLlama2
    Llama2-specific configuration for a model.
    Mistral AiGatewayModelModelTargetConfigMistral
    Mistral-specific configuration for a model.
    Ollama AiGatewayModelModelTargetConfigOllama
    Ollama-specific configuration for a model.
    Openai AiGatewayModelModelTargetConfigOpenai
    Openai-specific configuration for a model.
    Sagemaker AiGatewayModelModelTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    Vercel AiGatewayModelModelTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    Vllm AiGatewayModelModelTargetConfigVllm
    Vllm-specific configuration for a model.
    Xai AiGatewayModelModelTargetConfigXai
    Xai-specific configuration for a model.
    anthropic object
    Anthropic-specific configuration for a model.
    azure object
    Azure-specific configuration for a model.
    bedrock object
    AWS Bedrock-specific configuration for a model.
    cerebras object
    Cerebras-specific configuration for a model.
    cohere object
    Cohere-specific configuration for a model.
    dashscope object
    Alibaba DashScope-specific configuration for a model.
    databricks object
    Databricks-specific configuration for a model.
    deepseek object
    Deepseek-specific configuration for a model.
    gemini object
    Google Gemini-specific configuration for a model.
    huggingface object
    Hugging Face-specific configuration for a model.
    kimi object
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 object
    Llama2-specific configuration for a model.
    mistral object
    Mistral-specific configuration for a model.
    ollama object
    Ollama-specific configuration for a model.
    openai object
    Openai-specific configuration for a model.
    sagemaker object
    AWS SageMaker-specific configuration for a model.
    vercel object
    Vercel AI Gateway-specific configuration for a model.
    vllm object
    Vllm-specific configuration for a model.
    xai object
    Xai-specific configuration for a model.
    anthropic AiGatewayModelModelTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    azure AiGatewayModelModelTargetConfigAzure
    Azure-specific configuration for a model.
    bedrock AiGatewayModelModelTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    cerebras AiGatewayModelModelTargetConfigCerebras
    Cerebras-specific configuration for a model.
    cohere AiGatewayModelModelTargetConfigCohere
    Cohere-specific configuration for a model.
    dashscope AiGatewayModelModelTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    databricks AiGatewayModelModelTargetConfigDatabricks
    Databricks-specific configuration for a model.
    deepseek AiGatewayModelModelTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    gemini AiGatewayModelModelTargetConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelModelTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    kimi AiGatewayModelModelTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 AiGatewayModelModelTargetConfigLlama2
    Llama2-specific configuration for a model.
    mistral AiGatewayModelModelTargetConfigMistral
    Mistral-specific configuration for a model.
    ollama AiGatewayModelModelTargetConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelModelTargetConfigOpenai
    Openai-specific configuration for a model.
    sagemaker AiGatewayModelModelTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    vercel AiGatewayModelModelTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    vllm AiGatewayModelModelTargetConfigVllm
    Vllm-specific configuration for a model.
    xai AiGatewayModelModelTargetConfigXai
    Xai-specific configuration for a model.
    anthropic AiGatewayModelModelTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    azure AiGatewayModelModelTargetConfigAzure
    Azure-specific configuration for a model.
    bedrock AiGatewayModelModelTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    cerebras AiGatewayModelModelTargetConfigCerebras
    Cerebras-specific configuration for a model.
    cohere AiGatewayModelModelTargetConfigCohere
    Cohere-specific configuration for a model.
    dashscope AiGatewayModelModelTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    databricks AiGatewayModelModelTargetConfigDatabricks
    Databricks-specific configuration for a model.
    deepseek AiGatewayModelModelTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    gemini AiGatewayModelModelTargetConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelModelTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    kimi AiGatewayModelModelTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 AiGatewayModelModelTargetConfigLlama2
    Llama2-specific configuration for a model.
    mistral AiGatewayModelModelTargetConfigMistral
    Mistral-specific configuration for a model.
    ollama AiGatewayModelModelTargetConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelModelTargetConfigOpenai
    Openai-specific configuration for a model.
    sagemaker AiGatewayModelModelTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    vercel AiGatewayModelModelTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    vllm AiGatewayModelModelTargetConfigVllm
    Vllm-specific configuration for a model.
    xai AiGatewayModelModelTargetConfigXai
    Xai-specific configuration for a model.
    anthropic AiGatewayModelModelTargetConfigAnthropic
    Anthropic-specific configuration for a model.
    azure AiGatewayModelModelTargetConfigAzure
    Azure-specific configuration for a model.
    bedrock AiGatewayModelModelTargetConfigBedrock
    AWS Bedrock-specific configuration for a model.
    cerebras AiGatewayModelModelTargetConfigCerebras
    Cerebras-specific configuration for a model.
    cohere AiGatewayModelModelTargetConfigCohere
    Cohere-specific configuration for a model.
    dashscope AiGatewayModelModelTargetConfigDashscope
    Alibaba DashScope-specific configuration for a model.
    databricks AiGatewayModelModelTargetConfigDatabricks
    Databricks-specific configuration for a model.
    deepseek AiGatewayModelModelTargetConfigDeepseek
    Deepseek-specific configuration for a model.
    gemini AiGatewayModelModelTargetConfigGemini
    Google Gemini-specific configuration for a model.
    huggingface AiGatewayModelModelTargetConfigHuggingface
    Hugging Face-specific configuration for a model.
    kimi AiGatewayModelModelTargetConfigKimi
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 AiGatewayModelModelTargetConfigLlama2
    Llama2-specific configuration for a model.
    mistral AiGatewayModelModelTargetConfigMistral
    Mistral-specific configuration for a model.
    ollama AiGatewayModelModelTargetConfigOllama
    Ollama-specific configuration for a model.
    openai AiGatewayModelModelTargetConfigOpenai
    Openai-specific configuration for a model.
    sagemaker AiGatewayModelModelTargetConfigSagemaker
    AWS SageMaker-specific configuration for a model.
    vercel AiGatewayModelModelTargetConfigVercel
    Vercel AI Gateway-specific configuration for a model.
    vllm AiGatewayModelModelTargetConfigVllm
    Vllm-specific configuration for a model.
    xai AiGatewayModelModelTargetConfigXai
    Xai-specific configuration for a model.
    anthropic Property Map
    Anthropic-specific configuration for a model.
    azure Property Map
    Azure-specific configuration for a model.
    bedrock Property Map
    AWS Bedrock-specific configuration for a model.
    cerebras Property Map
    Cerebras-specific configuration for a model.
    cohere Property Map
    Cohere-specific configuration for a model.
    dashscope Property Map
    Alibaba DashScope-specific configuration for a model.
    databricks Property Map
    Databricks-specific configuration for a model.
    deepseek Property Map
    Deepseek-specific configuration for a model.
    gemini Property Map
    Google Gemini-specific configuration for a model.
    huggingface Property Map
    Hugging Face-specific configuration for a model.
    kimi Property Map
    Kimi (Moonshot AI)-specific configuration for a model.
    llama2 Property Map
    Llama2-specific configuration for a model.
    mistral Property Map
    Mistral-specific configuration for a model.
    ollama Property Map
    Ollama-specific configuration for a model.
    openai Property Map
    Openai-specific configuration for a model.
    sagemaker Property Map
    AWS SageMaker-specific configuration for a model.
    vercel Property Map
    Vercel AI Gateway-specific configuration for a model.
    vllm Property Map
    Vllm-specific configuration for a model.
    xai Property Map
    Xai-specific configuration for a model.

    AiGatewayModelModelTargetConfigAnthropic, AiGatewayModelModelTargetConfigAnthropicArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigAnthropicCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigAnthropicContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigAnthropicServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    Version string
    The Anthropic API version to use. Default: "2023-06-01"
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigAnthropicCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigAnthropicContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigAnthropicServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    Version string
    The Anthropic API version to use. Default: "2023-06-01"
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    version string
    The Anthropic API version to use. Default: "2023-06-01"
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigAnthropicCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigAnthropicContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigAnthropicServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    version String
    The Anthropic API version to use. Default: "2023-06-01"
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigAnthropicCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigAnthropicContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigAnthropicServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    version string
    The Anthropic API version to use. Default: "2023-06-01"
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigAnthropicCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigAnthropicContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigAnthropicServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    version str
    The Anthropic API version to use. Default: "2023-06-01"
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    version String
    The Anthropic API version to use. Default: "2023-06-01"

    AiGatewayModelModelTargetConfigAnthropicCacheWriteCostList, AiGatewayModelModelTargetConfigAnthropicCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigAnthropicContextWindowFactor, AiGatewayModelModelTargetConfigAnthropicContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigAnthropicServiceTierFactor, AiGatewayModelModelTargetConfigAnthropicServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigAzure, AiGatewayModelModelTargetConfigAzureArgs

    ApiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigAzureCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigAzureContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    DeploymentId string
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    FoundryPathPrefix string
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigAzureServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    ApiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigAzureCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigAzureContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    DeploymentId string
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    FoundryPathPrefix string
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigAzureServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    api_version string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deployment_id string
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    foundry_path_prefix string
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    apiVersion String
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigAzureCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigAzureContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deploymentId String
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    foundryPathPrefix String
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigAzureServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    apiVersion string
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigAzureCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigAzureContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deploymentId string
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    foundryPathPrefix string
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigAzureServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    api_version str
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigAzureCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigAzureContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deployment_id str
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    foundry_path_prefix str
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigAzureServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    apiVersion String
    The Azure OpenAI API version to use. Default: "2023-05-15"
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    deploymentId String
    The Azure deployment ID for the model. Applies when the Azure provider's service is azure-openai; not used for azure-foundry.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    foundryPathPrefix String
    The API path prefix for the Azure AI Foundry endpoint, selecting the model's API surface. /openai/v1 targets the OpenAI-compatible surface; /anthropic/v1 targets the Anthropic surface. Applies when the Azure provider's service is azure-foundry. possible known values include one of ["/openai/v1", "/anthropic/v1"]; Default: "/openai/v1"
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigAzureCacheWriteCostList, AiGatewayModelModelTargetConfigAzureCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigAzureContextWindowFactor, AiGatewayModelModelTargetConfigAzureContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigAzureServiceTierFactor, AiGatewayModelModelTargetConfigAzureServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigBedrock, AiGatewayModelModelTargetConfigBedrockArgs

    BatchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigBedrockCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigBedrockContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    EmbeddingsNormalize bool
    Whether to normalize embedding vectors in the response. Default: false
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    PerformanceConfigLatency string
    Latency performance configuration for the model invocation.
    Region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigBedrockServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    VideoOutputS3Uri string
    S3 URI for storing video generation outputs.
    BatchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigBedrockCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigBedrockContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    EmbeddingsNormalize bool
    Whether to normalize embedding vectors in the response. Default: false
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    PerformanceConfigLatency string
    Latency performance configuration for the model invocation.
    Region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    ServiceTierFactors []AiGatewayModelModelTargetConfigBedrockServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    VideoOutputS3Uri string
    S3 URI for storing video generation outputs.
    batch_bucket_prefix string
    S3 bucket prefix for batch inference jobs.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    embeddings_normalize bool
    Whether to normalize embedding vectors in the response. Default: false
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    performance_config_latency string
    Latency performance configuration for the model invocation.
    region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    video_output_s3_uri string
    S3 URI for storing video generation outputs.
    batchBucketPrefix String
    S3 bucket prefix for batch inference jobs.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigBedrockCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigBedrockContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    embeddingsNormalize Boolean
    Whether to normalize embedding vectors in the response. Default: false
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    performanceConfigLatency String
    Latency performance configuration for the model invocation.
    region String
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    serviceTierFactors List<AiGatewayModelModelTargetConfigBedrockServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    videoOutputS3Uri String
    S3 URI for storing video generation outputs.
    batchBucketPrefix string
    S3 bucket prefix for batch inference jobs.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigBedrockCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigBedrockContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    embeddingsNormalize boolean
    Whether to normalize embedding vectors in the response. Default: false
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    performanceConfigLatency string
    Latency performance configuration for the model invocation.
    region string
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    serviceTierFactors AiGatewayModelModelTargetConfigBedrockServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    videoOutputS3Uri string
    S3 URI for storing video generation outputs.
    batch_bucket_prefix str
    S3 bucket prefix for batch inference jobs.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigBedrockCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigBedrockContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    embeddings_normalize bool
    Whether to normalize embedding vectors in the response. Default: false
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    performance_config_latency str
    Latency performance configuration for the model invocation.
    region str
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigBedrockServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    video_output_s3_uri str
    S3 URI for storing video generation outputs.
    batchBucketPrefix String
    S3 bucket prefix for batch inference jobs.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    embeddingsNormalize Boolean
    Whether to normalize embedding vectors in the response. Default: false
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    performanceConfigLatency String
    Latency performance configuration for the model invocation.
    region String
    The AWS region for the model. Setting this option overrides the AWS_REGION environment variable.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    videoOutputS3Uri String
    S3 URI for storing video generation outputs.

    AiGatewayModelModelTargetConfigBedrockCacheWriteCostList, AiGatewayModelModelTargetConfigBedrockCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigBedrockContextWindowFactor, AiGatewayModelModelTargetConfigBedrockContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigBedrockServiceTierFactor, AiGatewayModelModelTargetConfigBedrockServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigCerebras, AiGatewayModelModelTargetConfigCerebrasArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigCerebrasCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigCerebrasContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigCerebrasServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigCerebrasCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigCerebrasContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigCerebrasServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigCerebrasCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigCerebrasContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigCerebrasServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigCerebrasCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigCerebrasContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigCerebrasServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigCerebrasCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigCerebrasContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigCerebrasServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigCerebrasCacheWriteCostList, AiGatewayModelModelTargetConfigCerebrasCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigCerebrasContextWindowFactor, AiGatewayModelModelTargetConfigCerebrasContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigCerebrasServiceTierFactor, AiGatewayModelModelTargetConfigCerebrasServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigCohere, AiGatewayModelModelTargetConfigCohereArgs

    ApiVersion string
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigCohereCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigCohereContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingInputType string
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigCohereServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    WaitForModel bool
    Whether to wait for the model to be ready before sending the request. Default: false
    ApiVersion string
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigCohereCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigCohereContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingInputType string
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigCohereServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    WaitForModel bool
    Whether to wait for the model to be ready before sending the request. Default: false
    api_version string
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embedding_input_type string
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    wait_for_model bool
    Whether to wait for the model to be ready before sending the request. Default: false
    apiVersion String
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigCohereCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigCohereContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingInputType String
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigCohereServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    waitForModel Boolean
    Whether to wait for the model to be ready before sending the request. Default: false
    apiVersion string
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigCohereCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigCohereContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingInputType string
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigCohereServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    waitForModel boolean
    Whether to wait for the model to be ready before sending the request. Default: false
    api_version str
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigCohereCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigCohereContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embedding_input_type str
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigCohereServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    wait_for_model bool
    Whether to wait for the model to be ready before sending the request. Default: false
    apiVersion String
    Cohere API version. v1 uses the legacy /v1/chat endpoint; v2 (default) uses /v2/chat and supports tool calling. possible known values include one of ["v1", "v2"]; Default: "v2"
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingInputType String
    The intended downstream use of the embeddings to improve model quality. possible known values include one of ["classification", "clustering", "image", "searchdocument", "searchquery"]; Default: "classification"
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    waitForModel Boolean
    Whether to wait for the model to be ready before sending the request. Default: false

    AiGatewayModelModelTargetConfigCohereCacheWriteCostList, AiGatewayModelModelTargetConfigCohereCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigCohereContextWindowFactor, AiGatewayModelModelTargetConfigCohereContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigCohereServiceTierFactor, AiGatewayModelModelTargetConfigCohereServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigDashscope, AiGatewayModelModelTargetConfigDashscopeArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigDashscopeCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigDashscopeContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    International bool
    Whether to use the international DashScope endpoint. Default: true
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigDashscopeServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigDashscopeCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigDashscopeContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    International bool
    Whether to use the international DashScope endpoint. Default: true
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigDashscopeServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    international bool
    Whether to use the international DashScope endpoint. Default: true
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigDashscopeCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigDashscopeContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    international Boolean
    Whether to use the international DashScope endpoint. Default: true
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigDashscopeServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigDashscopeCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigDashscopeContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    international boolean
    Whether to use the international DashScope endpoint. Default: true
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigDashscopeServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigDashscopeCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigDashscopeContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    international bool
    Whether to use the international DashScope endpoint. Default: true
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigDashscopeServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    international Boolean
    Whether to use the international DashScope endpoint. Default: true
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigDashscopeCacheWriteCostList, AiGatewayModelModelTargetConfigDashscopeCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigDashscopeContextWindowFactor, AiGatewayModelModelTargetConfigDashscopeContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigDashscopeServiceTierFactor, AiGatewayModelModelTargetConfigDashscopeServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigDatabricks, AiGatewayModelModelTargetConfigDatabricksArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigDatabricksCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigDatabricksContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigDatabricksServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    WorkspaceInstanceId string
    The Databricks workspace instance ID. Not Null
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigDatabricksCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigDatabricksContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigDatabricksServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    WorkspaceInstanceId string
    The Databricks workspace instance ID. Not Null
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    workspace_instance_id string
    The Databricks workspace instance ID. Not Null
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigDatabricksCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigDatabricksContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigDatabricksServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    workspaceInstanceId String
    The Databricks workspace instance ID. Not Null
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigDatabricksCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigDatabricksContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigDatabricksServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    workspaceInstanceId string
    The Databricks workspace instance ID. Not Null
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigDatabricksCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigDatabricksContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigDatabricksServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    workspace_instance_id str
    The Databricks workspace instance ID. Not Null
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    workspaceInstanceId String
    The Databricks workspace instance ID. Not Null

    AiGatewayModelModelTargetConfigDatabricksCacheWriteCostList, AiGatewayModelModelTargetConfigDatabricksCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigDatabricksContextWindowFactor, AiGatewayModelModelTargetConfigDatabricksContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigDatabricksServiceTierFactor, AiGatewayModelModelTargetConfigDatabricksServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigDeepseek, AiGatewayModelModelTargetConfigDeepseekArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigDeepseekCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigDeepseekContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigDeepseekServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigDeepseekCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigDeepseekContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigDeepseekServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigDeepseekCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigDeepseekContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigDeepseekServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigDeepseekCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigDeepseekContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigDeepseekServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigDeepseekCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigDeepseekContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigDeepseekServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigDeepseekCacheWriteCostList, AiGatewayModelModelTargetConfigDeepseekCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigDeepseekContextWindowFactor, AiGatewayModelModelTargetConfigDeepseekContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigDeepseekServiceTierFactor, AiGatewayModelModelTargetConfigDeepseekServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigGemini, AiGatewayModelModelTargetConfigGeminiArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigGeminiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigGeminiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    GcpEnvironment AiGatewayModelModelTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigGeminiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigGeminiCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigGeminiContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    GcpEnvironment AiGatewayModelModelTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigGeminiServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    gcp_environment object
    Configuration for a model hosted on Google Cloud Project.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigGeminiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigGeminiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    gcpEnvironment AiGatewayModelModelTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigGeminiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigGeminiCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigGeminiContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    gcpEnvironment AiGatewayModelModelTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigGeminiServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigGeminiCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigGeminiContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    gcp_environment AiGatewayModelModelTargetConfigGeminiGcpEnvironment
    Configuration for a model hosted on Google Cloud Project.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigGeminiServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    gcpEnvironment Property Map
    Configuration for a model hosted on Google Cloud Project.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigGeminiCacheWriteCostList, AiGatewayModelModelTargetConfigGeminiCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigGeminiContextWindowFactor, AiGatewayModelModelTargetConfigGeminiContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigGeminiGcpEnvironment, AiGatewayModelModelTargetConfigGeminiGcpEnvironmentArgs

    ApiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    LocationId string
    The Google Cloud location ID for the model endpoint. Not Null
    ProjectId string
    The Google Cloud project ID for the model endpoint. Not Null
    ApiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    LocationId string
    The Google Cloud location ID for the model endpoint. Not Null
    ProjectId string
    The Google Cloud project ID for the model endpoint. Not Null
    api_endpoint string
    The custom API endpoint for the Gemini model. Not Null
    location_id string
    The Google Cloud location ID for the model endpoint. Not Null
    project_id string
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint String
    The custom API endpoint for the Gemini model. Not Null
    locationId String
    The Google Cloud location ID for the model endpoint. Not Null
    projectId String
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint string
    The custom API endpoint for the Gemini model. Not Null
    locationId string
    The Google Cloud location ID for the model endpoint. Not Null
    projectId string
    The Google Cloud project ID for the model endpoint. Not Null
    api_endpoint str
    The custom API endpoint for the Gemini model. Not Null
    location_id str
    The Google Cloud location ID for the model endpoint. Not Null
    project_id str
    The Google Cloud project ID for the model endpoint. Not Null
    apiEndpoint String
    The custom API endpoint for the Gemini model. Not Null
    locationId String
    The Google Cloud location ID for the model endpoint. Not Null
    projectId String
    The Google Cloud project ID for the model endpoint. Not Null

    AiGatewayModelModelTargetConfigGeminiServiceTierFactor, AiGatewayModelModelTargetConfigGeminiServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigHuggingface, AiGatewayModelModelTargetConfigHuggingfaceArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigHuggingfaceCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigHuggingfaceContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigHuggingfaceServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    UseCache bool
    Whether to use the Hugging Face inference cache. Default: false
    WaitForModel bool
    Whether to wait for the model to load if it is not ready. Default: false
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigHuggingfaceCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigHuggingfaceContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigHuggingfaceServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    UseCache bool
    Whether to use the Hugging Face inference cache. Default: false
    WaitForModel bool
    Whether to wait for the model to load if it is not ready. Default: false
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    use_cache bool
    Whether to use the Hugging Face inference cache. Default: false
    wait_for_model bool
    Whether to wait for the model to load if it is not ready. Default: false
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigHuggingfaceCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigHuggingfaceContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigHuggingfaceServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    useCache Boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel Boolean
    Whether to wait for the model to load if it is not ready. Default: false
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigHuggingfaceCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigHuggingfaceContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigHuggingfaceServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    useCache boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel boolean
    Whether to wait for the model to load if it is not ready. Default: false
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigHuggingfaceCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigHuggingfaceContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigHuggingfaceServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    use_cache bool
    Whether to use the Hugging Face inference cache. Default: false
    wait_for_model bool
    Whether to wait for the model to load if it is not ready. Default: false
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    useCache Boolean
    Whether to use the Hugging Face inference cache. Default: false
    waitForModel Boolean
    Whether to wait for the model to load if it is not ready. Default: false

    AiGatewayModelModelTargetConfigHuggingfaceCacheWriteCostList, AiGatewayModelModelTargetConfigHuggingfaceCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigHuggingfaceContextWindowFactor, AiGatewayModelModelTargetConfigHuggingfaceContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigHuggingfaceServiceTierFactor, AiGatewayModelModelTargetConfigHuggingfaceServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigKimi, AiGatewayModelModelTargetConfigKimiArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigKimiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigKimiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    International bool
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigKimiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigKimiCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigKimiContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    International bool
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigKimiServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    international bool
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigKimiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigKimiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    international Boolean
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigKimiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigKimiCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigKimiContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    international boolean
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigKimiServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigKimiCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigKimiContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    international bool
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigKimiServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    international Boolean
    When true, requests are sent to api.moonshot.ai (international). When false, requests are sent to api.moonshot.cn (mainland China). Default: true
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigKimiCacheWriteCostList, AiGatewayModelModelTargetConfigKimiCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigKimiContextWindowFactor, AiGatewayModelModelTargetConfigKimiContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigKimiServiceTierFactor, AiGatewayModelModelTargetConfigKimiServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigLlama2, AiGatewayModelModelTargetConfigLlama2Args

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigLlama2CacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigLlama2ContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    Format string
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigLlama2ServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint. Not Null
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigLlama2CacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigLlama2ContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    Format string
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigLlama2ServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint. Not Null
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    format string
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint. Not Null
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigLlama2CacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigLlama2ContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    format String
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigLlama2ServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint. Not Null
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigLlama2CacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigLlama2ContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    format string
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigLlama2ServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint. Not Null
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigLlama2CacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigLlama2ContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    format str
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigLlama2ServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint. Not Null
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    format String
    The request format to use when communicating with the Llama2 model. possible known values include one of ["ollama", "openai", "raw"]; Not Null
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint. Not Null

    AiGatewayModelModelTargetConfigLlama2CacheWriteCostList, AiGatewayModelModelTargetConfigLlama2CacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigLlama2ContextWindowFactor, AiGatewayModelModelTargetConfigLlama2ContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigLlama2ServiceTierFactor, AiGatewayModelModelTargetConfigLlama2ServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigMistral, AiGatewayModelModelTargetConfigMistralArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigMistralCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigMistralContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    Format string
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigMistralServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigMistralCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigMistralContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    Format string
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigMistralServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    format string
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigMistralCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigMistralContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    format String
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigMistralServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigMistralCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigMistralContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    format string
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigMistralServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigMistralCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigMistralContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    format str
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigMistralServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    format String
    The request format to use when communicating with the Mistral model. possible known values include one of ["ollama", "openai"]; Not Null
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigMistralCacheWriteCostList, AiGatewayModelModelTargetConfigMistralCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigMistralContextWindowFactor, AiGatewayModelModelTargetConfigMistralContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigMistralServiceTierFactor, AiGatewayModelModelTargetConfigMistralServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigOllama, AiGatewayModelModelTargetConfigOllamaArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigOllamaCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigOllamaContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigOllamaServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigOllamaCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigOllamaContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigOllamaServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigOllamaCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigOllamaContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigOllamaServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigOllamaCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigOllamaContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigOllamaServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigOllamaCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigOllamaContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigOllamaServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigOllamaCacheWriteCostList, AiGatewayModelModelTargetConfigOllamaCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigOllamaContextWindowFactor, AiGatewayModelModelTargetConfigOllamaContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigOllamaServiceTierFactor, AiGatewayModelModelTargetConfigOllamaServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigOpenai, AiGatewayModelModelTargetConfigOpenaiArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigOpenaiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigOpenaiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigOpenaiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigOpenaiCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigOpenaiContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigOpenaiServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigOpenaiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigOpenaiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigOpenaiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigOpenaiCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigOpenaiContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigOpenaiServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigOpenaiCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigOpenaiContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigOpenaiServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigOpenaiCacheWriteCostList, AiGatewayModelModelTargetConfigOpenaiCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigOpenaiContextWindowFactor, AiGatewayModelModelTargetConfigOpenaiContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigOpenaiServiceTierFactor, AiGatewayModelModelTargetConfigOpenaiServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigSagemaker, AiGatewayModelModelTargetConfigSagemakerArgs

    Aws AiGatewayModelModelTargetConfigSagemakerAws
    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigSagemakerCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigSagemakerContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigSagemakerServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Target AiGatewayModelModelTargetConfigSagemakerTarget
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    Aws AiGatewayModelModelTargetConfigSagemakerAws
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigSagemakerCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigSagemakerContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigSagemakerServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Target AiGatewayModelModelTargetConfigSagemakerTarget
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    aws object
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target object
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    aws AiGatewayModelModelTargetConfigSagemakerAws
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigSagemakerCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigSagemakerContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigSagemakerServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target AiGatewayModelModelTargetConfigSagemakerTarget
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    aws AiGatewayModelModelTargetConfigSagemakerAws
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigSagemakerCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigSagemakerContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigSagemakerServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target AiGatewayModelModelTargetConfigSagemakerTarget
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    aws AiGatewayModelModelTargetConfigSagemakerAws
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigSagemakerCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigSagemakerContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigSagemakerServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target AiGatewayModelModelTargetConfigSagemakerTarget
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    aws Property Map
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    target Property Map
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigSagemakerAws, AiGatewayModelModelTargetConfigSagemakerAwsArgs

    AssumeRoleArn string
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    Region string
    Overrides the AWS_REGION environment variable for SageMaker requests.
    RoleSessionName string
    Session identifier for the assumed role; mutually required with assumerolearn.
    StsEndpointUrl string
    Overrides the STS endpoint when assuming a role.
    AssumeRoleArn string
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    Region string
    Overrides the AWS_REGION environment variable for SageMaker requests.
    RoleSessionName string
    Session identifier for the assumed role; mutually required with assumerolearn.
    StsEndpointUrl string
    Overrides the STS endpoint when assuming a role.
    assume_role_arn string
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region string
    Overrides the AWS_REGION environment variable for SageMaker requests.
    role_session_name string
    Session identifier for the assumed role; mutually required with assumerolearn.
    sts_endpoint_url string
    Overrides the STS endpoint when assuming a role.
    assumeRoleArn String
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region String
    Overrides the AWS_REGION environment variable for SageMaker requests.
    roleSessionName String
    Session identifier for the assumed role; mutually required with assumerolearn.
    stsEndpointUrl String
    Overrides the STS endpoint when assuming a role.
    assumeRoleArn string
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region string
    Overrides the AWS_REGION environment variable for SageMaker requests.
    roleSessionName string
    Session identifier for the assumed role; mutually required with assumerolearn.
    stsEndpointUrl string
    Overrides the STS endpoint when assuming a role.
    assume_role_arn str
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region str
    Overrides the AWS_REGION environment variable for SageMaker requests.
    role_session_name str
    Session identifier for the assumed role; mutually required with assumerolearn.
    sts_endpoint_url str
    Overrides the STS endpoint when assuming a role.
    assumeRoleArn String
    Assume a different IAM role after authenticating; mutually required with rolesessionname.
    region String
    Overrides the AWS_REGION environment variable for SageMaker requests.
    roleSessionName String
    Session identifier for the assumed role; mutually required with assumerolearn.
    stsEndpointUrl String
    Overrides the STS endpoint when assuming a role.

    AiGatewayModelModelTargetConfigSagemakerCacheWriteCostList, AiGatewayModelModelTargetConfigSagemakerCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigSagemakerContextWindowFactor, AiGatewayModelModelTargetConfigSagemakerContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigSagemakerServiceTierFactor, AiGatewayModelModelTargetConfigSagemakerServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigSagemakerTarget, AiGatewayModelModelTargetConfigSagemakerTargetArgs

    ContainerHostname string
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    Model string
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    Variant string
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    ContainerHostname string
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    Model string
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    Variant string
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    container_hostname string
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model string
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant string
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    containerHostname String
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model String
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant String
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    containerHostname string
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model string
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant string
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    container_hostname str
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model str
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant str
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).
    containerHostname String
    Sets the X-Amzn-SageMaker-Target-Container-Hostname header (multi-container).
    model String
    Sets the X-Amzn-SageMaker-Target-Model header (multi-model endpoints).
    variant String
    Sets the X-Amzn-SageMaker-Target-Variant header (A/B variant testing).

    AiGatewayModelModelTargetConfigVercel, AiGatewayModelModelTargetConfigVercelArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigVercelCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigVercelContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigVercelServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigVercelCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigVercelContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigVercelServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigVercelCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigVercelContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigVercelServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigVercelCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigVercelContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigVercelServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigVercelCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigVercelContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigVercelServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigVercelCacheWriteCostList, AiGatewayModelModelTargetConfigVercelCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigVercelContextWindowFactor, AiGatewayModelModelTargetConfigVercelContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigVercelServiceTierFactor, AiGatewayModelModelTargetConfigVercelServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigVllm, AiGatewayModelModelTargetConfigVllmArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigVllmCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigVllmContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigVllmServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint. Not Null
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigVllmCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigVllmContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigVllmServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint. Not Null
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint. Not Null
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigVllmCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigVllmContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigVllmServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint. Not Null
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigVllmCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigVllmContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigVllmServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint. Not Null
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigVllmCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigVllmContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigVllmServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint. Not Null
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint. Not Null

    AiGatewayModelModelTargetConfigVllmCacheWriteCostList, AiGatewayModelModelTargetConfigVllmCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigVllmContextWindowFactor, AiGatewayModelModelTargetConfigVllmContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigVllmServiceTierFactor, AiGatewayModelModelTargetConfigVllmServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    AiGatewayModelModelTargetConfigXai, AiGatewayModelModelTargetConfigXaiArgs

    CacheReadCost double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists List<AiGatewayModelModelTargetConfigXaiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors List<AiGatewayModelModelTargetConfigXaiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions double
    The number of dimensions for embedding outputs.
    InputCost double
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens double
    The maximum number of tokens to generate in the response.
    OutputCost double
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors List<AiGatewayModelModelTargetConfigXaiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature double
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK double
    Limits the number of highest-probability tokens considered during generation.
    TopP double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    CacheReadCost float64
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    CacheWriteCost float64
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    CacheWriteCostLists []AiGatewayModelModelTargetConfigXaiCacheWriteCostList
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    ContextWindowFactors []AiGatewayModelModelTargetConfigXaiContextWindowFactor
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    EmbeddingsDimensions float64
    The number of dimensions for embedding outputs.
    InputCost float64
    Cost per 1M input tokens for billing and cost tracking.
    MaxTokens float64
    The maximum number of tokens to generate in the response.
    OutputCost float64
    Cost per 1M output tokens for billing and cost tracking.
    ServiceTierFactors []AiGatewayModelModelTargetConfigXaiServiceTierFactor
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    Temperature float64
    Controls randomness in the model output. Higher values produce more varied responses.
    TopK float64
    Limits the number of highest-probability tokens considered during generation.
    TopP float64
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    UpstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists list(object)
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors list(object)
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions number
    The number of dimensions for embedding outputs.
    input_cost number
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens number
    The maximum number of tokens to generate in the response.
    output_cost number
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors list(object)
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k number
    Limits the number of highest-probability tokens considered during generation.
    top_p number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url string
    The upstream URL for the model endpoint.
    cacheReadCost Double
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Double
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<AiGatewayModelModelTargetConfigXaiCacheWriteCostList>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<AiGatewayModelModelTargetConfigXaiContextWindowFactor>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Double
    The number of dimensions for embedding outputs.
    inputCost Double
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Double
    The maximum number of tokens to generate in the response.
    outputCost Double
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<AiGatewayModelModelTargetConfigXaiServiceTierFactor>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Double
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Double
    Limits the number of highest-probability tokens considered during generation.
    topP Double
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.
    cacheReadCost number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists AiGatewayModelModelTargetConfigXaiCacheWriteCostList[]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors AiGatewayModelModelTargetConfigXaiContextWindowFactor[]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions number
    The number of dimensions for embedding outputs.
    inputCost number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens number
    The maximum number of tokens to generate in the response.
    outputCost number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors AiGatewayModelModelTargetConfigXaiServiceTierFactor[]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK number
    Limits the number of highest-probability tokens considered during generation.
    topP number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl string
    The upstream URL for the model endpoint.
    cache_read_cost float
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cache_write_cost float
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cache_write_cost_lists Sequence[AiGatewayModelModelTargetConfigXaiCacheWriteCostList]
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    context_window_factors Sequence[AiGatewayModelModelTargetConfigXaiContextWindowFactor]
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddings_dimensions float
    The number of dimensions for embedding outputs.
    input_cost float
    Cost per 1M input tokens for billing and cost tracking.
    max_tokens float
    The maximum number of tokens to generate in the response.
    output_cost float
    Cost per 1M output tokens for billing and cost tracking.
    service_tier_factors Sequence[AiGatewayModelModelTargetConfigXaiServiceTierFactor]
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature float
    Controls randomness in the model output. Higher values produce more varied responses.
    top_k float
    Limits the number of highest-probability tokens considered during generation.
    top_p float
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstream_url str
    The upstream URL for the model endpoint.
    cacheReadCost Number
    Cost per 1M cache-read (cached) prompt tokens for billing and cost tracking.
    cacheWriteCost Number
    Cost per 1M cache-write prompt tokens for billing and cost tracking.
    cacheWriteCostLists List<Property Map>
    Per-cache-TTL cache-write pricing; overrides cachewritecost per TTL. Configure this when the upstream provider charges differently for different cache TTLs.
    contextWindowFactors List<Property Map>
    Above an input-token threshold, scale input and output pricing by the corresponding factor.
    embeddingsDimensions Number
    The number of dimensions for embedding outputs.
    inputCost Number
    Cost per 1M input tokens for billing and cost tracking.
    maxTokens Number
    The maximum number of tokens to generate in the response.
    outputCost Number
    Cost per 1M output tokens for billing and cost tracking.
    serviceTierFactors List<Property Map>
    Multiplier applied to the whole request for a service tier. The default factor is 1.0 when no tier matches.
    temperature Number
    Controls randomness in the model output. Higher values produce more varied responses.
    topK Number
    Limits the number of highest-probability tokens considered during generation.
    topP Number
    Nucleus sampling probability mass. Tokens with cumulative probability up to top_p are considered.
    upstreamUrl String
    The upstream URL for the model endpoint.

    AiGatewayModelModelTargetConfigXaiCacheWriteCostList, AiGatewayModelModelTargetConfigXaiCacheWriteCostListArgs

    Cost double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    Cost float64
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    Ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Double
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl string
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost float
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl str
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null
    cost Number
    Cost per 1M cache-write prompt tokens for this TTL. Not Null
    ttl String
    Cache TTL this price applies to, e.g. "5m" or "1h". Not Null

    AiGatewayModelModelTargetConfigXaiContextWindowFactor, AiGatewayModelModelTargetConfigXaiContextWindowFactorArgs

    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor double
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor double
    Multiplier applied to output pricing above the threshold. Not Null
    Above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    InputFactor float64
    Multiplier applied to input pricing above the threshold. Not Null
    OutputFactor float64
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor number
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor number
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Double
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Double
    Multiplier applied to output pricing above the threshold. Not Null
    above string
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor number
    Multiplier applied to output pricing above the threshold. Not Null
    above str
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    input_factor float
    Multiplier applied to input pricing above the threshold. Not Null
    output_factor float
    Multiplier applied to output pricing above the threshold. Not Null
    above String
    Input-token threshold above which the factors apply, e.g. "128k" or "1m". Not Null
    inputFactor Number
    Multiplier applied to input pricing above the threshold. Not Null
    outputFactor Number
    Multiplier applied to output pricing above the threshold. Not Null

    AiGatewayModelModelTargetConfigXaiServiceTierFactor, AiGatewayModelModelTargetConfigXaiServiceTierFactorArgs

    Factor double
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    Factor float64
    Multiplier applied to the whole request for this service tier. Not Null
    Tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Double
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor number
    Multiplier applied to the whole request for this service tier. Not Null
    tier string
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor float
    Multiplier applied to the whole request for this service tier. Not Null
    tier str
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null
    factor Number
    Multiplier applied to the whole request for this service tier. Not Null
    tier String
    Matched case-insensitively as a substring of the vendor's reported service tier (e.g. "priority", "flex", "throughput"). When more than one entry matches, the longest (most specific) tier wins; array order does not matter. Not Null

    Import

    In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:

    terraform

    import {

    to = konnect_ai_gateway_model.my_konnect_ai_gateway_model

    id = jsonencode({

    gateway_id = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
    
    id         = "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
    

    })

    }

    The pulumi import command can be used, for example:

    $ pulumi import konnect:index/aiGatewayModel:AiGatewayModel my_konnect_ai_gateway_model '{"gateway_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7", "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"}'
    

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

    Package Details

    Repository
    konnect kong/terraform-provider-konnect
    License
    Notes
    This Pulumi package is based on the konnect Terraform Provider.
    Viewing docs for konnect 3.23.0
    published on Friday, Sep 18, 2026 by kong

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial