---
title: "GPT-6.1 Terra now available in AI Gateway and Agent Runners"
description: "Access OpenAI GPT-6.1 Terra through Netlify AI Gateway and Agent Runners with zero configuration. No API keys required."
source: "https://www.netlify.com/changelog/gpt-6-1-terra-ai-gateway-agent-runners/"
last_updated: "2026-10-27T17:22:19.000Z"
---
OpenAI’s GPT-6.1 Terra model is now available through Netlify’s AI Gateway and Agent Runners with zero configuration required.

Use the OpenAI SDK directly in your Netlify Functions without managing API keys or authentication. AI Gateway handles everything automatically. Here’s an example using GPT-6.1 Terra with the Responses API:

```
import OpenAI from 'openai';
export default async () => {    const openai = new OpenAI();
    const response = await openai.responses.create({        model: 'gpt-6.1-terra',        input: 'Give a concise explanation of how AI works.',    });
    return Response.json(response);};
```

GPT-6.1 Terra is also available across Scheduled Functions, Background Functions, and Edge Functions. You get automatic access to Netlify’s caching, rate limiting, and authentication infrastructure.

Learn more in the [AI Gateway documentation](https://docs.netlify.com/build/ai-gateway/overview/) and [Agent Runners documentation](https://docs.netlify.com/build/build-with-ai/agent-runners/overview/).