Model API

One API key for leading AI models

AI Nexus serves leading AI models through OpenAI-compatible and Claude-native endpoints, with more models added over time. Point your SDK or coding tool at one base URL and start building.

Model prices are synced daily from each vendor's official list price.

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

Get started in three steps

  1. 1

    Create an account

    Sign up in the AI Nexus console at ai.myaiexp.com.

  2. 2

    Create an API key

    Generate a key in the console. Requests authenticate with Authorization: Bearer sk-...

  3. 3

    Set the base URL

    Point your SDK or tool at https://ai.myaiexp.com and pick a model from the pricing page.

Models & pricing

More models are added over time. The model marketplace lists the current models and their prices.

Open the model marketplace

Works with the tools you already use

Use the OpenAI or Anthropic SDKs, or any client that supports a custom base URL.

Endpoints

  • /v1/chat/completionsOpenAI-compatible Chat Completions
  • /v1/responsesOpenAI-compatible Responses API
  • /v1/messagesClaude-native Messages API

Clients

  • Claude Code
  • Cherry Studio
  • CC Switch

Quick start

Replace sk-... with your API key and your-model-id with a model ID from the model marketplace.

Base URL
https://ai.myaiexp.com
OpenAI SDK base_url
https://ai.myaiexp.com/v1
Authentication
Authorization: Bearer sk-...

The console (sign-up, API keys, pricing) and the API share one domain: ai.myaiexp.com.

Read the full integration docs
OpenAI SDK (Python)
from openai import OpenAI

client = OpenAI(
    base_url="https://ai.myaiexp.com/v1",
    api_key="sk-...",
)

resp = client.chat.completions.create(
    model="your-model-id",
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
Claude Messages (curl)
curl https://ai.myaiexp.com/v1/messages \
  -H "Authorization: Bearer sk-..." \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "your-model-id",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'
Claude Code
export ANTHROPIC_BASE_URL="https://ai.myaiexp.com"
export ANTHROPIC_AUTH_TOKEN="sk-..."
claude

Prices synced daily from official list prices

Model prices in the console are synced every day from each vendor's official public list prices, in USD per 1M tokens. The pricing page shows the current rate for every model.

View pricing

Frequently asked questions

What can the AI Nexus model API be used for?

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

What is the AI Nexus model API?

It is the model API service from AI Nexus. It serves leading AI models through OpenAI-compatible and Claude-native endpoints with one API key.

Which models are available?

More models are added over time. The full, current list is in the model marketplace at ai.myaiexp.com/pricing.

How are prices set?

Model prices are synced daily from each vendor's official public list prices, quoted in USD per 1M tokens. The pricing page shows the current rate for each model.

Which endpoints are supported?

OpenAI-compatible /v1/chat/completions and /v1/responses, plus Claude-native /v1/messages. The base URL is https://ai.myaiexp.com; with the OpenAI SDK, use https://ai.myaiexp.com/v1.

Does it work with Claude Code, Cherry Studio and CC Switch?

Yes. Set the base URL to https://ai.myaiexp.com and use your API key. For Claude Code, set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN as shown in the quick start.

How do I authenticate?

Send your key in the Authorization header as Bearer sk-... . Create and manage keys in the console at ai.myaiexp.com.

Start building with the AI Nexus model API

Create an account, generate an API key, and send your first request.

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