ASTRAI - Advanced AI API Interface

Your gateway to next-generation AI interactions

What is ASTRAI API Interface?

The ASTRAI API Interface is a powerful, minimalist web application designed to provide seamless access to a wide array of advanced Artificial Intelligence models. It acts as a unified gateway, allowing users to interact with various AI capabilities, from deep text analysis and reasoning to image generation and speech-to-text transcription, all through a consistent and intuitive user experience.

Our interface focuses on efficiency and user control, offering features like dynamic model selection, temperature adjustments, and specialized options for different AI tasks. It's built to facilitate complex AI interactions, making advanced AI accessible for everyone.

ASTRAI Login Screen

Getting Started: How to Use ASTRAI

ASTRAI provides an intuitive interface to interact with various advanced AI models. To begin, you'll need to obtain your own API keys from the respective model publishers and an ASTRAI User ID. Follow these simple steps:

ASTRAI Login Screen
  1. Obtain Your API Key(s) from Model Publishers

    ASTRAI acts as an interface, not an AI provider. This means you are responsible for acquiring API keys directly from the AI model publishers you wish to use. Each provider (e.g., OpenAI, Google, Anthropic, DeepSeek, Moonshot, xAI for Grok) has its own process for generating and managing API keys.

    • Visit the official website of your desired AI model provider.
    • Sign up for an account and navigate to their API section or developer dashboard.
    • Generate a new API key. Ensure you understand their pricing and usage policies.
    • Important: Keep your API keys secure and confidential. Do not share them publicly.
  2. Get Your ASTRAI User ID

    To access the ASTRAI interface, you need a unique User ID. This ID is used to authenticate your access to our proxy server, which forwards your requests to the AI models.

    • On the initial login screen, click the "GET ID" link.
    • You will be redirected to a purchase page where you can buy a 30-day access ID via PayPal.
    • After successful payment, your unique ASTRAI User ID will be displayed on the screen and sent to your provided email address.
    • Alternatively, if you received an ID manually from an administrator, use that.
  3. Enter Your ASTRAI User ID into the Login Modal

    🆔

    Upon first launching ASTRAI, or after purchasing your ID, you will be prompted to enter your User ID.

    • In the initial modal window, type your unique User ID into the designated field.
    • Click "Confirm" to proceed.
    ASTRAI Login Screen
  4. Input Your Model API Key into ASTRAI

    🔑

    Once your ASTRAI User ID is confirmed, you will see the main interface. Locate the "API Key" input field in the header/settings area.

    • Paste the API key you obtained from your chosen AI model publisher (e.g., OpenAI, Google, etc.) into this field.
    • The interface will automatically attempt to validate the key when you send your first message.
    ASTRAI Login Screen
  5. Select the Appropriate AI Model

    🧠

    Next to the API Key field, you'll find a "Model" dropdown menu.

    • Click on the dropdown and select the specific AI model you wish to interact with (e.g., gpt-4o, gemini-2.5-pro, claude-opus-4-1, dall-e-3, whisper-1).
    • The interface will dynamically adjust its input options (e.g., showing image upload for vision models, audio upload for speech-to-text models, or image generation settings) based on your selection.
    ASTRAI Login Screen
  6. Start Interacting!

    You are now ready to use the ASTRAI API Interface.

    • Type your message into the input box at the bottom of the screen.
    • If using a vision model, upload an image via the "Select Image" button.
    • If using an image generation model, describe the image you want to create. You can click the ⚙️ icon for advanced generation options.
    • If using a speech-to-text model, upload an audio file via the "Add audio" button.
    • Adjust other settings like "Temperature" or "Thinking Budget" as needed.
    • Click the "Send" button to submit your query and receive a response from the AI.
  7. ASTRAI Login Screen

Important Notes:

Supported Models

ASTRAI supports a diverse range of state-of-the-art AI models, categorized by their primary function:

Text Generation & Reasoning Models

Image & Vision Models

Audio Models

Model Capabilities (Max Tokens)

Below is a table outlining the typical maximum input and output token limits for the supported models. Please note that these values are approximate and can vary based on specific API versions, provider updates, and the nature of the request (e.g., multimodal inputs). "Input" refers to the total context (prompt + history), and "Output" refers to the maximum length of the generated response.

Model Max Input Tokens Max Output Tokens Notes
deepseek-chat 128K 8K General purpose chat
deepseek-reasoner (R1) 128K 64K Advanced reasoning, long output
gemini-2.5-pro 1M 64K Multimodal, powerful reasoning
gemini-2.5-flash 1M 64K Multimodal, fast, cost-effective
gemini-2.5-flash-lite 1M 64K Multimodal, optimized for speed
grok-4 256K 16K Dynamic, multimodal
grok-3-latest 128K 16K General purpose
grok-3-mini 128K 8K Efficient, with thinking capabilities
grok-3-mini-fast 128K 8K Fast, with thinking capabilities
grok-code-fast-1 256K 16K Specialized for code generation
grok-2-image N/A N/A Image generation only
claude-opus-4-1 200K 32K Highest performance, complex tasks
claude-opus-4-0 200K 32K Highest performance, complex tasks
claude-sonnet-4-0 200K 64K Balanced, long output
claude-3-7-sonnet-latest 200K 64K Balanced, long output
claude-3-5-haiku-latest 200K 8K Fastest, most cost-effective
claude-3-haiku-20240307 200K 4K Fastest, most cost-effective
gpt-4o 128K 4K Multimodal, powerful
gpt-4o-mini 128K 4K Multimodal, cost-effective
gpt-4.1 128K 16K General purpose, high-performance
gpt-4.1-mini 128K 4K Efficient, multimodal
gpt-4.1-nano 128K 4K Compact, fast
gpt-5 256K 16K Next-gen, high-performance
gpt-5-mini 256K 4K Next-gen, efficient
gpt-5-nano 256K 4K Next-gen, compact, multimodal
dall-e-3 N/A N/A Image generation only
dall-e-2 N/A N/A Image generation only
gpt-image-1 N/A N/A Image generation only
kimi-latest 200K 16K Advanced conversational AI
kimi-k2-0711-preview 200K 16K Preview model
kimi-k2-turbo-preview 200K 16K Fast preview model
kimi-thinking-preview 200K 16K With thinking capabilities
moonshot-v1-8k-vision-preview 128K 8K Multimodal, vision-enabled
gpt-4o-mini-transcribe N/A N/A Audio transcription only
gpt-4o-transcribe N/A N/A Audio transcription only
whisper-1 N/A N/A Audio transcription only

Key Functions

The ASTRAI API Interface offers a rich set of functionalities:

Chat History Storage Notice

Your chat history is stored locally in your browser.

This means:

Understanding API Keys

API Keys are unique identifiers that authenticate your requests to the AI services. They act as a password, granting you access to the AI models and ensuring that your usage is tracked and billed correctly by the respective AI providers (e.g., OpenAI, Google, Anthropic, DeepSeek, Moonshot, Grok).

Key Characteristics:

In the ASTRAI interface, you enter your API Key directly. This key is then used to authenticate your requests to the backend proxy, which forwards them to the respective AI service.

Want a simple, local, and secure way to manage your AI API keys?

Check ASTRAI API Key Manager Tool
ASTRAI API Key Manager Screenshot