OpenAI gpt-codex API | MuAPI: AI Large Language Models

Jelajahi dan integrasikan model AI gpt-codex melalui MuAPI. Dapatkan inferensi berkecepatan tinggi dan harga kompetitif.

📝

Overview

About this model

Model gpt-codex menyediakan kemampuan generasi AI mutakhir di platform MuAPI.

1Aplikasi produksi dengan gpt-codex
2Aplikasi produksi dengan gpt-codex
3Aplikasi produksi dengan gpt-codex
4Aplikasi produksi dengan gpt-codex
💰

Pricing & Value

Cost analysis

muapiapp$1.25/M input tokens, $9.00/M output tokens

Token-based billing. Minimum $0.00023 per call. All 5 Codex variants share the same pricing. Supports Prompt Caching (0.1x for hits, 1.25x for creation).

OpenAI (official)~$1.75/M input tokens, ~$14.00/M output tokens

价格以 api.openai.com 的官方定价为准。

Fal.aiTidak tersedia

GPT Codex is not available on Fal.ai.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Prompt Teksstring

编码任务或指令。

Default ValueImplement a binary search tree with insert, delete, and search methods in Python.
模型Enum (5 options)

要使用的 Codex 模型变体。

Default Valuegpt-5.4-codex
Gambar URLstring

多模态请求的可选Gambar URL。

Default Valueundefined
📖

Implementation Guide

Developer documentation

Panduan integrasi cepat untuk gpt-codex. Hubungkan dengan kunci API MuAPI Anda dan mulai lakukan panggilan inferensi.

Common Questions

Frequently asked

如何计算价格?

按 token 计费:无论使用哪一种 Codex 模型变体,输入 token 每百万 $1.25,输出 token 每百万 $9.00。每次调用的最低费用为 $0.00023。

应该使用哪一种 Codex 变体?

gpt-5.4-codex 是默认且能力最强的变体。如果简单任务更看重响应速度,可以使用较低版本(gpt-5.3-codex、gpt-5.2-codex 等)。所有变体的价格相同。

`/gpt-codex` 和 `/gpt-codex/stream` 有什么区别?

`/gpt-codex` 是异步端点——你会收到一个 request_id,然后轮询结果。`/gpt-codex/stream` 返回实时 SSE 流。交互式编程 UI 应使用流式端点;批处理应使用异步端点。

该模型支持 Prompt Caching 吗?

支持。Prompt Caching 允许你以更低费率重复使用常用文本提示词。缓存命中(重复使用先前缓存的 token)按输入成本的 0.1x 计费。新建缓存(将新 token 写入缓存以供未来重复使用)按标准输入成本的 1.25x 计费。