Documentation
OpenAI

OpenAI Setup

Create an OpenAI account, generate an API key, and connect it to ARKA-AI to access GPT-4o and other models.

Create an OpenAI Account

If you don't already have an OpenAI account:

1

Visit OpenAI Platform

2

Sign up

Click Sign up and create an account with your email or Google account.

3

Verify your account

Complete email and phone verification. You may need to add a payment method to access API features.

Generate an API Key

1

Go to API Keys

2

Create a new key

Click Create new secret key. Give it a name like "ARKA-AI" for easy identification.

3

Copy the key

Important: Copy the key immediately! OpenAI only shows it once. The key will look like:

sk-proj-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Save Your Key Securely

OpenAI only displays your API key once when it's created. If you lose it, you'll need to generate a new one. Store it in a secure password manager.

Add Credits

OpenAI uses a prepaid credit system. Before you can use the API, you need to add credits:

1

Go to Billing

Navigate to Billing settings

2

Add payment method

Add a credit card to your account.

3

Add credits

Click Add to credit balance and add at least $5 to get started. Set up auto-recharge if you want to avoid interruptions.

Set Usage Limits

OpenAI lets you set monthly usage limits to control costs. Go to Billing → Usage limits to configure a maximum monthly spend.

Available Models

With an OpenAI API key, you get access to these models in ARKA-AI:

ModelCost (per 1K tokens)ContextBest For
GPT-4o$0.005 in / $0.015 out128KGeneral purpose, coding, reasoning
GPT-4o Mini$0.00015 in / $0.0006 out128KFast, cheap, simple tasks
GPT-4 Turbo$0.01 in / $0.03 out128KComplex coding, long-form content
o1 Mini$0.003 in / $0.012 out128KAdvanced reasoning, math, logic

Connect to ARKA-AI

1

Open Settings

In ARKA-AI, go to SettingsAPI Keys.

2

Add OpenAI Key

Click Add Key, select OpenAI as the provider.

3

Paste and Save

Paste your API key and click Save. ARKA-AI will validate the key.

Once connected, ARKAbrain will automatically route requests to OpenAI models when they're the best fit for your task.