Skip to main content
Claude Code is Anthropic’s official CLI tool for AI-powered coding assistance. You can configure it to use OmniaKey as the API provider for access to Claude and other top models.

Configuration

Set the following environment variables or use a configuration tool like cc-switch:

Base URL

https://omniakey.com/v1

API Key

Get your API key from the OmniaKey Console.

Quick Setup

export ANTHROPIC_BASE_URL="https://omniakey.com/v1"
export ANTHROPIC_API_KEY="your-omniakey-api-key"

Using cc-switch

cc-switch is a community tool that makes it easy to switch between different API providers for Claude Code.

cc-switch on GitHub

A simple CLI tool to manage Claude Code API configurations

Supported Models

When using Claude Code with OmniaKey, you have access to:
ModelDescription
claude-sonnet-4-20250514Latest Claude 4 Sonnet
claude-3-5-sonnet-20241022Claude 3.5 Sonnet
claude-3-5-haiku-20241022Claude 3.5 Haiku
claude-3-opus-20240229Claude 3 Opus
Model availability may vary. Check the Console for the latest available models.

Troubleshooting

If you encounter connection issues:
  1. Verify your API key - Make sure your key is active in the Console
  2. Check your balance - Ensure you have sufficient credits
  3. Verify environment variables - Run echo $ANTHROPIC_BASE_URL to confirm the settings
For more help, contact [email protected].