Skip to content

Use 250 AI models with one API key

Native OpenAI, Anthropic and Gemini APIs. Point Claude Code or Codex at a new base URL and go. Compare by price, capability and measured performance.

All models

New releases

The latest models to go live, newest first.

View all
  • -50%
    Input
    $0.438list $0.876
    Output
    $1.314list $2.628
    Context
    1M
    Max output
    64K
    Capability
    —
    AcceptsTextImage

    Tencent's Hy4 flagship reasoning model with native vision for agentic coding, computer use, finance, and research workflows.

  • Input
    Free
    Output
    Free
    Context
    128K
    Max output
    4K
    Capability
    —
    AcceptsText

    Free deterministic test model answered by the gateway itself. Replies with fixed text, or calls the first declared tool, on every protocol, streaming or not. Use it to verify an integration before switching to a real model.

  • -10%
    Input
    from $0.90list $1.00
    Output
    from $4.50list $5.00
    Context
    1.1M
    Max output
    128K
    Capability
    168
    AcceptsTextImage

    OpenAI's fast, efficient GPT-6.1 model for visual reasoning, precise computer use, and clear, natural writing.

  • Input
    $2.0878
    Output
    $10.9208
    Context
    1M
    Max output
    1M
    Capability
    —
    AcceptsTextImageVideo

    Moonshot AI's flagship 3T-class open-weight model with 1M context, strong coding, 3D creation, and financial research.

Cheapest LLM APIs

Paid models by price per 1M tokens, lowest first.

View all
ModelInput
$0.0075
$0.015
$0.024092
$0.0292
$0.041252

Cheaper than official prices

95 models cost less here than at the official API. Popular ones below, priced per million tokens, blended 3 input : 1 output.

Why OhMyGPT

Automatic failover
Each model has several providers. If one errors or is rate limited, the request moves to the next before any output starts. Provider uptime is public. Learn more
Billed on actual usage
You pay for the usage the provider reports, with cache priced separately. Failed requests are free, and every request has an itemized receipt. Learn more
Native APIs, no code changes
Native OpenAI, Anthropic and Gemini APIs. Tools like Claude Code and Codex connect by changing the base URL. Learn more
Your providers, your order
Pick which providers to use per request, set their order, or exclude one. Without a choice, OhMyGPT picks for you and fails over to the next. Learn more

Latest announcements

Quick start

Point your OpenAI, Anthropic or Gemini SDK at this base URL and add your API key.
Base URL
https://api.ohmygpt.com/v1
Try it
curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer sk-…" \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/gpt-oss-120b", "messages": [{"role": "user", "content": "Hello"}]}'