OpenAI MCP
Call OpenAI compatible interfaces in AI Agent through MCP, covering conversations, responses, images, embeddings, and asynchronous tasks.
OpenAI generative services, including text, images, video, and other generation.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View DocsAccess the full OpenAI model suite through a unified interface—GPT-5, GPT-4o, o3, and o1 conversational reasoning; DALL·E 3 / GPT Image generation; and Embeddings vectorization.
Conversational reasoning, image generation, image editing, text vectorization—everything with one API Key
Full support for GPT-5, GPT-4o, the GPT-4.1 series, and o-series reasoning models, including streaming output, tool calling, and JSON Mode.
OpenAI's latest Responses API format supports the same models as Chat Completions and provides more flexible interaction methods.
DALL·E 3, DALL·E 2, and GPT Image 1 / 1.5 support text-to-image generation and image editing, with multiple size and quality options.
Two embedding models, text-embedding-3-small and text-embedding-3-large, for semantic search, clustering, and RAG applications.
Simply modify base_url to access the full range of OpenAI models through Ace Data Cloud, fully compatible with the official SDK.
from openai import OpenAI
client = OpenAI(
base_url="https://api.acedata.cloud",
api_key="YOUR_API_KEY"
)
# Chat Completions
response = client.chat.completions.create(
model="gpt-5",
messages=[
{"role": "user", "content": "解释机器学习的核心概念"}
]
)
print(response.choices[0].message.content)
# Image Generation
image = client.images.generate(
model="gpt-image-1",
prompt="A futuristic city at sunset",
n=1
)
print(image.data[0].url)
From registration to completing your first API call, it only takes a few minutes.
Register for Ace Data Cloud and generate an API key from the console.
Choose the Chat, Images, or Embeddings API based on your needs, along with the required model.
Use the OpenAI SDK or an HTTP request; simply modify base_url to make calls.
Covers various AI application scenarios including text, images, and embeddings.
GPT-5 and o3 excel at programming tasks and can be used for code generation, review, and debugging.
Build intelligent customer service systems; GPT-4o-mini provides cost-effective and efficient conversational capabilities.
DALL·E 3 and GPT Image generate high-quality images, ideal for design and marketing content creation.
The Embeddings API converts text into vectors to build semantic search engines and knowledge base Q&A systems.
Provide data for GPT to analyze trends and generate reports and visualization recommendations.
Reasoning models such as o3 and o3-pro excel at mathematical proofs, logical analysis, and multi-step problem solving.
5 API endpoints cover all OpenAI capabilities
Conversational text generation, supporting streaming output, tool calling, and more.
/openai/chat/completionsOpenAI's next-generation response interface, supporting the same set of models.
/openai/responsesGenerate images from text with DALL·E 3 / GPT Image.
/openai/images/generationsEdit images based on images and text prompts.
/openai/images/editsConvert text into vectors for search, clustering, and RAG.
/openai/embeddingsChoose the most suitable model by task
The latest flagship conversational models, with greatly enhanced reasoning and creative capabilities.
Enhanced versions of GPT-5; 5.1, 5.2, 5.4, and 5.5 continuously improve capabilities, while GPT-6 Astra, Sol, Luna, and GPT-6.1 Sol cover different reasoning and long-context needs.
Efficient multimodal models that support combined image and text input.
Optimized for coding and long context, with strong instruction-following capabilities.
Designed for complex reasoning, providing high-quality answers after deep thinking.
Text-to-image and image editing.
Pay for actual usage. Official chat and image channels are billed by Token, standard images by image, and embeddings by Token—GPT / o series chat Token prices are as low as 20% of OpenAI's official pricing.
Volume packages offer greater discounts
Official text and image channels are billed by Token, standard images by image, with no minimum spend
Dedicated plans for high-volume teams
| Model | Specification | Price per Image |
|---|---|---|
| GPT Image 1 | All sizes | $0.019 |
| GPT Image 1.5 | All sizes | $0.052 |
| GPT Image 2.5 Flare | All sizes | $0.0105 |
| GPT Image 2.5 Flare Official | Actual Token usage | Page estimate |
| GPT Image 2.5 Sunburst | All sizes | $0.0105 |
| GPT Image 2.5 Sunburst Official | Actual Token usage | Page estimate |
| DALL·E 3 | Standard 1024×1024 | $0.019 |
| DALL·E 3 | Standard 1024×1792 | $0.038 |
| DALL·E 3 | HD 1024×1024 | $0.038 |
| DALL·E 3 | HD 1024×1792 | $0.057 |
| DALL·E 2 | 1024×1024 | $0.0095 |
Common questions about using the OpenAI API
Ace Data Cloud provides proxy APIs fully compatible with the official OpenAI format, with no need to register an OpenAI account or link an overseas credit card. A single API Key can access models from OpenAI, Claude, Gemini, Grok, and more.
GPT-5 is OpenAI's latest flagship model, comprehensively surpassing GPT-4o in reasoning, creativity, and knowledge capabilities. GPT-4o is a well-validated, cost-effective choice suitable for cost-sensitive scenarios.
Reasoning models such as o3, o3-pro, and o4-mini perform deep thinking before providing answers, making them especially suitable for tasks requiring in-depth reasoning, such as mathematical calculations, logical reasoning, and code analysis. o3-mini and o4-mini offer lower-cost reasoning capabilities.
The GPT Image series supports image generation and editing; GPT Image 2.5 Flare focuses on speed, while Sunburst focuses on high fidelity and fine-grained control. Both 2.5 models offer :official variants billed according to actual Token usage. DALL·E 3 is a dedicated image generation model that supports multiple Standard/HD quality and size options.
text-embedding-3-small is recommended for the best value ($0.0027 / million Tokens). For higher accuracy, use text-embedding-3-large ($0.017 / million Tokens). The legacy ada-002 is no longer available; existing indexes need to have their vectors regenerated when upgrading.
Ace Data Cloud offers a variety of large language models and AI service APIs
Access the full range of OpenAI models with one API Key, from chat to images to embeddings.
OpenAI Chat Completion API, compatible with the official API format.
OpenAI Embeddings API for generating text vector representations.
Unified image generation endpoint compatible with the OpenAI Images API. A single endpoint supports DALL·E 2/3, the full GPT Image family (gpt-image-1, gpt-image-1.5, gpt-image-2), and Google's Nano Banana family (nano-banana, nano-banana-2, nano-banana-pro). Fine-grained control via size, quality, style, background, output_format, moderation, etc., with transparent background, PNG/JPEG/WebP outputs, and optional callback_url for async delivery.
OpenAI model list API, query the current available model list, compatible with the official interface format.
OpenAI Responses API, compatible with the official API format.
OpenAI image editing API, input images and instructions, output modified images.
Combine the text into natural speech (OpenAI compatible /v1/audio/speech), supporting multiple voice tones such as tts-1 and tts-1-hd, and directly return audio bytes.
Transcribe multilingual audio through an OpenAI-compatible endpoint with subtitle formats and word-level timestamps.
OpenAI Realtime API — low-latency realtime voice conversation over WebSocket, compatible with the official API format.
Full-duplex GPT-Live voice sessions with live captions and backend delegation, billed by active duration.
OpenAI task query API — retrieve the status and result of an async OpenAI generation task (e.g. image or video) by its ID.
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFFNo Pricing Information
Call OpenAI compatible interfaces in AI Agent through MCP, covering conversations, responses, images, embeddings, and asynchronous tasks.
Configuration Method
Connect the current service in Claude Code:
mcpServers service entry below into .mcp.json in the project root directory, retaining the existing configuration.ACEDATACLOUD_API_TOKEN in the terminal: use export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN' on macOS/Linux, and $env:ACEDATACLOUD_API_TOKEN = 'YOUR_API_TOKEN' in Windows PowerShell; replace YOUR_API_TOKEN with your AceDataCloud API Token.claude in the same terminal where this variable has been set; new terminals or desktop-launched clients must also be able to read this variable./mcp to confirm that the service is connected and the tools have been loaded; when using the project configuration for the first time, check and approve the service as prompted.export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN'
claude mcp add --scope user --transport http 'openai-mcp' 'https://openai.mcp.acedata.cloud/mcp' --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}'
Provide parameter descriptions and calling notes for OpenAI compatible dialogue, Responses, image, and embedding interfaces for AI Agents.
Install the current Skill to Claude Code. Project-level configurations are shared across the repository, while user-level configurations apply to all projects on this machine.
npx skills add acedatacloud/skills --skill 'ai-chat' -a 'claude-code' --yes