MuskApis
Dubai-deployed · USD billing · online

Your unified gateway to the world's leading AI models.

One OpenAI-compatible endpoint for Claude, GPT, Gemini and more — routed, billed per token in USD, and topped up with redemption codes. No setup tax, just keys that work.

OpenAI-compatible Pay-as-you-go No card required
musk · bash
# 1. set your key once
export MUSK_API_KEY="sk-musk-..."

# 2. call any model through one endpoint
curl https://api.muskapis.com/v1/chat/completions \
  -H "Authorization: Bearer $MUSK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-5",
    "messages": [
      {"role": "user", "content": "Hello from Dubai!"}
    ]
  }'

# → streams tokens, billed per token in USD
{ "model": "claude-sonnet-5", "usage": { ... } }
24+
Models routed
99.9%
Service uptime
OpenAI
Compatible API
USD
Pay-as-you-go
Models

Every leading model, one endpoint

Switch models by changing a single string. Live per-token pricing and limits live on the pricing page.

Anthropic · Claude
claude-fable-5

1M ctx
claude-opus-4-8

1M ctx
claude-opus-4-7

1M ctx
claude-opus-4-6

1M ctx
claude-sonnet-5

1M ctx
claude-sonnet-4-6

1M ctx
claude-haiku-4-5

200K ctx
OpenAI · GPT
gpt-5.6-sol

1M ctx
gpt-5.6-terra

1M ctx
gpt-5.6-luna

1M ctx
gpt-5.5

1M ctx
gpt-5.4

1M ctx
gpt-5.4-mini

400K ctx
gpt-image-2

1024² out Per-image
Google · Gemini
gemini-3.5-flash

1M ctx
gemini-3.1-pro-preview

1M ctx
gemini-3-flash

1M ctx
gemini-3.1-flash-lite-preview

1M ctx
gemini-3-pro-image-preview

2K² out Per-image
gemini-3.1-flash-image-preview

1024² out Per-image
Other models
deepseek-v4-pro

1M ctx
glm-5.2 / glm-5.1

1M ctx
kimi-k2.6

262K ctx
qwen3.7-max

1M ctx
Models above are examples
The actual list and live per-token pricing come straight from your backend.
Smart routing

Connect once, route across every model

Expose one stable API to your product while Musk keeps provider-specific endpoints, credentials and fallbacks behind a single control plane. No scattered SDKs, no scattered keys.

How a request flows

Every call is policy-aware: Musk inspects cost, latency, availability and task type, then picks the best path — and reroutes on failure without your code noticing.

Your request → one endpoint
Routing engine evaluates policy
Best provider selected & retried
Response & usage logged to console

Routing strategies

Choose how Musk picks the best path — by cost, latency, availability, task type or context requirements. Failures trigger automatic fallbacks and provider health checks.

Cost-aware
Route to the cheapest capable model that meets your quality bar.
Low-latency
Pick the fastest first-token model for chat and real-time UX.
Long-context
Send large inputs to models with the widest context windows.
Vision-fallback
Fall back to multimodal models when text-only providers reject images.
Built-in reliability
Retries, fallbacks and provider health checks on every route decision.
Why Musk

Built to be the only key you need

A clean OpenAI-compatible surface over a routed, metered backend.

OpenAI-compatible

Drop-in for any SDK or client built for OpenAI. Same paths, same shapes, same streaming.

Model routing

Weighted, retried, auto-disabled channels. Pick the model, we handle failover and load.

Usage-based billing

Per-token accounting in USD. No subscriptions, no seat fees, no lock-in.

Redemption top-up

Reload balance instantly with redemption codes — no payment gateway required.

Transparent logs

Per-request usage, cost and cache-hit stats visible in your console dashboard.

Keys & limits

Token grouping, model restrictions and per-user rate limits out of the box.

Pricing

Simple, usage-based pricing

You only pay for what models actually consume — billed per token, in USD.

Transparent rates

Every model's input, output and cache-hit multiplier is published on the pricing page.

Top up with codes

Add balance anytime with redemption codes. No card, no KYC friction to start.

No lock-in

No tiers, no subscriptions. Credit stays yours and is spent only as you call.

Quick start

From sign-up to first call in minutes

1

Sign up & grab a key

Create an account and mint an API key in the console.

Go to login
2

Top up balance

Redeem a code to add USD credit to your wallet.

Top up
3

Call the API

Point any OpenAI client at the Musk endpoint and ship.

Open console
FAQ

Frequently asked

How do I pay and add credit?
Balance is added with redemption codes — purchase a code, paste it in the top-up page, and your USD wallet is credited instantly. No payment gateway or card required to start.
Which models are available?
The full, always-current list with live per-token pricing is on the pricing page. The cards above are illustrative examples; the backend is the source of truth.
Is it OpenAI-compatible?
Yes. The endpoint mirrors the OpenAI Chat Completions schema, so any OpenAI SDK or client works by pointing its base URL at https://api.muskapis.com.
How is usage billed?
Per token, in USD, with separate input, output and cache-hit multipliers per model. Every request's cost is logged in your console with full transparency.
Can I set limits per key?
Yes. Tokens support grouping, model restrictions and rate limits, all configurable from the console.

Start building on Musk

Grab a key, top up, and route your first request in minutes.

Get started