{"id":"gpt-5-1-codex","canonicalKey":"openai/gpt-5.1-codex","name":"GPT-5.1 Codex","url":"https://www.aimodel.directory/models/gpt-5-1-codex","lab":{"id":"openai","name":"OpenAI","url":"https://www.aimodel.directory/labs/openai"},"status":"active","releaseDate":"2025-11-13","deprecationDate":null,"knowledgeCutoff":"2024-09-30","openWeights":false,"license":null,"paramsTotal":null,"contextWindow":400000,"maxOutput":128000,"inputModalities":["text","image"],"outputModalities":["text"],"capabilities":{"reasoning":true,"toolCall":true,"structuredOutput":true},"huggingFace":null,"pricing":[{"provider":"azure","providerName":"Azure AI Foundry","providerModelId":"gpt-5.1-codex","currency":"USD","unit":"per 1M tokens","input":1.25,"output":10,"cachedInput":0.125,"contextWindow":400000,"source":"https://github.com/sst/models.dev/blob/dev/providers/azure/models/gpt-5.1-codex.toml","retrievedAt":"2026-10-04T22:35:42.329Z"},{"provider":"openrouter","providerName":"OpenRouter","providerModelId":"openai/gpt-5.1-codex","currency":"USD","unit":"per 1M tokens","input":1.25,"output":10,"cachedInput":0.13,"contextWindow":400000,"source":"https://openrouter.ai/openai/gpt-5.1-codex","retrievedAt":"2026-10-04T22:35:46.316Z"},{"provider":"vercel","providerName":"Vercel AI Gateway","providerModelId":"openai/gpt-5.1-codex","currency":"USD","unit":"per 1M tokens","input":1.25,"output":10,"cachedInput":0.13,"contextWindow":400000,"source":"https://github.com/sst/models.dev/blob/dev/providers/vercel/models/openai/gpt-5.1-codex.toml","retrievedAt":"2026-10-04T22:35:42.329Z"}],"factSources":{"name":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"family":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"status":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"toolCall":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"maxOutput":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"reasoning":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"attachment":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"description":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"lastUpdated":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"openWeights":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"releaseDate":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"contextWindow":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"inputModalities":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"knowledgeCutoff":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"outputModalities":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"},"structuredOutput":{"url":"https://github.com/sst/models.dev/blob/dev/providers/openrouter/models/openai/gpt-5.1-codex.toml","source":"models.dev","retrievedAt":"2026-10-04T22:35:42.329Z"}},"lastVerified":"2026-10-04T22:35:46.316Z","dataLicense":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"AI Model Directory (https://www.aimodel.directory/models/gpt-5-1-codex)"}}