APIOne API key for leading AI models

One API key for leading AI models

Call leading AI models through OpenAI-compatible and Claude-native endpoints, with more added over time. Prices are synced daily from each vendor's official list price.

  • OpenAI & Claude-native APIs
  • Works with Claude Code
  • Have an account? Sign in

This service is provided for learning and research purposes only. Please follow each model provider's usage policies.

Connection details

Base URL

https://ai.myaiexp.com
  • POST/v1/chat/completionsOpenAI Chat Completions
  • POST/v1/responsesOpenAI Responses
  • POST/v1/messagesClaude-native Messages
  • GET/v1/modelsList available models

Auth: Authorization: Bearer sk-… · Claude-native also accepts x-api-key

How it works

Up and running in three steps

  1. Create an account

    Sign up in the AI Nexus console and top up your balance on the Wallet page.

    Sign up
  2. Create an API key

    Open the API Keys page in the console and create a key. You can set a quota and the models it may use.

    Manage API keys
  3. Point your client at the base URL

    Use https://ai.myaiexp.com/v1 for OpenAI SDKs, or https://ai.myaiexp.com for Anthropic SDKs and Claude Code.

    Read the quickstart

Models & pricing

Available models and prices live on the model square

One API key works with the models listed on the model square — pick one with the model field of your request. More models are added over time.

The endpoints each model supports and current prices are on the model square, or call GET /v1/models to list the models your key can use.

Quickstart

Change the base URL, keep your code

Replace sk-your-key with a key from the console and your-model-id with a model ID from the model square.

OpenAI SDK base_url
https://ai.myaiexp.com/v1
Anthropic SDK / Claude Code base URL
https://ai.myaiexp.com
Auth header
Authorization: Bearer sk-…
More examples
OpenAI-compatible Chat Completions
curl https://ai.myaiexp.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "your-model-id",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Features

Built for developers who switch between models

  • One key, many models

    A single API key reaches the models on the model square — no separate vendor accounts to juggle.

  • OpenAI + Claude native

    Use /v1/chat/completions and /v1/responses from OpenAI SDKs, or /v1/messages from Anthropic SDKs and Claude Code.

  • Official prices, synced daily

    Model prices follow each vendor's official public list price (USD per 1M tokens), refreshed every day.

  • Usage logs & key quotas

    See every request in the console's usage logs and cap spending with a quota on each API key.

Frequently asked questions

Can't find your answer? See the full help docs.

All FAQs
What base URL should I use?

API requests go to https://ai.myaiexp.com. OpenAI SDKs need the /v1 suffix (https://ai.myaiexp.com/v1); Anthropic SDKs and Claude Code use the root URL.

How do I set up Claude Code?

Set ANTHROPIC_BASE_URL=https://ai.myaiexp.com (no /v1) ANTHROPIC_AUTH_TOKEN to your API key and ANTHROPIC_MODEL to a model ID from the model square that supports /v1/messages, then run claude. See Claude Code.

Which models work with which endpoint?

Endpoint support varies by model: /v1/chat/completions is the general OpenAI-compatible endpoint; /v1/messages works with models that support the Claude-native format; /v1/responses works with models that support the Responses API. The available models and the endpoints each one supports are listed on the model square.

Where do the prices come from?

Prices are synced daily from each vendor's official public list price, shown in USD per 1M tokens. See the current price of every model on the models & pricing page.

How do I top up my balance?

Sign in to the console and open the Wallet page. Your balance is shared by all your API keys; each key can also carry its own quota.

Get your API key and start building

Sign up, create a key, and make your first call in minutes.