OhMyGPT

Overview

OhMyGPT API documentation for developers.

OhMyGPT is an AI API gateway operated by DogeNet LLC. It provides a unified, OpenAI-compatible API to access hundreds of AI models from multiple providers through a single endpoint.

What OhMyGPT does

OhMyGPT sits between your application and AI providers (OpenAI, Anthropic, Google, and others). You send requests to our API, and we route them to the appropriate provider. This gives you:

  • Single API, multiple models — Use the same code to access GPT-4, Claude, Gemini, and more
  • Automatic routing — We select providers based on availability, latency, and cost
  • OpenAI compatibility — Drop-in replacement for OpenAI SDK and clients
  • Unified billing — One account, one balance, all models

Quick example

curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Change the model parameter to use a different model — the rest of your code stays the same.

Documentation structure

SectionContent
DocsProduct guides, model routing, and platform features
APIEndpoint reference, parameters, and response formats
SDKLanguage-specific integration guides

Getting started

On this page