Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style: add grok-4.3 to LobeHub-hosted xAI models (#14446)

YuTengjingddd5c2083609
diff --git a/packages/model-bank/src/aiModels/lobehub/chat/xai.ts b/packages/model-bank/src/aiModels/lobehub/chat/xai.ts
index efb674b4ef0..cab0191a712 100644
--- a/packages/model-bank/src/aiModels/lobehub/chat/xai.ts
+++ b/packages/model-bank/src/aiModels/lobehub/chat/xai.ts
@@ -1,6 +1,54 @@
import type { AIChatModelCard } from '../../../types/aiModel';
export const xaiChatModels: AIChatModelCard[] = [
+ {
+ abilities: {
+ functionCall: true,
+ search: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_000_000,
+ description: 'The most truth-seeking large language model in the world',
+ displayName: 'Grok 4.3',
+ enabled: true,
+ id: 'grok-4.3',
+ pricing: {
+ units: [
+ {
+ name: 'textInput_cacheRead',
+ strategy: 'tiered',
+ tiers: [
+ { rate: 0.2, upTo: 200_000 },
+ { rate: 0.4, upTo: 'infinity' },
+ ],
+ unit: 'millionTokens',
+ },
+ {
+ name: 'textInput',
+ strategy: 'tiered',
+ tiers: [
+ { rate: 1.25, upTo: 200_000 },
+ { rate: 2.5, upTo: 'infinity' },
+ ],
+ unit: 'millionTokens',
+ },
+ {
+ name: 'textOutput',
+ strategy: 'tiered',
+ tiers: [
+ { rate: 2.5, upTo: 200_000 },
+ { rate: 5, upTo: 'infinity' },
+ ],
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-05-01',
+ settings: {
+ searchImpl: 'params',
+ },
+ type: 'chat',
+ },
{
abilities: {
functionCall: true,
@@ -19,7 +67,7 @@ export const xaiChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 0.2 },
+ { rate: 0.2, upTo: 200_000 },
{ rate: 0.4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -28,7 +76,7 @@ export const xaiChatModels: AIChatModelCard[] = [
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 2, upTo: 0.2 },
+ { rate: 2, upTo: 200_000 },
{ rate: 4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -37,7 +85,7 @@ export const xaiChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 6, upTo: 0.2 },
+ { rate: 6, upTo: 200_000 },
{ rate: 12, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -67,7 +115,7 @@ export const xaiChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 0.2 },
+ { rate: 0.2, upTo: 200_000 },
{ rate: 0.4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -76,7 +124,7 @@ export const xaiChatModels: AIChatModelCard[] = [
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 2, upTo: 0.2 },
+ { rate: 2, upTo: 200_000 },
{ rate: 4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -85,7 +133,7 @@ export const xaiChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 6, upTo: 0.2 },
+ { rate: 6, upTo: 200_000 },
{ rate: 12, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -109,7 +157,6 @@ export const xaiChatModels: AIChatModelCard[] = [
description:
'Our newest and strongest flagship model, excelling in NLP, math, and reasoning—an ideal all-rounder.',
displayName: 'Grok 4',
- enabled: true,
id: 'grok-4',
pricing: {
units: [
diff --git a/packages/model-bank/src/aiModels/xai.ts b/packages/model-bank/src/aiModels/xai.ts
index a6bb4813ce3..90bc6bef94c 100644
--- a/packages/model-bank/src/aiModels/xai.ts
+++ b/packages/model-bank/src/aiModels/xai.ts
@@ -20,7 +20,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 0.2 },
+ { rate: 0.2, upTo: 200_000 },
{ rate: 0.4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -29,7 +29,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 1.25, upTo: 0.2 },
+ { rate: 1.25, upTo: 200_000 },
{ rate: 2.5, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -38,7 +38,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 2.5, upTo: 0.2 },
+ { rate: 2.5, upTo: 200_000 },
{ rate: 5, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -69,7 +69,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 0.2 },
+ { rate: 0.2, upTo: 200_000 },
{ rate: 0.4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -78,7 +78,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 2, upTo: 0.2 },
+ { rate: 2, upTo: 200_000 },
{ rate: 4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -87,7 +87,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 6, upTo: 0.2 },
+ { rate: 6, upTo: 200_000 },
{ rate: 12, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -119,7 +119,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 0.2 },
+ { rate: 0.2, upTo: 200_000 },
{ rate: 0.4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -128,7 +128,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 2, upTo: 0.2 },
+ { rate: 2, upTo: 200_000 },
{ rate: 4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -137,7 +137,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 6, upTo: 0.2 },
+ { rate: 6, upTo: 200_000 },
{ rate: 12, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -169,7 +169,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput_cacheRead',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 0.2 },
+ { rate: 0.2, upTo: 200_000 },
{ rate: 0.4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -178,7 +178,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 2, upTo: 0.2 },
+ { rate: 2, upTo: 200_000 },
{ rate: 4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -187,7 +187,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 6, upTo: 0.2 },
+ { rate: 6, upTo: 200_000 },
{ rate: 12, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -220,7 +220,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 0.128 },
+ { rate: 0.2, upTo: 128_000 },
{ rate: 0.4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -229,7 +229,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 0.5, upTo: 0.128 },
+ { rate: 0.5, upTo: 128_000 },
{ rate: 1, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -262,7 +262,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textInput',
strategy: 'tiered',
tiers: [
- { rate: 0.2, upTo: 0.128 },
+ { rate: 0.2, upTo: 128_000 },
{ rate: 0.4, upTo: 'infinity' },
],
unit: 'millionTokens',
@@ -271,7 +271,7 @@ const xaiChatModels: AIChatModelCard[] = [
name: 'textOutput',
strategy: 'tiered',
tiers: [
- { rate: 0.5, upTo: 0.128 },
+ { rate: 0.5, upTo: 128_000 },
{ rate: 1, upTo: 'infinity' },
],
unit: 'millionTokens',