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
OpenRouter

GPT-5.1-Codex-Mini API

OpenRouter
About

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

Capabilities

Input Modalities

textimage

Output Modalities

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

Tokens

Input Limit
400K

Tokens

Max Output
100K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.25
Output
$2.00

Caching (per 1M tokens)

Read
$0.03
Frequently Asked Questions

GPT-5.1-Codex-Mini by OpenRouter costs $0.25 per 1M input tokens and $2.00 per 1M output tokens. Cached reads cost $0.03 per 1M tokens.

Model Details
ID
openai/gpt-5.1-codex-mini
Provider
OpenRouter
Family
gpt-codex
Release Date
Nov 13, 2025
Knowledge Cutoff
Sep 30, 2024
API Integration
NPM Package
@openrouter/ai-sdk-provider
Environment Variables
OPENROUTER_API_KEY
API Base URL
https://openrouter.ai/api/v1
Documentation