BrainUs LogoBrainUs AI
Query API

Model Selection & Plans

Available models and pricing plans

Choose the right plan for your use case based on rate limits, monthly quota, and available models.

Available Models

The BrainUs Query API supports the following models:

gemini-2.5-flash-lite

  • Fastest response times
  • Most cost-effective for high-volume queries
  • Ideal for simple queries and basic RAG operations
  • Available on all plans

gemini-2.5-flash

  • Enhanced performance for complex queries
  • Better reasoning capabilities
  • Available on Enterprise plan only
  • Recommended for production applications requiring higher quality

Plans & Pricing

Choose the plan that fits your needs:

PlanMonthly RequestsRate LimitModels AvailableSupportPrice (LKR)
Free30010/mingemini-2.5-flash-liteCommunity0
Starter2,00020/mingemini-2.5-flash-liteCommunity999
Pro10,00060/mingemini-2.5-flash-liteEmail3,499
Enterprise50,000200/mingemini-2.5-flash-lite, gemini-2.5-flashDedicated14,999

All plans include access to the Query API with the same response format. Upgrade for more requests, faster rate limits, and access to premium models.

Plan Features

Prop

Type

Feature Breakdown

FeatureFreeStarterProEnterprise
Basic Query
Standard Response Time
Fast Response Time
Priority Support
Dedicated Support
gemini-2.5-flash Model
SLA Guarantee

Using Different Models

Default Model

By default, your plan's first allowed model is used:

curl -X POST https://api.brainus.lk/api/v1/dev/query \
  -H "X-API-Key: $BRAINUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "What is photosynthesis?",
    "store_id": "default"
  }'

This will use gemini-2.5-flash-lite for Free/Starter/Pro plans, or gemini-2.5-flash-lite for Enterprise.

Specify a Model (Enterprise Only)

Enterprise customers can specify which model to use:

curl -X POST https://api.brainus.lk/api/v1/dev/query \
  -H "X-API-Key: $BRAINUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "What is photosynthesis?",
    "store_id": "default",
    "model": "gemini-2.5-flash"
  }'

Valid values for your plan:

  • Free/Starter/Pro: gemini-2.5-flash-lite (only option)
  • Enterprise: gemini-2.5-flash-lite or gemini-2.5-flash

If you specify a model not available in your plan, the API will return a 403 error.

Rate Limits Per Plan

PlanRequests/MinuteRequests/DayRequests/Month
Free10300300
Starter202,0002,000
Pro6010,00010,000
Enterprise20050,00050,000

When you exceed your rate limit, the API responds with HTTP 429 (Too Many Requests). See Rate Limits for handling strategies.

Choosing a Plan

Use Free when:

  • Testing the API
  • Learning and experimenting
  • Building prototypes

Use Starter when:

  • Small personal projects
  • Light production use
  • Budget-conscious applications

Use Pro when:

  • Production applications
  • Need faster response times
  • Regular API usage

Use Enterprise when:

  • Large-scale deployments
  • Need access to gemini-2.5-flash model
  • Require dedicated support
  • Need SLA guarantees

Upgrading Your Plan

To upgrade your plan:

  1. Visit Developer Dashboard
  2. Navigate to Plans & Billing
  3. Select your desired plan
  4. Complete the payment process

Your upgrade takes effect immediately. No need to update your API key.

Model Selection Strategy

  • Start with gemini-2.5-flash-lite - It's fast, cost-effective, and works well for most use cases
  • For complex queries - Upgrade to Enterprise plan for access to gemini-2.5-flash
  • For high volume - Upgrade to Pro or Enterprise for higher rate limits
  • For premium support - Enterprise plan includes dedicated support

Next Steps

On this page