grok-4.3 API
Use xAI’s grok-4.3 on APISea for text generation and multi-turn chat with prompt-cache reads.
grok-4.3تسعير API لنموذج grok-4.3
جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.
| نوع الـ token | APISea | رسمي | وفّر |
|---|---|---|---|
| الإدخال لكل 1M رمز | $1.10 | $1.25 | −12% |
| الإدخال المخزّن مؤقتًا لكل 1M رمز | $0.176 | $0.20 | −12% |
| الإخراج لكل 1M رمز | $2.20 | $2.50 | −12% |
التسعير حسب طول المطالبة
| نوع الـ token | حتى 200,000 token | أكثر من الشريحة السابقة |
|---|---|---|
| الإدخال | $1.10$1.25 | $2.20$2.50 |
| الإدخال المخزّن مؤقتًا | $0.176$0.20 | $0.352$0.40 |
| الإخراج | $2.20$2.50 | $4.40$5.00 |
ما هو grok-4.3؟
grok-4.3 is a chat model from xAI’s Grok family, available through APISea for text generation and multi-turn conversations. Send text in a messages array with system, user, and assistant roles to define behavior, provide a request, and include conversation history. The documented Chat Completions interface supports streaming or complete responses, with controls such as temperature, top_p, max_tokens, and stop sequences. Its listed limits are 1,000,000 input tokens and 1,000,000 output tokens, and it supports prompt-cache reads.
Call grok-4.3 using your APISea key and the OpenAI-compatible base URL https://api.apisea.ai/v1. APISea uses pay-as-you-go pricing and bills only successful requests. For the tier up to 200,000 input tokens, input costs $1.10 per 1M tokens and output costs $2.20 per 1M tokens. Above that tier, rates are $2.20 and $4.40 per 1M tokens, respectively. Cached input costs $0.176 per 1M tokens; the default configuration is about 12% below provider list price.
أبرز مزايا grok-4.3
Large Token Limits
The listed maximums are 1,000,000 input tokens and 1,000,000 output tokens. Input size also determines the applicable pricing tier.
Prompt Cache Reads
grok-4.3 supports prompt-cache reads. APISea cached input is priced at $0.176 per 1M tokens.
Flexible Response Delivery
Use stream to choose streaming output in SSE format or a complete response returned at once.
Generation Controls
Set max_tokens to bound response length and temperature or top_p to adjust generation variability. The interface also accepts stop sequences.
كيفية استدعاء API الخاص بـ grok-4.3 في 4 خطوات
- 01
احصل على API key
سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.
- 02
اضبط عنوان URL الأساسي
استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.
- 03
أرسل الطلب
استدعِ POST /v1/chat/completions مع "model": "grok-4.3" والمعلمات أدناه.
- 04
تعامل مع الاستجابة
اقرأ الاستجابة (أو استقبل الـ tokens بالتدفق باستخدام stream: true). يظهر الاستخدام والتكلفة في وحدة التحكم.
أمثلة على الطلبات
الوثائق: General Chat API (Default Streaming)curl https://api.apisea.ai/v1/chat/completions \
-H "Authorization: Bearer $APISEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.3",
"messages": [
{"role": "system", "content": "You are a concise assistant."},
{"role": "user", "content": "Explain what an AI API gateway does in two sentences."}
],
"stream": false
}'المعلمات
| المعلمة | النوع | مطلوب | افتراضي | الوصف |
|---|---|---|---|---|
model | string | مطلوب | gpt-5 | Model name |
messages | array | مطلوب | — | List of conversation messages |
role | string | مطلوب | user | Role type |
content | string | مطلوب | — | Message content |
temperature | number | اختياري | — | Controls output randomness, range 0-2 |
max_tokens | integer | اختياري | — | Maximum number of tokens to generate |
stream | boolean | اختياري | — | Whether to use streaming output |
top_p | number | اختياري | — | Nucleus sampling parameter, range 0-1 |
frequency_penalty | number | اختياري | — | Frequency penalty, range -2.0 to 2.0 |
presence_penalty | number | اختياري | — | Presence penalty, range -2.0 to 2.0 |
stop | string or array | اختياري | — | Stop sequences |
n | integer | اختياري | — | Number of completions to generate |
ما الذي يمكنك إنشاؤه باستخدام grok-4.3
Conversational Applications
Build text-based assistants that receive user messages and include previous assistant responses for multi-turn context.
Document Summaries
Provide document text in the input messages and request a summary with a defined scope and output length.
Drafting Workflows
Generate drafts from supplied instructions and source material, using a system message to specify tone and format.
Long-Input Review
Submit large text collections for review or question answering within the listed input limit. Account for the higher pricing tier when input exceeds 200,000 tokens.
نصائح للحصول على نتائج أفضل
- 01
Set Explicit Output Bounds
Use max_tokens to limit generated text to what your application needs rather than relying on the model’s maximum output allowance.
- 02
Choose One Sampling Control
The documentation recommends using either temperature or top_p. Lower temperature values make output more deterministic; higher values increase randomness.
- 03
Budget by Input Tier
Check input size before sending large requests. Above 200,000 input tokens, the listed input and output rates increase to $2.20 and $4.40 per 1M tokens.
- 04
Track Cache Read Usage
Account for prompt-cache reads separately when estimating costs. The listed cached-input rate is $0.176 per 1M tokens; check the docs for cache behavior before assuming a request qualifies.
القيود ومعلومات مهمة
Maximum input is 1,000,000 tokens, and maximum output is 1,000,000 tokens.
Requests above 200,000 input tokens use the higher listed input and output pricing tier.
The supplied documentation describes text chat; it does not establish image, audio, or video input support for this model.
الأسئلة الشائعة حول API الخاص بـ grok-4.3
How much does grok-4.3 cost on APISea?
Up to 200,000 input tokens, input costs $1.10 per 1M tokens and output costs $2.20 per 1M tokens; above that tier, input costs $2.20 per 1M tokens and output costs $4.40 per 1M tokens. Cached input costs $0.176 per 1M tokens. The default configuration is about 12% below provider list price, and APISea bills only successful requests.
How do I call grok-4.3 through APISea?
Use https://api.apisea.ai/v1 as your OpenAI-compatible base URL and send a POST request to /chat/completions. Authenticate with your APISea key as a Bearer token, set model to grok-4.3, and supply a messages array.
Which generation parameters can I use?
The documented chat interface includes temperature, top_p, max_tokens, stream, frequency_penalty, presence_penalty, stop, and n. Each message includes role and content fields.
What are grok-4.3’s token limits?
The listed maximum input is 1,000,000 tokens and maximum output is 1,000,000 tokens. These are separate listed limits, not a stated combined context allowance.
Does grok-4.3 support streaming and prompt caching?
It supports prompt-cache reads, with cached input priced at $0.176 per 1M tokens. The documented chat interface supports streaming with stream set to true and complete responses with stream set to false.
Can I use grok-4.3 commercially?
Commercial use is subject to the provider’s terms. Review the applicable xAI and APISea terms before deploying it in a commercial application.
نماذج ذات صلة
grok-4.20-0309-non-reasoning
grok-4.20-0309-reasoning
grok-4.20-multi-agent-0309
grok-4.5
grok-4.6
grok-4.7
qwen-turbo
qwen3.6-flash
ابدأ التطوير باستخدام grok-4.3
مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.