Documentation
OpenRouter

OpenRouter Setup

Create an OpenRouter account and API key to use Claude, Gemini, DeepSeek, Mistral and Grok models through ARKA-AI.

Why OpenRouter?

OpenRouter is a unified API that provides access to 100+ AI models from different providers (Anthropic, Google, Meta, etc.) through a single API key. It often has lower prices than going direct to providers.

Create an OpenRouter Account

1

Visit OpenRouter

2

Sign up

Click Sign In and create an account using Google, GitHub, or email.

3

Add credits

Navigate to Credits and add funds to your account. Start with $5-10 to test.

Generate an API Key

1

Go to Keys

Navigate to openrouter.ai/keys

2

Create a key

Click Create Key. Name it something like "ARKA-AI" for easy identification.

3

Copy the key

Copy your new API key. It will look like:

sk-or-v1-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Key Visibility

Unlike OpenAI, OpenRouter lets you view your existing API keys at any time from the Keys page. You can also set spending limits per key.

Available Models

With an OpenRouter API key, ARKA-AI can route to these models:

ModelCost (per 1K tokens)ContextBest For
Claude Opus 5.5$0.004 in / $0.02 out1MComplex reasoning, architecture
Claude Sonnet 5.5$0.002 in / $0.01 out1MWriting, coding
Claude Haiku 5.5$0.0001 in / $0.0005 out1MFast, cheap, simple tasks
Gemini 4 Argon$0.002 in / $0.01 out1MReasoning, very long documents
Gemini 3.8 Flash$0.000825 in / $0.004125 out1MFast, long inputs
DeepSeek V4.1 Flash$0.000051 in / $0.000567 out1MVery cheap everyday tasks, code
Mistral Large 4$0.0007 in / $0.0021 out1MStructured output, writing
Grok 4.7$0.002 in / $0.006 out500KCoding, reasoning

Huge Context Windows

The models available through OpenRouter handle very long inputs: most accept around 1 million tokens, enough for long reports, books or large codebases. ARKAbrain sends very long inputs to Gemini 4 Argon.

OpenRouter Pricing

OpenRouter uses a credit-based system similar to OpenAI. Key differences:

  • Often 10-50% cheaper than going directly to providers
  • One account for all providers (Anthropic, Google, Meta, etc.)
  • Can set per-key spending limits
  • Free models available for testing

Connect to ARKA-AI

1

Open Settings

In ARKA-AI, go to Settings → API Keys.

2

Add OpenRouter Key

Click Add Key, select OpenRouter as the provider.

3

Paste and Save

Paste your API key and click Save.

Unlock More Models

With both OpenAI and OpenRouter keys connected, ARKAbrain can choose from 11 different models to find the perfect fit for each task.