Bedrock xAI Provider Registry (registry/bedrock-xai.js)

9router · open-sse/providers/registry/bedrock-xai.js · javascript · MIT
auth, ai, infra, tag:provider, tag:xai, tag:registry

Provider registry entry for xAI Grok models hosted on AWS Bedrock, defining auth, credential form, and display metadata. Reuse as a template for adding AWS-hosted model providers.

// Source: https://github.com/decolua/9router | License: MIT | Copyright 2024-2026 decolua and contributors
// Provided via justclaw.it.com; keep this notice with the code.
export default {
  id: "bedrock-xai",
  alias: "brx",
  aliases: ["bedrock-grok"],
  uiAlias: "brx",
  category: "apikey",
  authType: "apikey",
  // Same credential story as `bedrock`: in profile/SSO mode there is no API key to paste.
  apiKeyOptionalWith: "profile",
  // Which credential form the dashboard should render. Declared rather than keyed off the
  // provider id, because gating the form on `provider === "bedrock"` silently left every later
  // AWS entry with no way to enter a profile at all.
  credentialForm: "aws",
  display: {
    name: "AWS Bedrock (xAI)",
    icon: "cloud",
    // AWS orange, so the car

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key