AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
NanoGPT

GPT 5.2 Codex API

NanoGPT
About

Build advanced reasoning agents with GPT 5.2 Codex, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $1.75/1M input and $14.00/1M output tokens, native tool calling support. Access GPT 5.2 Codex via the NanoGPT API with up to 128K output tokens.

Capabilities

Input Modalities

textimagepdf

Output Modalities

text
Reasoning
Yes
Structured Output
Yes
Tool Use
Yes
WeightsClosed
Temperature
Fixed
Attachment
Supported
Limits
Context Window
400K

Tokens

Input Limit
400K

Tokens

Max Output
128K

Tokens

Pricing

Standard (per 1M tokens)

Input
$1.75
Output
$14.00
Frequently Asked Questions

GPT 5.2 Codex by NanoGPT costs $1.75 per 1M input tokens and $14.00 per 1M output tokens.

Model Details
ID
openai/gpt-5.2-codex
Provider
NanoGPT
Family
gpt-codex
Release Date
Jan 14, 2026
Knowledge Cutoff
N/A
API Integration
NPM Package
@ai-sdk/openai-compatible
Environment Variables
NANO_GPT_API_KEY
API Base URL
https://nano-gpt.com/api/v1
Documentation