Skip to content

Providers / Databricks · All access methods for xai/grok-4.6

Grok 4.6

databricks/databricks-grok-4-6 API key models.dev2026-11-30

Type chat · Released 2026-08-12

Context window
500,000 tokens
Maximum output
500,000 tokens
Price
$2 / $6
Input / output, per 1M tokens
Conditional rates below
Cache lifetime, short
Unknown
Cache lifetime, long
Unknown

Limits

LimitValue
Context window
The most input one request can carry, in tokens
500,000 tokens
Maximum output
The most one response can hold. A maximum, not a default
500,000 tokens

Limit evaluations tokens

DateRoute and clientContextInput acceptedInput refusedOutput limitRequested output acceptedEvidence
No limit evaluation on this entry.

Price

$2 input·$6 output per 1M tokens· until 2027-02-01 00:00 UTC

ThenInput $2.50,Output $7.50,Cache read $0.625/ 1M tokens

ChargeRate
Input$2 / 1M tokens
Output$6 / 1M tokens
Reasoning outputUnknown
Cache read$0.50 / 1M tokens
Cache writeUnknown

Conditional rates

ConditionRatesApplies to
From 2027-02-01 NextInput $2.50,Output $7.50,Cache read $0.625/ 1M tokens· × 1.25Whole request
Any region but globalInput $2.20,Output $6.60,Cache read $0.55/ 1M tokens· × 1.1Whole request
Other prices in the source, not shown above (0)

No other prices

Request controls

ControlSupportRequest fieldAccepted valuesDefaultConditions
Service tierUnknownUnknownUnknownUnknownUnknown

Source: Unknown

Prompt caching

LifetimeValue
Cache lifetime, short
Without asking for a lifetime, or with the shortest one
Unknown
Cache lifetime, long
When the request asks for a longer lifetime
Unknown

Cache evaluations

The cache evaluations of this entry, by retention
LifetimeClientTime since the prompt was cached · served from the cache, in percent, with hits/checks
At once2.5 min5 min7.5 min10 min15 min20 min25 min30 min40 min50 min1 h1 h 151 h 302 h4 h8 h12 h24 h
Short retentionNo evaluation
Long retentionNo evaluation

Checks served from the cache, in percent and as hits/checks, by time since the prompt was cached100 All67 Half or more33 Fewer0 None· Not checked at that ageMethodology

Cache modes

ModeSupportedMin. tokensBreakpointsTargets
Automatic implicit Supported Unknown Not applicable Not applicable
Manual explicit Unknown Unknown Unknown Unknown

Source: models.dev · Cache modes

Retention

ControlSupportRequest fieldAccepted valuesDefaultConditions
Cache retentionUnknownUnknownUnknownUnknownUnknown

Source: Unknown

How Pi calls the model

Pi's model catalog does not list this entry.

Fetched 2026-11-30 from pi.dev/api/models

Provenance

ProvenanceValue
Sourcemodels.dev2026-11-30
Inherited fromNot inherited
CorrectionsNo corrections
EvidenceNo evidence

Data

GET /api/v1/entries/databricks/databricks-grok-4-6

Show the full entry as published
{
  "id": "databricks-grok-4-6",
  "name": "Grok 4.6",
  "description": "xAI's frontier model for long-running agents, coding, knowledge work, and visual projects",
  "type": "chat",
  "family": "grok",
  "canonical_id": "xai/grok-4.6",
  "release_date": "2026-08-12",
  "limit": {
    "context": 500000,
    "output": 500000
  },
  "capabilities": {
    "cache": {
      "implicit": true
    },
    "temperature": true,
    "top_k": true,
    "top_p": true,
    "structured_output": true,
    "system_updates": false,
    "effort_updates": false,
    "tools": {
      "supported": true
    },
    "reasoning": {
      "supported": true,
      "effort": [
        "low",
        "medium",
        "high",
        "xhigh"
      ]
    }
  },
  "cost": {
    "text": {
      "input": {
        "price": 2,
        "cache": {
          "read": 0.5
        }
      },
      "output": {
        "price": 6
      }
    },
    "multipliers": [
      {
        "when": {
          "date": {
            "gte": "2027-02-01"
          }
        },
        "factor": 1.25
      },
      {
        "when": {
          "not": {
            "region": {
              "equals": "global"
            }
          }
        },
        "factor": 1.1
      }
    ]
  },
  "modalities": {
    "input": [
      "text"
    ],
    "output": [
      "text"
    ]
  },
  "api": {
    "chat-completions": {
      "base_url": "https://${DATABRICKS_HOST}/ai-gateway/mlflow/v1",
      "sdk": {
        "aisdk": "@ai-sdk/openai-compatible",
        "opencodeai": "@opencode/ai/providers/openai-compatible"
      },
      "capabilities": {
        "tools": {
          "updates": []
        }
      },
      "compatibility": {
        "max_tokens_field": "max_tokens"
      }
    }
  },
  "open_weights": false,
  "knowledge": "2026-02-01",
  "last_updated": "2026-08-12",
  "recommended_api": "chat-completions",
  "providers_dev": {
    "origin": "upstream",
    "access": "api",
    "provenance": [],
    "inherited": null,
    "cache": {
      "documented": {
        "support": "supported",
        "modes": {
          "implicit": {
            "support": "supported",
            "min_tokens": null,
            "max_breakpoints": null,
            "targets": null
          },
          "explicit": {
            "support": "unknown",
            "min_tokens": null,
            "max_breakpoints": null,
            "targets": null
          }
        }
      },
      "retention": {
        "support": "unknown",
        "parameter": null,
        "accepted_values": null,
        "default": null,
        "profiles": [],
        "conditions": [],
        "evidence": []
      },
      "lifetime": {
        "short": {
          "safe_s": null,
          "basis": "none",
          "source": null,
          "date": null,
          "documented_s": null,
          "measured_s": null,
          "documented_status": null,
          "clients": 0,
          "evaluations": 0,
          "checks": 0,
          "hits": 0,
          "checks_inside": null,
          "hits_inside": null,
          "tested_from_s": null,
          "first_miss_s": null
        },
        "long": {
          "safe_s": null,
          "basis": "none",
          "source": null,
          "date": null,
          "documented_s": null,
          "measured_s": null,
          "documented_status": null,
          "clients": 0,
          "evaluations": 0,
          "checks": 0,
          "hits": 0,
          "checks_inside": null,
          "hits_inside": null,
          "tested_from_s": null,
          "first_miss_s": null
        },
        "lifetimes": []
      },
      "evaluations": [],
      "findings": []
    },
    "pricing": {
      "coverage": "partial",
      "billing": "per_use",
      "reference_ref": null,
      "rules": [
        {
          "id": "cost.text.input.price",
          "when": null,
          "meter": "text.input",
          "operation": "set",
          "amount": 2,
          "currency": "USD",
          "unit": {
            "name": "token",
            "quantity": 1000000
          },
          "applies_to": "all_usage",
          "source_path": "cost.text.input.price",
          "period": null,
          "resulting_rates": null
        },
        {
          "id": "cost.text.input.cache.read",
          "when": null,
          "meter": "text.cache_read",
          "operation": "set",
          "amount": 0.5,
          "currency": "USD",
          "unit": {
            "name": "token",
            "quantity": 1000000
          },
          "applies_to": "all_usage",
          "source_path": "cost.text.input.cache.read",
          "period": null,
          "resulting_rates": null
        },
        {
          "id": "cost.text.output.price",
          "when": null,
          "meter": "text.output",
          "operation": "set",
          "amount": 6,
          "currency": "USD",
          "unit": {
            "name": "token",
            "quantity": 1000000
          },
          "applies_to": "all_usage",
          "source_path": "cost.text.output.price",
          "period": null,
          "resulting_rates": null
        },
        {
          "id": "cost.multipliers[0].factor",
          "when": {
            "kind": "predicate",
            "field": "request.date",
            "op": "gte",
            "value": "2027-02-01"
          },
          "meter": "*",
          "operation": "multiply",
          "amount": 1.25,
          "currency": null,
          "unit": null,
          "applies_to": "all_usage",
          "source_path": "cost.multipliers[0].factor",
          "period": null,
          "resulting_rates": [
            {
              "meter": "text.input",
              "amount": 2.5,
              "currency": "USD",
              "unit": {
                "name": "token",
                "quantity": 1000000
              }
            },
            {
              "meter": "text.cache_read",
              "amount": 0.625,
              "currency": "USD",
              "unit": {
                "name": "token",
                "quantity": 1000000
              }
            },
            {
              "meter": "text.output",
              "amount": 7.5,
              "currency": "USD",
              "unit": {
                "name": "token",
                "quantity": 1000000
              }
            }
          ]
        },
        {
          "id": "cost.multipliers[1].factor",
          "when": {
            "kind": "not",
            "condition": {
              "kind": "predicate",
              "field": "request.region",
              "op": "eq",
              "value": "global"
            }
          },
          "meter": "*",
          "operation": "multiply",
          "amount": 1.1,
          "currency": null,
          "unit": null,
          "applies_to": "all_usage",
          "source_path": "cost.multipliers[1].factor",
          "period": null,
          "resulting_rates": [
            {
              "meter": "text.input",
              "amount": 2.2,
              "currency": "USD",
              "unit": {
                "name": "token",
                "quantity": 1000000
              }
            },
            {
              "meter": "text.cache_read",
              "amount": 0.55,
              "currency": "USD",
              "unit": {
                "name": "token",
                "quantity": 1000000
              }
            },
            {
              "meter": "text.output",
              "amount": 6.6,
              "currency": "USD",
              "unit": {
                "name": "token",
                "quantity": 1000000
              }
            }
          ]
        }
      ],
      "rule_order": "listed",
      "unparsed": [],
      "evidence": [
        {
          "kind": "documented",
          "url": "https://models.dev",
          "date": "2026-11-30",
          "note": "The cost models.dev records for this entry. Rules are in the order models.dev applies them: base prices, overrides in their order, then multipliers."
        }
      ]
    },
    "request_controls": {
      "coverage": "unknown",
      "items": [
        {
          "id": "cache.retention",
          "support": "unknown",
          "when": null,
          "bindings": null,
          "options": null,
          "default": null,
          "conditions": [],
          "evidence": []
        },
        {
          "id": "service_tier",
          "support": "unknown",
          "when": null,
          "bindings": null,
          "options": null,
          "default": null,
          "conditions": [],
          "evidence": []
        }
      ]
    },
    "limits": {
      "measured": [],
      "from_measurement": [],
      "input_window": {
        "tokens": 500000,
        "basis": "documented",
        "bound": "limit",
        "scope": "window",
        "source": "models.dev",
        "date": "2026-11-30",
        "documented_tokens": 500000,
        "documented_field": "limit.context",
        "documented_source": "models.dev",
        "documented_date": "2026-11-30",
        "documented_status": null,
        "measured_tokens": null,
        "measured_bound": null,
        "measured_kind": null,
        "measured_refused": null,
        "measured_date": null,
        "clients": 0,
        "evaluations": 0,
        "measurements": []
      }
    },
    "safe": {
      "input_window": {
        "value": 500000,
        "unit": "tokens",
        "at_least": false,
        "scope": "window",
        "window_tokens": null,
        "source": "models.dev",
        "date": "2026-11-30",
        "agreement": "single",
        "sources": [
          {
            "source": "models.dev",
            "value": 500000,
            "withheld": false,
            "at_least": false,
            "below": null,
            "scope": "window",
            "date": "2026-11-30",
            "evidence_url": null,
            "client": null,
            "client_label": null,
            "client_kind": null,
            "evaluation_id": null
          }
        ],
        "unknown_reason": null
      },
      "max_output": {
        "value": 500000,
        "unit": "tokens",
        "at_least": false,
        "scope": null,
        "window_tokens": null,
        "source": "models.dev",
        "date": "2026-11-30",
        "agreement": "single",
        "sources": [
          {
            "source": "models.dev",
            "value": 500000,
            "withheld": false,
            "at_least": false,
            "below": null,
            "scope": null,
            "date": "2026-11-30",
            "evidence_url": null,
            "client": null,
            "client_label": null,
            "client_kind": null,
            "evaluation_id": null
          }
        ],
        "unknown_reason": null
      },
      "cache_short": {
        "value": null,
        "unit": "seconds",
        "at_least": false,
        "scope": null,
        "window_tokens": null,
        "source": null,
        "date": null,
        "agreement": "none",
        "sources": [],
        "unknown_reason": null
      },
      "cache_long": {
        "value": null,
        "unit": "seconds",
        "at_least": false,
        "scope": null,
        "window_tokens": null,
        "source": null,
        "date": null,
        "agreement": "none",
        "sources": [],
        "unknown_reason": null
      },
      "price": {
        "source": "models.dev",
        "date": "2026-11-30",
        "agreement": "single",
        "differs": [],
        "sources": [
          {
            "source": "models.dev",
            "withheld": false,
            "input": 2,
            "output": 6,
            "cache_read": 0.5,
            "cache_write": null,
            "cache_write_lifetimes": [],
            "tiers": [],
            "date": "2026-11-30",
            "evidence_url": null
          }
        ]
      },
      "differing": []
    },
    "evidence": [],
    "verified": null,
    "pi": null
  }
}