Tất cả models
O

GPT-5.2 Codex

Trung

Codex 5.2 — chuyên code, refactoring, debugging. Hỗ trợ multi-file editing.

256K
Context Window
33K
Max Output
Trung bình
Tốc độ
5/5
Chất lượng

Bảng giá

LoạiGiá gốc ($)Futrix API (₫)Bao gồm
Input / 1M tokens$1.7559.605đ/1M
Smart routing tự động
Cache tiết kiệm 35-60%
1 API key cho 99+ models
Thanh toán VND/USD/Crypto
Output / 1M tokens$14.00476.840đ/1M

* Giá Futrix API cao hơn giá gốc ~30% nhưng bao gồm smart routing, semantic cache (tiết kiệm thực tế 35-60%), fallback tự động, và thanh toán VND.

Tính năng hỗ trợ

Code Multi-file Edit Agentic Function Calling Streaming

Quick Start

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.futrixapi.com/v1",
    api_key="sk-ftx-your-key"
)

response = client.chat.completions.create(
    model="gpt-5.2-codex",
    messages=[{"role": "user", "content": "Hello!"}]
)

print(response.choices[0].message.content)
cURL
curl -X POST https://api.futrixapi.com/v1/chat/completions \
  -H "Authorization: Bearer sk-ftx-your-key" \
  -H "Content-Type: application/json" \
  -d '{"model": "gpt-5.2-codex", "messages": [{"role": "user", "content": "Hello!"}]}'