Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gravitex.ai/llms.txt

Use this file to discover all available pages before exploring further.

Step 1: Account Setup

1.1 Get Your Account

GravitexAI does not offer public registration. To use our services, please contact our BD (Business Development) team to provision your account.
Reach out to our BD team through one of the following channels:

Call BD

Call us at: +86 151 1306 2111

Email BD

Send an email to bd@gravitex.ai
Once your account is provisioned, you’ll receive login credentials to access the GravitexAI Console.

1.2 Add Credits

Log in to the console to top up:
  1. Click “Personal Center”
  2. Click “Billing Recharge” to pay (Alipay, WeChat supported)
For invoices or bank transfers, please contact your BD for assistance.

Step 2: Create API Key

2.1 Generate Key

  1. Click “Model Center” in the navigation
  2. Click “API Keys”
  3. Click “Create New” to generate a key

Step 3: Start Calling

3.1 Connection Info

ConfigValue
API URL (Base URL)https://api.gravitex.ai/v1
API KeyYour created key
Request FormatFully OpenAI API compatible

3.2 Test Call

Quick test with curl:
curl https://api.gravitex.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "gpt-5.4",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

3.3 Code Examples

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.gravitex.ai/v1"
)

response = client.chat.completions.create(
    model="gpt-5.4",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)

print(response.choices[0].message.content)

Next Steps

Congratulations! You’ve successfully set up GravitexAI. Next you can:

View API Docs

Learn about complete API specifications

Integrate with Apps

Integrate GravitexAI with various tools

FAQ

Just change the model parameter in your request:
{
  "model": "gpt-5.4",
  "model": "claude-sonnet-4-6",
  "model": "gemini-3.1-pro-preview"
}
GravitexAI is OpenAI API compatible, supporting all OpenAI SDK languages:
  • Python
  • JavaScript/TypeScript
  • Java
  • C#/.NET
  • Go
  • Ruby
  • PHP
Log in to the console to view:
  • Account balance
  • Usage history
  • Consumption statistics
GravitexAI does not offer public registration. All accounts are provisioned by our BD team. Once onboarded, you’ll enjoy:
  • Dedicated one-on-one BD support
  • Customized model plans and quota allocation
  • Faster technical support and issue resolution
To get started, please email bd@gravitex.ai or call us at +86 151 1306 2111.
  1. Check API documentation
  2. Review common errors
  3. Contact support: bd@gravitex.ai
Save your API key safely and regularly check usage logs in the console to optimize costs. Happy coding~