Gpt 5.1 Codex Max is a efficient model from Vercel with a 400K context window, supporting vision understanding, function calling. Priced at $0.013/1K input, $0.032/1K output.
Limited routing data available for Gpt 5.1 Codex Max. Intelligence insights will appear as more requests are routed through ANT.
from openai import OpenAI
client = OpenAI(
base_url="https://api.antbase.ai/v1",
api_key="YOUR_ANT_API_KEY",
)
response = client.chat.completions.create(
model="vercel/openai/gpt-5.1-codex-max",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)