OhMyGPT API
English
  • 中文
  • English
  • 日本語
OhMyGPT
OhMyGPT
English
  • 中文
  • English
  • 日本語
  1. Archive documents
  • Introduction to this site
  • Change log
  • OpenAI
    • Responses
      • Create model response
      • Get model response
      • Delete model response
      • Cancel response
      • List input items
    • Conversations
      • create conversation
      • Retrieve conversation
      • update conversation
      • delete conversation
      • Create items
      • list items
      • Retrieve item
      • Delete item
    • create completion
      POST
    • TTS text to speech
      POST
    • Embeddings
      POST
    • image generation
      POST
    • image editing
      POST
  • Store
    • List chat completions
      POST
    • Get chat completed
      POST
    • Deletion of chat completed
      POST
  • Claude
    • Anthropic native Completions enterprise commercial API
      POST
    • Anthropic native Messages API
      POST
    • Anthropic native Messages Token Count API
      POST
  • OAuth开放API
    • Introduction to Open OAuth API
    • User authorization page
      GET
    • Code display page
      GET
    • Apply for access_token
      POST
    • Read basic user information
      POST
    • Read user balance information
      POST
    • Charge user fees
      POST
    • Create a Stripe Checkout recharge order for the user
      POST
    • Create a Stripe Invoice recharge order for the user
      POST
    • Call other open APIs
      POST
    • Read user management token through OAuth Token
      POST
    • Update user management token through OAuth Token
      POST
  • other
    • search
      • Google Custom Search API
      • Google Search By Serper
    • Azure
      • Azure text-to-speech
      • Azure gets TTS voice list
  • Override rules
    • Create rules
    • Update rules
    • delete rule
    • Get rules
    • list rules
    • Batch enable/disable
    • Copy rules
    • test rules
    • Get statistics
    • Get restriction configuration
    • Check rule name
    • Batch delete
    • Export rules
    • Import rules
  • image generation
    • other
      • ND image generation API
    • Flux
      • Flux Schnell image generation
      • Flux Dev image generation
      • Flux Pro image generation
      • Flux Pro 1.1 image generation
      • Flux 1.1 Pro Ultura image generation
  • Storage service
    • File storage service
    • File upload
    • File information update
    • Delete files
    • User query (pagination)
    • User metadata query (by fileUinqueIds)
    • File download interface (Public file download)
    • File download interface (Private private file download)
    • Obtain public file metadata
  • API KEY management
    • Create new API Key
    • Modify API Key information
    • Query all API Keys of the user
    • Delete the specified API Key
    • Interface for querying user membership expiration date
    • User balance query interface
    • Query the current model magnification interface
  • Archive documents
    • Self-service invoicing system usage documentation
    • Telegram Bot usage documentation
    • Self-built Cloudflare Worker anti-generation tutorial
    • Claude Code forwarding service
    • CodeX forwarding service
    • Introduction to the new website
  • Model list
    GET
  1. Archive documents

CodeX forwarding service

Introduction#

Advantages: No need to subscribe, pay as you go, safe and trustworthy forwarding service, the price is 0.5% off the original price, realize the freedom of CodeX+gpt5
Update Log:
25-0916: Added support for gpt-5-codex. The original price is tentatively the same as gpt-5 and is still 0.5% off. To set the method, modify ~/.codex/config.toml and change the value of model to: gpt-5-codex.

One-click installation tutorial (recommended)#

Type directly into the command line
npx omgvibe
You can quickly configure the environment.
Introduction: https://www.ohmygpt.com/cli-agent
Project code: https://github.com/DogeNet-LLC/omgvibe

Manual tutorial#

1 Install CodeX#

Install CodeX CLI:

2 Configure CodeX#

Configuration Config#

Edit and overwrite ~/.codex/config.toml:
model_provider = "omg"
model = "gpt-5"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"

[model_providers.omg]
name = "omg"
base_url = "https://apic1.ohmycdn.com/api/v1/ai/openai/codex-omg/v1"
wire_api = "responses"

Configure APIKey#

Edit ~/.codex/auth.json:
{
  "OPENAI_API_KEY": "Your OhMyGPT-APIKey"
}
Then enter the codex command to start using it. Enter /model to select the model and mode. It is recommended to select gpt-5 (high)
修改于 2025-10-15 08:07:31
上一页
Claude Code forwarding service
下一页
Introduction to the new website
Built with